php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66185 configure option --with-adabas=DIR does not work
Submitted: 2013-11-27 16:50 UTC Modified: 2020-10-18 04:22 UTC
Votes:23
Avg. Score:4.7 ± 0.7
Reproduced:16 of 19 (84.2%)
Same Version:15 (93.8%)
Same OS:13 (81.2%)
From: support at polyedre dot fr Assigned: cmb (profile)
Status: No Feedback Package: ODBC related
PHP Version: 5.5.6 OS: openSUSE 11.4 "Celadon"
Private report: No CVE-ID: None
 [2013-11-27 16:50 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-28 09:40 UTC] laurent at scellit dot com
Hello PHP !

Please fix the problem, We have our market web site attack ! 

Many thanks
 [2020-10-05 08:59 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-05 08:59 UTC] cmb@php.net
Does the build still fail with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2020-10-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 19:01:30 2024 UTC