php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17372 An error occured when complie libmysql.c
Submitted: 2002-05-22 20:50 UTC Modified: 2002-06-17 21:21 UTC
Votes:4
Avg. Score:4.5 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:2 (66.7%)
From: xtium at hotmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: linux
Private report: No CVE-ID: None
 [2002-05-22 20:50 UTC] xtium at hotmail dot 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

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 21:21 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 13:01:29 2024 UTC