Bug #17372 Updated: An error occured when complie libmysql.c
ID: 17372
Updated by: sniper@php.net
Reported By: xtium@hotmail.com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: linux
PHP Version: 4.2.1
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-05-22 20:50:14] xtium@hotmail.com
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 this bug report at http://bugs.php.net/?id=17372&edit=1
Thread (2 messages)