Bug #18222 Updated: Fails to build libmysql (v. similar to #17809)
| From: | sniper@php.net | Date: | Tue, 09 Jul 2002 02:32:30 +0000 |
| Subject: | Bug #18222 Updated: Fails to build libmysql (v. similar to #17809) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13555@lists.php.net to get a copy of this message | ||
ID: 18222
Updated by: sniper@php.net
Reported By: atibbalds@accessdevices.co.uk
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: redhat 7.2
PHP Version: 4CVS-2002-07-08
New Comment:
What is in your main/php_config.h for HAVE_UINT and HAVE_USHORT ?
Previous Comments:
------------------------------------------------------------------------
[2002-07-08 07:21:01] atibbalds@accessdevices.co.uk
Very similar issue to bug #17809
./configure --with-apxs --with-mysql --with-imap --with-imap-ssl
--with-kerberos
/bin/sh libtool --silent --mode=compile gcc
-I/home/adam/php4-200207080300/ext/mysql/libmysql -Iext/mysql/
-I/home/adam/php4-200207080300/ext/mysql/ -DPHP_ATOM_INC
-I/home/adam/php4-200207080300/include
-I/home/adam/php4-200207080300/main -I/home/adam/php4-200207080300
-I/home/adam/php4-200207080300/Zend -I/usr/include/imap
-I/home/adam/php4-200207080300/ext/xml/expat -DLINUX=22 -DEAPI
-DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm
-I/home/adam/php4-200207080300/TSRM -g -O2 -prefer-pic -c
/home/adam/php4-200207080300/ext/mysql/php_mysql.c -o
ext/mysql/php_mysql.lo
/home/adam/php4-200207080300/ext/mysql/php_mysql.c:57: warning:
redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' previously declared
here
/bin/sh libtool --silent --mode=compile gcc
-I/home/adam/php4-200207080300/ext/mysql/libmysql -Iext/mysql/
-I/home/adam/php4-200207080300/ext/mysql/ -DPHP_ATOM_INC
-I/home/adam/php4-200207080300/include
-I/home/adam/php4-200207080300/main -I/home/adam/php4-200207080300
-I/home/adam/php4-200207080300/Zend -I/usr/include/imap
-I/home/adam/php4-200207080300/ext/xml/expat -DLINUX=22 -DEAPI
-DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm
-I/home/adam/php4-200207080300/TSRM -g -O2 -prefer-pic -c
/home/adam/php4-200207080300/ext/mysql/libmysql/libmysql.c -o
ext/mysql/libmysql/libmysql.lo
In file included from
/home/adam/php4-200207080300/ext/mysql/libmysql/libmysql.c:4:
/home/adam/php4-200207080300/ext/mysql/libmysql/global.h:260: warning:
redefinition of `uint'
/usr/include/sys/types.h:152: warning: `uint' previously declared here
/home/adam/php4-200207080300/ext/mysql/libmysql/global.h:261: warning:
redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' previously declared
here
In file included from
/home/adam/php4-200207080300/ext/mysql/libmysql/libmysql.c:11:
/home/adam/php4-200207080300/ext/mysql/libmysql/m_string.h:183: parse
error before `__extension__'
/home/adam/php4-200207080300/ext/mysql/libmysql/m_string.h:183: parse
error before `&&'
make: *** [ext/mysql/libmysql/libmysql.lo] Error 1
Redhat 7.2 (enigma)
mysql-devel-3.23.41-1.rpm
apache-devel-1.3.20-16.rpm
imap-devel-2000c-15.rpm
gcc-2.96-9.rpm
gcc-c++-2.96-98.rpm
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18222&edit=1