From:             glen at delfi dot ee
Operating system: PLD Linux
PHP version:      5.2CVS-2009-03-16 (snap)
PHP Bug Type:     Compile Failure
Bug description:  mysqlng fails to compile with --enable-mysqlnd-threading

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 bug report at http://bugs.php.net/?id=47683&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47683&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47683&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47683&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47683&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47683&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47683&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47683&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47683&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47683&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47683&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47683&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47683&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47683&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47683&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47683&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47683&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47683&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47683&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47683&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47683&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47683&r=mysqlcfg

Reply via email to