From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: An error occured when complie libmysql.c
I get an error when I compiling php-4.2.1. Below is the error info: ............... make[2]: Leaving directory `/home/test/php-4.2.1/ext/ldap'gjh/php-4.2.1/Zend'h/php-4.2.1 -I/+------------------------- Making all in mysqlngjh/php-4.2.1/ext/ make[2]: Entering directory `/home/test/php-4.2.1/ext/mysql'2.1/Zend -I/usr/include/imap -I/ rm -f *.o core *.core Making all in libmysqlhome/test/php-4.2.1/ /php-4.2.1 -I/usr/local/apache2/include -I/home/test/php-4.2.1/Zend -I/usr/inc lude/imap -I/home/test/php-4.2.1/ext/mysql/libmysql -I/home/test/php-4.2.1/e xt/xml/expat -D_REENTRANT -I/home/test/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthr ead -DZTS -prefer-pic -c libmysql.c In file included from libmysql.c:5: global.h:256: warning: redefinition of `uint' /usr/include/sys/types.h:152: warning: `uint' previously declared here global.h:257: warning: redefinition of `ushort' /usr/include/sys/types.h:151: warning: `ushort' previously declared here global.h:258: warning: redefinition of `ulong' /usr/include/sys/types.h:150: warning: `ulong' previously declared here In file included from libmysql.c:12: m_string.h:180: parse error before `__extension__' m_string.h:180: parse error before `&&' make[4]: *** [libmysql.lo] Error 1 make[4]: Leaving directory `/home/test/php-4.2.1/ext/mysql/libmysql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/test/php-4.2.1/ext/mysql/libmysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/test/php-4.2.1/ext/mysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/test/php-4.2.1/ext' make: *** [all-recursive] Error 1 -- Edit bug report at http://bugs.php.net/?id=17372&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17372&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17372&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17372&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17372&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17372&r=support Expected behavior: http://bugs.php.net/fix.php?id=17372&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17372&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17372&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17372&r=globals