PHP 4.0 Bug #8484: Compiling of php_odbc.c Fails

From: Date: Fri, 29 Dec 2000 20:06:39 +0000
Subject: PHP 4.0 Bug #8484: Compiling of php_odbc.c Fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-42506@lists.php.net to get a copy of this message
From: arnoldg@allegheny.edu Operating system: Debian Linux (Potato), kernel 2.2.17 PHP version: 4.0.4 PHP Bug Type: Compile Failure Bug description: Compiling of php_odbc.c Fails 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? -- Edit Bug report at: http://bugs.php.net/?id=8484&edit=1

« previous php.dev (#42506) next »