compile errors with php4.3.2-rc1 -> libmysql

From: Date: Tue, 01 Apr 2003 17:41:04 +0000
Subject: compile errors with php4.3.2-rc1 -> libmysql
Groups: php.qa 
Request: Send a blank email to php-qa+get-10776@lists.php.net to get a copy of this message
PHP 4.3.2RC1 './configure' '--sysconfdir=/etc' '--with-apxs=/usr/local/sbin/apxs' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-sigchild' '--with-openssl' '--with-zlib' '--enable-bcmath' '--with-bz2' '--with-gd' '--with-mcrypt' '--with-mysql' '--with-ncurses' '--enable-pcntl' '--enable-sockets' '--with-zip' '--with-freetype-dir' make /bin/sh /home/mitchel/build/php-4.3.2RC1/libtool --silent --preserve-dup-deps --mode=compile gcc -I/home/mitchel/build/php-4.3.2RC1/ext/mysql/libmysql -Iext/mysql/ -I/home/mitchel/build/php-4.3.2RC1/ext/mysql/ -DPHP_ATOM_INC -I/home/mitchel/build/php-4.3.2RC1/include -I/home/mitchel/build/php-4.3.2RC1/main -I/home/mitchel/build/php-4.3.2RC1 -I/home/mitchel/build/php-4.3.2RC1/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/home/mitchel/build/php-4.3.2RC1/ext/xml/expat -I/home/mitchel/build/php-4.3.2RC1/TSRM -O1 -march=i386 -prefer-pic -c /home/mitchel/build/php-4.3.2RC1/ext/mysql/libmysql/libmysql.c -o ext/mysql/libmysql/libmysql.lo In file included from /home/mitchel/build/php-4.3.2RC1/ext/mysql/libmysql/libmysql.c:11: /home/mitchel/build/php-4.3.2RC1/ext/mysql/libmysql/m_string.h:186: parse error before `__extension__' get that for all the libmysql thingies i can fix by removing the -O2 optimisation System info: i586 linux 2.4.19 GCC 2.95.3 glibc: GNU C Library stable release version 2.2.3 Compiled by GNU CC version 2.95.3 20010315 (release). Compiled on a Linux 2.4.4 system on 2001-05-25.

« previous php.qa (#10776) next »