PHP 4.0 Bug #5206: Wrong zendparse / Bison usage

From: Date: Fri, 23 Jun 2000 17:29:01 +0000
Subject: PHP 4.0 Bug #5206: Wrong zendparse / Bison usage
Groups: php.dev 
Request: Send a blank email to php-dev+get-22080@lists.php.net to get a copy of this message
From: hv@remsnet.de Operating system: Linux, Suse 6.3 PHP version: 4.0.0 Release PHP Bug Type: Compile Failure Bug description: Wrong zendparse / Bison usage i try to use : #!/bin/sh # ./configure --with-nsapi=/opt/fasttrack --prefix=/opt/php \ --enable-memory-limit \ --with-zlib --with-gnu-ld --with-mysql=/opt/mysql \ --with-regex=php --enable-versioning --enable-calendar \ --with-gd=/usr --with-ttf=/usr --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-config-file-path=/opt/php/php.conf \ --enable-debug=no --enable-safe-mode=no \ --enable-url-fopen-warper=yes --enable-track-vars=yes \ --enable-force-cgi-redirect --enable-trans-sid \ --with-adabas=/opt/adabas # make; make install # eof and got the folowing : Thank you for using PHP. Making all in Zend make[1]: Entering directory `/saft/project/apache-php-mysql-ssl/php-4.0.0/Zend' /bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -D _REENTRANT -DXML_BYTE_ORDER=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_ORDER=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_ORDER=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 xyz@/saft/project/apache-php-mysql-ssl=> i have updated after this to gnu bison-2.18 , does not help. i have no idea to fix at now .

« previous php.dev (#22080) next »