PHP 4.0 Bug #8484 Updated: Compiling of php_odbc.c Fails
| From: | kalowsky@php.net | Date: | Tue, 02 Jan 2001 14:33:35 +0000 |
| Subject: | PHP 4.0 Bug #8484 Updated: Compiling of php_odbc.c Fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42584@lists.php.net to get a copy of this message | ||
ID: 8484
Updated by: kalowsky
Reported By: arnoldg@allegheny.edu
Old-Status: Open
Status: Duplicate
Bug Type: Compile Failure
Assigned To:
Comments:
oops forgot to change status as well
Previous Comments:
---------------------------------------------------------------------------
[2001-01-02 09:33:09] kalowsky@php.net
please download the latest CVS and try it. there was a change done last week sometime to prevent
this error. do please test it. this is also a repeat of many bugs before...#5526
---------------------------------------------------------------------------
[2000-12-29 15:06:39] arnoldg@allegheny.edu
When compiling with the following configuration:
./configure
--prefix=/usr/local
--with-config-file-path=/etc/apache-ssl/conf
--with-apxs=/usr/bin/apxs
--with-openlink=/usr/local/openlink
--without-mysql
--enable-track-vars
the following error is produced:
Making all in ext
make[1]: Entering directory `/usr/src/php-4.0.4/ext'
Making all in odbc
make[2]: Entering directory `/usr/src/php-4.0.4/ext/odbc'
make[3]: Entering directory `/usr/src/php-4.0.4/ext/odbc'
/bin/sh /usr/src/php-4.0.4/libtool --silent --mode=compile gcc -I. -I/usr/src/php
-4.0.4/ext/odbc -I/usr/src/php-4.0.4/main -I/usr/src/php-4.0.4 -I/usr/include/apac
he-1.3 -I/usr/src/php-4.0.4/Zend -I/usr/local/openlink/odbcsdk/include -I/usr/src/
php-4.0.4/ext/xml/expat/xmltok -I/usr/src/php-4.0.4/ext/xml/expat/xmlparse -I/usr/
src/php-4.0.4/TSRM -DLINUX=2 -DEAPI -DTARGET="apache" -DUSE_HSREGEX -DUSE_EXPAT -
DXML_BYTE_ORDER=12 -g -O2 -c php_odbc.c
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:622: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:622: (Each undeclared identifier is reported only once
php_odbc.c:622: for each function it appears in.)
php_odbc.c:622: parse error before `len'
php_odbc.c:651: `len' undeclared (first use in this function)
make[3]: *** [php_odbc.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.0.4/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.4/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.4/ext'
make: *** [all-recursive] Error 1
Yet when using the same configuration with PHP-4.0.0, no error is produced. Any suggestions?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8484