#46207 [Com]: Compile Mysqli Failed
| From: | jwhitman at jwnetsource dot com | Date: | Tue, 25 Nov 2008 03:54:11 +0000 |
| Subject: | #46207 [Com]: Compile Mysqli Failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131284@lists.php.net to get a copy of this message | ||
ID: 46207
Comment by: jwhitman at jwnetsource dot com
Reported By: freed1985 at 126 dot com
Status: No Feedback
Bug Type: MySQLi related
Operating System: Ubuntu 8.04
PHP Version: 5.2.6
New Comment:
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli.c:643:
error: (Each undeclared identifier is reported only once
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli.c:643:
error: for each function it appears in.)
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli.c:644:
error: 'MYSQL_RPL_SLAVE' undeclared (first use in this function)
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli.c:645:
error: 'MYSQL_RPL_ADMIN' undeclared (first use in this function)
*** Error code 1
Stop in /usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli.
*** Error code 1
Stop in /usr/ports/databases/php5-mysqli.
*** Error code 1
Stop in /usr/ports/databases/phpmyadmin.
*** Error code 1
Stop in /usr/ports/databases/phpmyadmin.
Previous Comments:
------------------------------------------------------------------------
[2008-10-09 01:00:02] 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".
------------------------------------------------------------------------
[2008-10-01 20:13:51] johannes@php.net
What's your configure line and which version of libmysql do you have
installed?
------------------------------------------------------------------------
[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