PHP 4.0 Bug #4574: Compile fails in Zend with zendparse function prototype error
| From: | anthony dot whitehead at rfv dot sfa dot se | Date: | Wed, 24 May 2000 12:17:55 +0000 |
| Subject: | PHP 4.0 Bug #4574: Compile fails in Zend with zendparse function prototype error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19380@lists.php.net to get a copy of this message | ||
From: anthony.whitehead@rfv.sfa.se
Operating system: Solaris 2.6 & Solaris 7
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: Compile fails in Zend with zendparse function prototype error
Compile fails as below, configure line was:
./configure --with-ibm-db2=/opt/IBMdb2/V6.1 --with-nsapi=/www/ns-home --enable-libgcc
Problem does not exist in 4.0RC2 which compiles just fine.
% make
Making all in Zend
make[1]: Entering directory `/export/home/antw/php-4.0.0/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -g -O2 -pthreads
-Wall -c zend-parser.c
/usr/lib/bison.simple:153: conflicting types for `zendparse'
zend_globals_macros.h:37: previous declaration of `zendparse'
/usr/lib/bison.simple: In function `zendparse':
/usr/lib/bison.simple:219: number of arguments doesn't match prototype
/usr/lib/bison.simple:153: prototype declaration
make[1]: *** [zend-parser.lo] Error 1
make[1]: Leaving directory `/export/home/antw/php-4.0.0/Zend'
make: *** [all-recursive] Error 1