php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47683 mysqlng fails to compile with --enable-mysqlnd-threading
Submitted: 2009-03-16 23:52 UTC Modified: 2009-03-25 01:00 UTC
From: glen at delfi dot ee Assigned: mysql (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.3CVS-2009-03-16 (snap) OS: PLD Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-03-16 23:52 UTC] 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...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-17 00:42 UTC] 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-17 09:53 UTC] andrey@php.net
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.
 [2009-03-17 09:54 UTC] andrey@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-03-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 18:01:32 2024 UTC