PHP 4.0 Bug #4051: PHP4 Make Errors with libmysql

From: Date: Wed, 05 Apr 2000 17:07:16 +0000
Subject: PHP 4.0 Bug #4051: PHP4 Make Errors with libmysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-17648@lists.php.net to get a copy of this message
From: joel@nexthost.com Operating system: Linux 2.2.10-1SGI_17smp i686 (RedHat 6.2) PHP version: 4.0 Release Candidate 1 PHP Bug Type: Compile Failure Bug description: PHP4 Make Errors with libmysql Compiler Version: pgcc-2.95.2 PHP4 Configure Options: CC="/usr/local/pgcc/bin/gcc" CFLAGS="-O6 -mpentium" ./configure --with-config-file-path=/etc/ --disable-debug --enable-track-vars -with-apache=../apache_1.3.12 --with-cybercash=../mck-3.2.0.4-linux --with-ftp --with-mm --with-mhash --with-mysql --with-snmp --enable-ucd-snmp-hack --enable-static MySQL Configure Options: CC="/usr/local/pgcc/bin/gcc" CFLAGS="-O6 -mpentium -mstack-align-double -fomit-frame-pointer" CXX="/usr/local/pgcc/bin/gcc" CXXFLAGS="-O6 -mpentium -mstack-align-double -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --enable-assembler --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static Make Error: make[4]: Entering directory `/root/httpd/php-4.0RC1/ext/mysql/libmysql' gcc -DHAVE_CONFIG_H -I. -I/root/httpd/php-4.0RC1/ext/mysql/libmysql -I../../.. -I../../../Zend -I/root/httpd/php-4.0RC1 -I/root/httpd/apache_1.3.12/src/include -I/root/httpd/apache_1.3.12/src/os/unix -I/root/httpd/mck-3.2.0.4-linux/c-api -I/usr/local/include -I/root/httpd/php-4.0RC1/ext/mysql/libmysql -I/usr/include/ucd-snmp -I/root/httpd/php-4.0RC1/ext/xml/expat/xmltok -I/root/httpd/php-4.0RC1/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -c libmysql.c && touch libmysql.lo In file included from libmysql.c:11: global.h:194: warning: redefinition of `uint' /usr/include/sys/types.h:131: warning: `uint' previously declared here global.h:195: warning: redefinition of `ushort' /usr/include/sys/types.h:130: warning: `ushort' previously declared here In file included from libmysql.c:14: m_string.h:165: parse error before `__extension__' m_string.h:165: parse error before `&&' make[4]: *** [libmysql.lo] Error 1 make[4]: Leaving directory `/root/httpd/php-4.0RC1/ext/mysql/libmysql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/httpd/php-4.0RC1/ext/mysql/libmysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/httpd/php-4.0RC1/ext/mysql' make[1]: *** [all] Error 1 make[1]: Leaving directory `/root/httpd/php-4.0RC1/ext' make: *** [all-recursive] Error 1

« previous php.dev (#17648) next »