#46207 [NEW]: Compile Mysqli Failed
| From: | freed1985 at 126 dot com | Date: | Wed, 01 Oct 2008 04:04:53 +0000 |
| Subject: | #46207 [NEW]: Compile Mysqli Failed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-129378@lists.php.net to get a copy of this message | ||
From: freed1985 at 126 dot com
Operating system: Ubuntu 8.04
PHP version: 5.2.6
PHP Bug Type: MySQLi related
Bug description: Compile Mysqli Failed
Description:
------------
Extension compile failed
Reproduce code:
---------------
root@otaku-desktop:/home/otaku/php-5.2.6/ext/mysqli# sudo make
Actual result:
--------------
/bin/bash /home/otaku/php-5.2.6/ext/mysqli/libtool --mode=compile gcc -I.
-I/home/otaku/php-5.2.6/ext/mysqli -DPHP_ATOM_INC
-I/home/otaku/php-5.2.6/ext/mysqli/include
-I/home/otaku/php-5.2.6/ext/mysqli/main -I/home/otaku/php-5.2.6/ext/mysqli
-I/usr/local/php/include/php -I/usr/local/php/include/php/main
-I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend
-I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
-I/usr/local/mysql/include/mysql -DHAVE_CONFIG_H -g -O2 -c
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c -o mysqli.lo
mkdir .libs
gcc -I. -I/home/otaku/php-5.2.6/ext/mysqli -DPHP_ATOM_INC
-I/home/otaku/php-5.2.6/ext/mysqli/include
-I/home/otaku/php-5.2.6/ext/mysqli/main -I/home/otaku/php-5.2.6/ext/mysqli
-I/usr/local/php/include/php -I/usr/local/php/include/php/main
-I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend
-I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
-I/usr/local/mysql/include/mysql -DHAVE_CONFIG_H -g -O2 -c
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c -fPIC -DPIC -o .libs/mysqli.o
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c: In function
'zm_startup_mysqli':
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c:643: error: 'MYSQL_RPL_MASTER'
undeclared (first use in this function)
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c:643: error: (Each undeclared
identifier is reported only once
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c:643: error: for each function it
appears in.)
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c:644: error: 'MYSQL_RPL_SLAVE'
undeclared (first use in this function)
/home/otaku/php-5.2.6/ext/mysqli/mysqli.c:645: error: 'MYSQL_RPL_ADMIN'
undeclared (first use in this function)
make: *** [mysqli.lo] ´íÎó 1
--
Edit bug report at http://bugs.php.net/?id=46207&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46207&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46207&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46207&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46207&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46207&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46207&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46207&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46207&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46207&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46207&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46207&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46207&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46207&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46207&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46207&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46207&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46207&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46207&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46207&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46207&r=mysqlcfg