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

From: Date: Mon, 08 Jul 2002 11:21:02 +0000
Subject: Bug #18222: Fails to build libmysql (v. similar to #17809)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13503@lists.php.net to get a copy of this message
From: atibbalds@accessdevices.co.uk Operating system: redhat 7.2 PHP version: 4CVS-2002-07-08 PHP Bug Type: Compile Failure Bug description: Fails to build libmysql (v. similar to #17809) 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 bug report at http://bugs.php.net/?id=18222&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18222&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18222&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18222&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18222&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18222&r=support Expected behavior: http://bugs.php.net/fix.php?id=18222&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18222&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18222&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18222&r=globals

« previous php.bugs (#13503) next »