Bug #66185 [Com]: configure option --with-adabas=DIR does not work

From: Date: Thu, 28 Nov 2013 09:40:50 +0000
Subject: Bug #66185 [Com]: configure option --with-adabas=DIR does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182980@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66185&edit=1 ID: 66185 Comment by: laurent at scellit dot com Reported by: support at polyedre dot fr Summary: configure option --with-adabas=DIR does not work Status: Open Type: Bug Package: ODBC related Operating System: openSUSE 11.4 "Celadon" PHP Version: 5.5.6 Block user comment: N Private report: N New Comment: Hello PHP ! Please fix the problem, We have our market web site attack ! Many thanks Previous Comments: ------------------------------------------------------------------------ [2013-11-27 16:50:02] support at polyedre dot fr Description: ------------ The compilation failed with --with-adabas It builds fine till PHP 5.2.6. Test script: --------------- ./configure \ --enable-cli \ --prefix=/usr \ --enable-debug=no \ --enable-safe-mode \ --with-zlib=yes \ --with-adabas=/opt/softwareag/aad/v1501/ \ --enable-sockets \ --with-mysql=shared \ --enable-zip \ --with-gd \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-freetype-dir=/usr/include/freetype2/ \ --enable-mbstring make Actual result: -------------- /bin/sh /gb/sources/php/php-5.5.6/libtool --silent --preserve-dup-deps --mode=co mpile cc -Iext/odbc/ -I/gb/sources/php/php-5.5.6/ext/odbc/ -DPHP_ATOM_INC -I/gb /sources/php/php-5.5.6/include -I/gb/sources/php/php-5.5.6/main -I/gb/sources/ph p/php-5.5.6 -I/gb/sources/php/php-5.5.6/ext/date/lib -I/gb/sources/php/php-5.5.6 /ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/gb/sources/ph p/php-5.5.6/ext/mbstring/oniguruma -I/gb/sources/php/php-5.5.6/ext/mbstring/libm bfl -I/gb/sources/php/php-5.5.6/ext/mbstring/libmbfl/mbfl -I/opt/softwareag/aad/ v1501//incl -I/gb/sources/php/php-5.5.6/ext/sqlite3/libsqlite -I/gb/sources/php/ php-5.5.6/TSRM -I/gb/sources/php/php-5.5.6/Zend -I/usr/include -g -O2 -fvisib ility=hidden -c /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c -o ext/odbc/php_o dbc.lo In file included from /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:37:0: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc_includes.h:237:2: error: expected sp ecifier-qualifier-list before ‘SQLLEN’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘odbc_bindcols’: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:947:2: error: ‘SQLLEN’ undecla red (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:947:2: note: each undeclared ident ifier is reported only once for each function it appears in /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:947:14: error: expected ‘;’ be fore ‘displaysize’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:958:38: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:964:27: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:976:30: error: ‘odbc_result_valu e’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:981:26: error: ‘displaysize’ u ndeclared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:985:26: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:990:43: error: ‘odbc_result_valu e’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘odbc_column_length s’: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1045:2: error: ‘SQLLEN’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1045:9: error: expected ‘;’ be fore ‘len’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1071:132: error: ‘len’ undecla red (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_execute†™: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1230:3: error: expected specifier- qualifier-list before ‘SQLLEN’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1238:2: error: ‘SQLULEN’ undec lared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1238:10: error: expected ‘;’ b efore ‘precision’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1266:13: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1274:19: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1275:22: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1288:19: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1289:22: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1296:68: error: ‘precision’ un declared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1297:15: error: ‘params_t’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1298:15: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1303:19: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1304:22: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1332:20: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1333:23: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1340:21: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1344:20: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1345:23: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1355:16: error: ‘params_t’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1359:31: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1360:24: error: ‘params_t’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1366:17: error: ‘params_t’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1372:24: error: ‘params_t’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1378:19: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1379:22: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1426:17: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1427:20: error: ‘params_t’ has no member named ‘fp’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_cursor’ : /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1487:52: warning: cast from pointe r to integer of different size /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_fetch_int o’: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1814:2: error: ‘SQLULEN’ undec lared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1814:10: error: expected ‘;’ b efore ‘crow’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1816:2: error: ‘SQLLEN’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1816:9: error: expected ‘;’ be fore ‘rownum’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1824:2: error: ‘rownum’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1845:66: error: ‘crow’ undecla red (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1870:27: error: ‘odbc_result_val ue’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1880:9: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1880:9: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1888:117: error: ‘odbc_result_va lue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1897:33: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1901:41: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1907:26: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1911:40: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_fetch_row ’: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1959:2: error: ‘SQLLEN’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1959:9: error: expected ‘;’ be fore ‘rownum’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1965:2: error: ‘SQLULEN’ undec lared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1965:10: error: expected ‘;’ b efore ‘crow’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1973:2: error: ‘rownum’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:1985:66: error: ‘crow’ undecla red (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_result’ : /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2017:2: error: ‘SQLLEN’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2017:9: error: expected ‘;’ be fore ‘fieldsize’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2020:2: error: ‘SQLULEN’ undec lared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2020:10: error: expected ‘;’ b efore ‘crow’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2075:60: error: ‘crow’ undecla red (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2087:34: error: ‘odbc_result_val ue’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2098:8: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2098:8: error: ‘odbc_result_valu e’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2102:8: error: ‘fieldsize’ und eclared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2118:52: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2126:33: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2135:33: error: ‘odbc_result_val ue’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2141:4: error: ‘odbc_result_valu e’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2145:33: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2148:5: error: ‘odbc_result_valu e’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2161:119: error: ‘odbc_result_va lue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2169:32: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2174:3: error: ‘odbc_result_valu e’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_result_al l’: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2197:2: error: ‘SQLULEN’ undec lared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2197:10: error: expected ‘;’ b efore ‘crow’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2213:56: error: ‘crow’ undecla red (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2241:28: error: ‘odbc_result_val ue’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2251:10: error: ‘odbc_result_val ue’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2251:10: error: ‘odbc_result_val ue’ has no member named ‘coltype’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2261:114: error: ‘odbc_result_va lue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2273:34: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2277:7: error: ‘odbc_result_valu e’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2282:27: error: ‘odbc_result_val ue’ has no member named ‘vallen’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘odbc_do_connect’ : /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2606:14: warning: cast from pointe r to integer of different size /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c: In function ‘zif_odbc_num_rowsâ €™: /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2693:2: error: ‘SQLLEN’ undecl ared (first use in this function) /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2693:9: error: expected ‘;’ be fore ‘rows’ /gb/sources/php/php-5.5.6/ext/odbc/php_odbc.c:2700:29: error: ‘rows’ undecla red (first use in this function) make: *** [ext/odbc/php_odbc.lo] Error 1 You have new mail in /var/spool/mail/root ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66185&edit=1

« previous php.bugs (#182980) next »