ID: 44371
Updated by: [EMAIL PROTECTED]
Reported By: petr at hroch dot info
-Status: Open
+Status: Assigned
Bug Type: MySQLi related
Operating System: Linux Debian Etch 4.0
PHP Version: 5.3CVS-2008-03-08 (snap)
-Assigned To:
+Assigned To: andrey
New Comment:
Assigning to primary maintainer
Previous Comments:
------------------------------------------------------------------------
[2008-03-08 14:19:54] petr at hroch dot info
Fix for my previous comment
---------------------------
Temporary workaround:
Open file ext/mysqli/mysqli_structs.h
change line 45: #include "ext/mysqli/mysqli_libmysql.h"
to: #include "mysqli_libmysql.h"
After that extension compiled successfully.
Regards
Petr
------------------------------------------------------------------------
[2008-03-08 14:17:38] petr at hroch dot info
Temporary workaround:
Open file ext/mysqli/mysqli_structs.h
change line 45: #include "ext/mysqli/mysqli_libmysql.h"
to: #include "mysqli/mysqli_libmysql.h"
After that extension compiled successfully.
Regards
Petr
------------------------------------------------------------------------
[2008-03-08 12:34:43] petr at hroch dot info
Description:
------------
Extension compile failed using latest snaphshot
Actual result:
--------------
sit:/usr/install/src/php5.3-dev/ext/mysqli# make
/bin/sh /usr/install/src/php5.3-dev/ext/mysqli/libtool --mode=compile
gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC
-I/usr/install/src/php5.3-dev/ext/mysqli/include
-I/usr/install/src/php5.3-dev/ext/mysqli/main
-I/usr/install/src/php5.3-dev/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/include/mysql
-DHAVE_CONFIG_H -g -O2 -c
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -o mysqli.lo
mkdir .libs
gcc -I. -I/usr/install/src/php5.3-dev/ext/mysqli -DPHP_ATOM_INC
-I/usr/install/src/php5.3-dev/ext/mysqli/include
-I/usr/install/src/php5.3-dev/ext/mysqli/main
-I/usr/install/src/php5.3-dev/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/include/mysql
-DHAVE_CONFIG_H -g -O2 -c
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c -fPIC -DPIC -o
.libs/mysqli.o
In file included from
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:31:
/usr/install/src/php5.3-dev/ext/mysqli/php_mysqli_structs.h:45:40:
error: ext/mysqli/mysqli_libmysql.h: No such file or directory
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function
'php_mysqli_dtor_p_elements':
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error:
'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function)
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: (Each
undeclared identifier is reported only once
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:80: error: for each
function it appears in.)
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c: In function
'mysqli_link_free_storage':
/usr/install/src/php5.3-dev/ext/mysqli/mysqli.c:212: error:
'MYSQLI_CLOSE_IMPLICIT' undeclared (first use in this function)
make: *** [mysqli.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44371&edit=1