Re: PHP 4.0 Bug #5206 Updated: Wrong zendparse / Bison usage
| From: | Horst Venzke | Date: | Fri, 23 Jun 2000 20:08:44 +0000 |
| Subject: | Re: PHP 4.0 Bug #5206 Updated: Wrong zendparse / Bison usage | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22063@lists.php.net to get a copy of this message | ||
On 23 Jun 2000, Bug Database wrote:
> ID: 5206
> Updated by: sas
> Reported By: hv@remsnet.de
> Status: Closed
> Bug Type: Compile Failure
> Assigned To:
> Comments:
>
thanks for mail.
> Please remove zend-scanner-cc* and rerun make (these files will be recreated). Also make sure
> that you do not have an older version of Bison in your PATH which is called instead of the newly
> installed 2.18.
ok done ..
my mistype = i have bison 1.2.8 ( latest gnu ) , the older one was
overwritten.
>
> Full Bug description available at:
> http://bugs.php.net/version4/?id=5206
>
Making all in Zend make[1]: Entering directory
`/saft/project/apache-php-mysql-ssl/php-4.0.0/Zend' flex -+ -B -i
-S./flex.skl -Pzend -ozend-scanner-cc.cc ./zend-scanner.l /bin/sh
../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
-D_REENTRANT -DXML_BYTE_ORD ER=12 -I../TSRM -g -O2 -pthread -c
zend-scanner-cc.cc /bin/sh ../libtool --silent --mode=link c++ -g -O2
-pthread -o libZend_cc.la zend-scanner-cc.lo /bin/sh ../libtool --silent
--mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DXML_BYTE_ORD ER=12 -I../TSRM -g -O2 -pthread -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 `/saft/project/apache-php-mysql-ssl/php-4.0.0/Zend'
make: *** [all-recursive] Error 1 Making install in Zend make[1]: Entering
directory `/saft/project/apache-php-mysql-ssl/php-4.0.0/Zend' /bin/sh
../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D_REENTRANT -DXML_BYTE_ORD ER=12 -I../TSRM -g -O2 -pthread -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 `/saft/project/apache-php-mysql-ssl/php-4.0.0/Zend'
make: *** [install-recursive] Error 1
cbgw#root@/saft/project/apache-php-mysql-ssl=>bison --version GNU Bison
version 1.28 cbgw#root@/saft/project/apache-php-mysql-ssl=>type bison
bison is hashed (/usr/bin/bison)
cbgw#root@/saft/project/apache-php-mysql-ssl=>
hint :
php3 does compile with the same configuration.
--
Horst Venzke
Remsnet Netzwerk Service
reply-to: hv@remsnet.de