Bug #18222 Updated: Fails to build libmysql (v. similar to #17809)

From: Date: Fri, 12 Jul 2002 23:00:16 +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-14031@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: Closed Bug Type: Compile Failure Operating System: redhat 7.2 PHP Version: 4CVS-2002-07-08 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-07-10 09:28:44] atibbalds@accessdevices.co.uk from main/php_config.h (make /* */ #define HAVE_UINT /* */ #define HAVE_USHORT ------------------------------------------------------------------------ [2002-07-08 22:32:30] sniper@php.net What is in your main/php_config.h for HAVE_UINT and HAVE_USHORT ? ------------------------------------------------------------------------ [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

« previous php.bugs (#14031) next »