php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5847 I don't have errors in the configuration phase. But making
Submitted: 2000-07-29 01:17 UTC Modified: 2000-07-29 19:08 UTC
From: andres at elsitio dot com dot co Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.0 OS: Linux RedHat 6.2
Private report: No CVE-ID: None
 [2000-07-29 01:17 UTC] andres at elsitio dot com dot co
I get the following errors installing PHP, after typing

% make

Making all in Zend
make[1]: Entering directory `/usr/local/src/php-4.0.0/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -DEAPI=1 -D_REENTRANT -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1  -g -O2 -pthread  -Wall -c zend-parser.c
make[1]: Leaving directory `/usr/local/src/php-4.0.0/Zend'

/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: *** [all-recursive] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-29 19:08 UTC] rasmus@php.net
Make sure you have flex and bison installed, then do:
rm Zend/zend-parser.c
./configure ...
make

Or upgrade to 4.0.1
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 08:00:02 2026 UTC