#46207 [Opn->Fbk]: Compile Mysqli Failed
| From: | johannes@php.net | Date: | Wed, 01 Oct 2008 20:13:52 +0000 |
| Subject: | #46207 [Opn->Fbk]: Compile Mysqli Failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129398@lists.php.net to get a copy of this message | ||
ID: 46207
Updated by: johannes@php.net
Reported By: freed1985 at 126 dot com
-Status: Open
+Status: Feedback
Bug Type: MySQLi related
Operating System: Ubuntu 8.04
PHP Version: 5.2.6
New Comment:
What's your configure line and which version of libmysql do you have
installed?
Previous Comments:
------------------------------------------------------------------------
[2008-10-01 04:04:52] freed1985 at 126 dot com
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 this bug report at http://bugs.php.net/?id=46207&edit=1