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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: arnoldg at allegheny dot edu
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 22:01:30 2025 UTC