Re: Zend compilation fails on Solaris 8
| From: | (Joerg Brandt) | Date: | Wed, 07 Nov 2001 16:49:26 +0000 |
| Subject: | Re: Zend compilation fails on Solaris 8 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4873@lists.php.net to get a copy of this message | ||
[Posted and mailed]
In article <3B5BF15B.DF990C2B@telmap.com>,
alex@telmap.com writes:
> ............
> Making all in Zend
> /bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
> -I../main -D_POSIX_PTHREAD_SEMANTICS -DHARD_SERVER_LIMIT=512
> -DDOCUMENT_LOCATION="/usr/local/www/data/"
> -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DBUFFERED_LOGS
> -DSOLARIS2=280 -DMOD_SSL=208104 -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
> -DXML_BYTE_ORDER=21 -c zend_language_scanner.c
> "zend_language_scanner.c", line 2826: reference to static variable
> "yy_current_buffer" in inline extern function
> "zend_language_scanner.c", line 2828: reference to static variable
> "yy_start" in inline extern function
> .............
I guess you used the C compiler from
Sun Forte Developer 6 upgrade 2 release.
This is the first one being C99 compliant,
PHP sources are not.
The -xc99=[%all|%none] flag controls compiler recognition
of the implemented features from the C99 standard
(ISO/IEC 9899:1999, Programming Language - C).
Setting -xc99=%none should solve the Problem.
--
Mit freundl. Gruss --- Best Regards
========================================================================
UNIX _is_ user friendly - it's just selective about who its friends are!