From:             [EMAIL PROTECTED]
Operating system: linux Red-Hat 6.2
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Failure
Bug description:  can't compile php_sybase_db.c

compiling with gcc version egcs-2-91.66

options for configure:

./configure --prefix=/WWW/php-4.0.4pl1 --with-apxs2=/WWW/apache2/bin/apxs 
--with-config-file-path=/WWW/php4.0.4pl1 --enable-ftp --enable-socket 
--with-gd=../gd-1.8.1 --enable-trans-sid --with-sybase=/home/sybase 
--enable-inline-optimization --enable-track-vars --enable-sysvsem=yes 
--enable-sysvshm=yes --disable-debug 

using sybase-11.9.2

This is what happens when I compile:

Making all in sybase
make[2]: Entering directory `/root/php-4.0.4pl1/ext/sybase'
make[3]: Entering directory `/root/php-4.0.4pl1/ext/sybase'
/bin/sh /root/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/root/php-4.0.4pl1/ext/sybase -I/root/php-4.0.4pl1/main -I/root/php-4.0.4pl1 
-I/WWW/apache2/include -I/WWW/apache2/include/apr -I/root/php-4.0.4pl1/Zend 
-I/root/gd-1.8.1 -I/root/php-4.0.4pl1/ext/mysql/libmysql -I/home/sybase/include 
-I/root/php-4.0.4pl1/ext/xml/expat/xmltok -I/root/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/root/php-4.0.4pl1/TSRM  -D_REENTRANT -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g 
-O2 -pthread  -c php_sybase_db.c
php_sybase_db.c: In function `php_if_sybase_query':
php_sybase_db.c:781: `core_globals' undeclared (first use in this function)
php_sybase_db.c:781: (Each undeclared identifier is reported only once
php_sybase_db.c:781: for each function it appears in.)
make[3]: *** [php_sybase_db.lo] Error 1
make[3]: Leaving directory `/root/php-4.0.4pl1/ext/sybase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.4pl1/ext/sybase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

everything works fine when I do the same thing in php-4.0.3pl1.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to