#47683 [Asn->Fbk]: mysqlng fails to compile with --enable-mysqlnd-threading
| From: | andrey@php.net | Date: | Tue, 17 Mar 2009 09:53:08 +0000 |
| Subject: | #47683 [Asn->Fbk]: mysqlng fails to compile with --enable-mysqlnd-threading | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134795@lists.php.net to get a copy of this message | ||
ID: 47683
Updated by: andrey@php.net
Reported By: glen at delfi dot ee
-Status: Assigned
+Status: Feedback
Bug Type: Compile Failure
Operating System: PLD Linux
PHP Version: 5.3CVS-2009-03-16 (snap)
Assigned To: mysql
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Thanks for this, a macro name hasn't been changed in some places thus
leading to build failure.
Previous Comments:
------------------------------------------------------------------------
[2009-03-17 00:42:43] johannes@php.net
--enable-mysqlnd-threading is a remainingf rom an experimental
implementation of background-prefetching, this has been replaced by
async query support, I'll check with Andrey tomorrow.
------------------------------------------------------------------------
[2009-03-16 23:52:23] glen at delfi dot ee
Description:
------------
/bin/sh /home/glen/rpm/pld/BUILD/php5.3-200903161730/libtool --silent
--preserve-dup-deps --mode=compile
/home/glen/rpm/pld/BUILD/php5.3-200903161730/meta_ccld -Iext/mysqlnd/
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/
-DPHP_ATOM_INC -I/home/glen/rpm/pld/BUILD/php5.3-200903161730/include
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/main
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/ereg/regex
-I/usr/include/libxml2 -I/usr/include/openssl
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/date/lib
-I/usr/include/freetype2 -I/usr/include/imap
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mbstring/oniguruma
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mbstring/libmbfl
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mbstring/libmbfl/mbfl
-I/usr/include/pspell -I/usr/include/xmlrpc-epi
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/TSRM
-I/home/glen/rpm/pld/BUILD/php5.3-200903161730/Zend -DDEBUG_FASTCGI
-DHAVE_STRNDUP -D_REENTRANT -I/usr/include -O2 -march=i686 -gdwarf-2
-g2 -pthread -DZTS -prefer-non-pic -c
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_block_alloc.c
-o
ext/mysqlnd/mysqlnd_block_alloc.lo
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:
In function `mysqlnd_fetch_row_async_buffered':
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:1396:
error: `i' undeclared (first use in this function)
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:1396:
error: (Each undeclared identifier is reported only once
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:1396:
error: for each function it appears in.)
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:
In function `mysqlnd_background_store_result_fetch_data':
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:1465:
error: `STORE_RESULT_PREALLOCATED_SET' undeclared (first use in this
function)
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:
In function `php_mysqlnd_res_background_store_result_pub':
/home/glen/rpm/pld/BUILD/php5.3-200903161730/ext/mysqlnd/mysqlnd_result.c:1609:
error: `STORE_RESULT_PREALLOCATED_SET' undeclared (first use in this
function)
make: *** [ext/mysqlnd/mysqlnd_result.lo] Error 1
Reproduce code:
---------------
./configure ... --with-mysqli=shared,mysqlnd
--enable-mysqlnd-threading
make
Expected result:
----------------
`i' undeclaration is easy to fix, however the missing constant is
likely harder and needs understanding the code...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47683&edit=1