Bug #1748: Compiling with sybase-ct
| From: | simon at airdmhor dot gen dot nz | Date: | Tue, 20 Jul 1999 03:54:02 +0000 |
| Subject: | Bug #1748: Compiling with sybase-ct | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8764@lists.php.net to get a copy of this message | ||
From: simon@airdmhor.gen.nz
Operating system: Linux RH6, 2.2.5-22 kernel
PHP version: 4.0 Beta 1
PHP Bug Type: Compile Failure
Bug description: Compiling with sybase-ct
Everything seems to configure fine (from my existing script), and PHP builds with no errors until
sybase-ct.c, which shows:
make[2]: Entering directory `/usr/src/php-4.0b1/ext/sybase'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/src/apache_1.3.6/src/include
-I/usr/src/apache_1.3.6/src/o
s/unix -I/opt/sybase/include -I../.. -I../../libzend -g -O2 -g -c sybase-ct.c
In file included from ../../libzend/zend.h:45,
from ../../php.h:36,
from sybase-ct.c:26:
../../libzend/zend_config.h:281: warning: `PACKAGE' redefined
../../php_config.h:518: warning: this is the location of the previous definition
../../libzend/zend_config.h:284: warning: `VERSION' redefined
../../php_config.h:521: warning: this is the location of the previous definition
sybase-ct.c:1318: macro `zend_hash_update' used with only 5 args
make[2]: *** [sybase-ct.o] Error 1
make[2]: Leaving directory `/usr/src/php-4.0b1/ext/sybase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0b1/ext'
make: *** [all-recursive] Error 1
The sybase is from the package available from their site : 11.0.3.3-2. If I build without sybase,
everything seems okay.