Bug #12525: PHP cannot be compiled with GCC version 3.0 and Apache version 2 combinatio
| From: | bakhtiar at sofhome dot net | Date: | Thu, 02 Aug 2001 03:28:37 +0000 |
| Subject: | Bug #12525: PHP cannot be compiled with GCC version 3.0 and Apache version 2 combinatio | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61800@lists.php.net to get a copy of this message | ||
From: bakhtiar@sofhome.net
Operating system: Linux v2.4.7 Slackware 7.1
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: PHP cannot be compiled with GCC version 3.0 and Apache version 2 combinatio
PHP compiled succesfully with Apache 1.3.20 using GCC version 3.0 but, have
problem with Apache 2.0.18
cd php-4.0.6
./configure --with-apxs2=/ysr/local/apache2/bin/apxs
make
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
-I../main -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -I../TSRM
-DTHREAD=1 -pthread -c zend_language_scanner_cc.cc
In file included from FlexLexer.h:47,
from zend_language_scanner_cc.cc:240:
/usr/local/include/g++-v3/backward/iostream.h:36: using directive `istream'
introduced ambiguous type `istream'
In file included from zend_language_scanner_cc.cc:2712:
zend_istdiostream.h:8: 'stdiobuf' is used as a type, but is not defined as
a
type.
#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT#CUT
Help me to compile this excellent software using excellent C compiler.
yours,
Mohammad Bahathir Hashim
Malaysia
--
Edit bug report at: http://bugs.php.net/?id=12525&edit=1