|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-03-08 12:34 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 09:00:01 2025 UTC |
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 PetrFix 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