PHP 4.0 Bug #8365: Build PHP4.0.4 with mysql fails with warnings/parse error
| From: | michael at cs dot utoronto dot ca | Date: | Thu, 21 Dec 2000 20:50:04 +0000 |
| Subject: | PHP 4.0 Bug #8365: Build PHP4.0.4 with mysql fails with warnings/parse error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42079@lists.php.net to get a copy of this message | ||
From: michael@cs.utoronto.ca
Operating system: GNU/Linux 2.2.14
PHP version: 4.0.4
PHP Bug Type: Compile Failure
Bug description: Build PHP4.0.4 with mysql fails with warnings/parse error
./configure --prefix=/local/php4 --with-apxs=/local/apache/bin/apxs --with-openssl --with-mysql
--with-gnu-ld
------------
[USER@HOST php4.0.4]# make
<snip>
make[1]: Entering directory `/usr/local/updates/php-4.0.4/ext/mysql/libmysql'
/bin/sh /usr/local/updates/php-4.0.4/libtool --silent --mode=compile gcc -I.
-I/usr/local/updates/php-4.0.4/ext/mysql/libmysql -I/usr/local/updates/php-4.0.4/main
-I/usr/local/updates/php-4.0.4 -I/local/apache/include -I/usr/local/updates/php-4.0.4/Zend
-I/usr/local/include -I/usr/local/updates/php-4.0.4/ext/mysql/libmysql
-I/usr/local/updates/php-4.0.4/ext/xml/expat/xmltok
-I/usr/local/updates/php-4.0.4/ext/xml/expat/xmlparse -I/usr/local/updates/php-4.0.4/TSRM -DLINUX=2
-DMOD_SSL=207101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c libmysql.c
In file included from libmysql.c:9:
global.h:228: warning: redefinition of `uint'
/usr/include/sys/types.h:131: warning: `uint' previously declared here
global.h:229: warning: redefinition of `ushort'
/usr/include/sys/types.h:130: warning: `ushort' previously declared here
In file included from libmysql.c:12:
m_string.h:180: parse error before `__extension__'
m_string.h:180: parse error before `&&'
make[1]: *** [libmysql.lo] Error 1
make[1]: Leaving directory `/usr/local/updates/php-4.0.4/ext/mysql/libmysql'
make: *** [all-recursive] Error 1
[USER@HOST php4.0.4]#
--
Edit Bug report at: http://bugs.php.net/?id=8365&edit=1