PHP 4.0 Bug #5317: ODBC compile failure

From: Date: Sat, 01 Jul 2000 21:26:08 +0000
Subject: PHP 4.0 Bug #5317: ODBC compile failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-23083@lists.php.net to get a copy of this message
From: arnoldg@alleg.edu Operating system: Debian GNU/Linux Potato 2.2.17 PHP version: 4.0.1pl2 PHP Bug Type: Compile Failure Bug description: ODBC compile failure When compiling PHP4.0.1pl2 with the following options: ./configure \ --prefix=/usr/local \ --with-config-file-path=/etc/apache-ssl/conf \ --with-apxs=/usr/bin/apxs \ --with-openlink=/usr/local/openlink \ --with-gd=/usr \ --with-zlib=/usr \ --with-jpeg-dir=/usr \ --with-ttf=/usr/include/freetype/freetype.h \ --without-mysql \ --enable-track-vars I get the following error: make[3]: Entering directory `/usr/src/php-4.0.1pl2/ext/odbc' /bin/sh /usr/src/php-4.0.1pl2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0.1pl2/ext/odbc -I/usr/src/php-4.0.1pl2 -I/usr/src/php-4.0.1p l2/main -I/usr/include/apache-1.3 -I/usr/src/php-4.0.1pl2/Zend -I/usr/src/php-4.0. 1pl2 -I/usr/include/freetype -I/usr/local/openlink/odbcsdk/include -I/usr/src/php- 4.0.1pl2/ext/xml/expat/xmltok -I/usr/src/php-4.0.1pl2/ext/xml/expat/xmlparse -DEA PI=1 -DXML_BYTE_ORDER=12 -g -O2 -c php_odbc.c 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 make[3]: Leaving directory `/usr/src/php-4.0.1pl2/ext/odbc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/php-4.0.1pl2/ext/odbc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.0.1pl2/ext' make: *** [all-recursive] Error 1 The same configure/make procedure works fine in PHP4.0.0. I am using the OpenLink ODBC drivers. Thank you for your help.

« previous php.dev (#23083) next »