php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8484 Compiling of php_odbc.c Fails
Submitted: 2000-12-29 15:06 UTC Modified: 2001-05-11 21:16 UTC
From: arnoldg at allegheny dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: Debian Linux (Potato), kernel 2.
Private report: No CVE-ID: None
 [2000-12-29 15:06 UTC] arnoldg at allegheny dot 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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-02 09:33 UTC] 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
 [2001-01-02 09:33 UTC] kalowsky@php.net
oops forgot to change status as well
 [2001-05-11 21:16 UTC] sniper@php.net
fixed -> closed

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 18:01:28 2024 UTC