PHP 4.0 Bug #2737: error compiling zend-parser.c
| From: | dave at superluminal dot com | Date: | Wed, 17 Nov 1999 15:11:31 +0000 |
| Subject: | PHP 4.0 Bug #2737: error compiling zend-parser.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12652@lists.php.net to get a copy of this message | ||
From: dave@superluminal.com
Operating system: Linux
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: error compiling zend-parser.c
NOTE: This bug refers to 4.0 Beta *3* (the form doesn't offer this choice yet).
Compiler: gcc 2.95.1
Bison: 1.28
Configure command line: --prefix=/usr --with-apache=../apache_1.3.9 --enable-track-vars
--with-mysql=/usr/mysql --with-zlib --enable-thread-safety
Make output, including error message:
root@ashbless:/usr/src/php-4.0b3/ > make
make all-recursive
make[1]: Entering directory `/usr/src/php-4.0b3'
Making all in libzend
make[2]: Entering directory `/usr/src/php-4.0b3/libzend'
/bin/sh ./libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0b3/./libzend -I.
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -c -o zend-scanner-cc.lo
zend-scanner-cc.cc
/bin/sh ./libtool --silent --mode=link c++ -g -O2 -o libzend_cc.la zend-scanner-cc.lo
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0b3/./libzend -I.
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -g -c -o zend-parser.lo zend-parser.c
/usr/lib/bison.simple:153: conflicting types for `zendparse'
zend_globals_macros.h:39: 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[2]: *** [zend-parser.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.0b3/libzend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0b3'
make: *** [all-recursive-am] Error 2