PHP 4.0 Bug #5526: Openlink support bug in PHP4.
| From: | silen at silen dot com | Date: | Wed, 12 Jul 2000 10:00:13 +0000 |
| Subject: | PHP 4.0 Bug #5526: Openlink support bug in PHP4. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24172@lists.php.net to get a copy of this message | ||
From: silen@silen.com
Operating system: RH6.0
PHP version: 4.0.1
PHP Bug Type: Compile Failure
Bug description: Openlink support bug in PHP4.
./configure --with-openlink --with-mysql=/usr/local --enable-discard-path
--enable-force-cgi-redirect
Error:
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:606: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:606: (Each undeclared identifier is reported only once
php_odbc.c:606: for each function it appears in.)
php_odbc.c:606: parse error before `len'
php_odbc.c:634: `len' undeclared (first use in this function)
make[3]: *** [php_odbc.lo] Error 1
606 line in ext/odbc/php_odbc.h
"SQLINTEGER len;" should be replaced by "SDWORD len;" (taken from php3's
functions/unified_odbc.c line)
after I changed that, PHP4 can be compiled smoothly.
I am 98% sure it is a bug.