Re: [PHP4BETA] Compile problem on Solaris 2.7
| From: | Rasmus Lerdorf | Date: | Mon, 05 Jun 2000 17:33:24 +0000 |
| Subject: | Re: [PHP4BETA] Compile problem on Solaris 2.7 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-16155@lists.php.net to get a copy of this message | ||
rm Zend/zend-parser.c and rebuild
On Mon, 5 Jun 2000, Cary Collett wrote:
> I got this rather bizarre error when compiling PHP 4.0.0 on a
> Solaris/Sparc 2.7 box:
>
> /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads -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 `/usr/netscape/php-4.0.0/Zend'
> make: *** [all-recursive] Error 1
>
> The file /usr/lib/bison.simple doesn't even exist either. What's going
> on?
>
> Bison 1.28 is installed in /usr/local and there is a bison.simple in
> /usr/local/share.
>
>
> Cary
>
>
>