Date: 12/29/00
- Next message: Andrej Falout: "[PHP-DEV] PHP/Informix -439 error"
- Previous message: Alex Akilov: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: arnoldg <email protected>
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-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrej Falout: "[PHP-DEV] PHP/Informix -439 error"
- Previous message: Alex Akilov: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

