Bug #64505 [NEW]: Compile error with Mysqln
| From: | chefuri at gmail dot com | Date: | Sun, 24 Mar 2013 16:07:48 +0000 |
| Subject: | Bug #64505 [NEW]: Compile error with Mysqln | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-178041@lists.php.net to get a copy of this message | ||
From: chefuri at gmail dot com
Operating system: CENTOS x86_64
PHP version: 5.5.0beta1
Package: Compile Failure
Bug Type: Bug
Bug description:Compile error with Mysqln
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 bug report at https://bugs.php.net/bug.php?id=64505&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64505&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64505&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64505&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64505&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64505&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64505&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64505&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64505&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64505&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64505&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64505&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64505&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64505&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64505&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64505&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64505&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64505&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64505&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64505&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64505&r=mysqlcfg