php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5206 Wrong zendparse / Bison usage
Submitted: 2000-06-23 19:29 UTC Modified: 2000-06-23 21:35 UTC
From: hv at remsnet dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.0 Release OS: Linux, Suse 6.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hv at remsnet dot de
New email:
PHP Version: OS:

 

 [2000-06-23 19:29 UTC] hv at remsnet dot de
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 .

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-23 21:35 UTC] sas at cvs dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 09:01:33 2024 UTC