<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<div class="moz-text-html" lang="x-western"> <tt>Hello,<br>
<br>
I'm trying to build PHP 5.3.6 in a CentOS-4 server with MySQL
5.5.10 and I get this error:<br>
<br>
<i>/usr/include/mysql/my_config_i386.h:610:1: warning:
"PACKAGE_NAME" redefined<br>
/usr/include/mysql/mysql/psi/mysql_thread.h:100: error: syntax
error before "pthread_rwlock_t"<br>
/usr/include/mysql/mysql/psi/mysql_thread.h:100: warning: no
semicolon at end of struct or union<br>
/usr/include/mysql/mysql/psi/mysql_thread.h:107: error: syntax
error before '}' token<br>
/usr/include/mysql/mysql/psi/mysql_thread.h: In function
`inline_mysql_rwlock_init':<br>
/usr/include/mysql/mysql/psi/mysql_thread.h:683: error:
dereferencing pointer to incomplete type</i><br>
<br>
Full build log is available at: <a
href="http://pastebin.com/NBfB5PzZ">http://pastebin.com/NBfB5PzZ</a><br>
<br>
This only happens on CentOS-4 with GCC 3.4.6, I can build PHP
5.3.6 with 5.5.10 in CentOS-5 without problems.<br>
<br>
Also, there is no problem building with MySQL 5.5.8 and previous
versions. The problem **only occurs with MySQL 5.5.9 or MySQL
5.5.10** and any PHP version on C4.<br>
<br>
Anyone knows how to fix this problem? thanks!!<br>
<br>
Cheers,<br>
<br>
--<br>
Santi Saez<br>
<a class="moz-txt-link-freetext" href="http://powerstack.org">http://powerstack.org</a></tt><tt><br>
</tt> </div>
</body>
</html>