Bug #64505 [Com]: Compile error with Mysqln
| From: | mario dot granados at mnet dot com dot mx | Date: | Thu, 12 Jun 2014 16:37:56 +0000 |
| Subject: | Bug #64505 [Com]: Compile error with Mysqln | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186161@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64505&edit=1
ID: 64505
Comment by: mario dot granados at mnet dot com dot mx
Reported by: chefuri at gmail dot com
Summary: Compile error with Mysqln
Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: CENTOS x86_64
PHP Version: 5.5.0beta1
Block user comment: N
Private report: N
New Comment:
I'm having the same issue with the 5.5.13 stable version in CentOS
/php-5.5.13/ext/mysqlnd/mysqlnd_ps.c:795: undefined reference to `tsrm_mutex_lock'
Previous Comments:
------------------------------------------------------------------------
[2013-03-25 03:42:34] laruence@php.net
dup to #64503
------------------------------------------------------------------------
[2013-03-25 03:42:32] laruence@php.net
dup to #64503
------------------------------------------------------------------------
[2013-03-24 16:07:47] chefuri at gmail dot com
Description:
------------
I can't compile the PHP 5.5.0 beta1 with this options:
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--enable-mysqlnd' '--
enable-inline-optimization' '--disable-debug' '--with-mysql=mysqlnd'
'--with-
pdo-mysql=shared' '--enable-mysqlnd-compression-support' '--with-zlib'
'--with-
gd=shared'
This configuration works correctly with alpha versions.
Thanks!
NOTE: With PHP 5.5.0alpha6 i obtained this error : https://bugs.php.net/bug.php?
id=64373
Test script:
---------------
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--enable-mysqlnd' '--
enable-inline-optimization' '--disable-debug' '--with-mysql=mysqlnd'
'--with-
pdo-mysql=shared' '--enable-mysqlnd-compression-support' '--with-zlib'
'--with-
gd=shared'
./make
ext/mysqlnd/.libs/mysqlnd_ps.o: In function `mysqlnd_stmt_fetch_row_buffered':
/root/desc/php-5.5.0beta1/ext/mysqlnd/mysqlnd_ps.c:794: undefined reference to
`tsrm_mutex_lock'
/root/desc/php-5.5.0beta1/ext/mysqlnd/mysqlnd_ps.c:794: undefined reference to
`tsrm_mutex_unlock'
/root/desc/php-5.5.0beta1/ext/mysqlnd/mysqlnd_ps.c:794: undefined reference to
`tsrm_mutex_lock'
/root/desc/php-5.5.0beta1/ext/mysqlnd/mysqlnd_ps.c:794: undefined reference to
`tsrm_mutex_unlock'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
-----
php-5.5.0alpha6/meta_ccld -Iext/standard/ -I/root/desc/php-5.5.0alpha6/ext/standard/ -DPHP_ATOM_INC
-I/root/desc/php-5.5.0alpha6/include -I/root/desc/php-5.5.0alpha6/main -I/root/desc/php-5.5.0alpha6
-I/root/desc/php-5.5.0alpha6/ext/date/lib -I/root/desc/php-5.5.0alpha6/ext/ereg/regex
-I/usr/include/libxml2 -I/root/desc/php-5.5.0alpha6/ext/sqlite3/libsqlite
-I/root/desc/php-5.5.0alpha6/TSRM -I/root/desc/php-5.5.0alpha6/Zend -D_REENTRANT -I/usr/include -g
-O2 -fvisibility=hidden -pthread -DZTS -c /root/desc/php-5.5.0alpha6/ext/standard/basic_functions.c
-o ext/standard/basic_functions.lo
In file included from /root/desc/php-5.5.0alpha6/ext/standard/basic_functions.c:48:
/root/desc/php-5.5.0alpha6/Zend/zend_language_parser.h:331: error: conflicting types for
'zendparse'
/root/desc/php-5.5.0alpha6/Zend/zend_globals_macros.h:35: note: previous declaration of
'zendparse' was here
make: *** [ext/standard/basic_functions.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64505&edit=1