#33474 [Fbk->Asn]: MySQLi Compile Error
| From: | tony2001@php.net | Date: | Sat, 25 Jun 2005 22:26:48 +0000 |
| Subject: | #33474 [Fbk->Asn]: MySQLi Compile Error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81010@lists.php.net to get a copy of this message | ||
ID: 33474
Updated by: tony2001@php.net
Reported By: artooro at gmail dot com
-Status: Feedback
+Status: Assigned
Bug Type: MySQLi related
Operating System: darwin8.1
PHP Version: 5CVS-2005-06-25 (dev)
Assigned To: georg
New Comment:
Georg, it fails for me (and Ilia) too:
ext/mysqli/.libs/mysqli_fe.o(.data+0x3d8): undefined reference to
`zif_mysqli_get_warnings'
ext/mysqli/.libs/mysqli_fe.o(.data+0x6bc): undefined reference to
`zif_mysqli_stmt_get_warnings'
ext/mysqli/.libs/mysqli_fe.o(.data+0xa70): undefined reference to
`zif_mysqli_get_warnings'
ext/mysqli/.libs/mysqli_fe.o(.data+0xec4): undefined reference to
`zif_mysqli_stmt_get_warnings'
collect2: ld returned 1 exit status
It seems you forgot to commit something, because I can't find
implementations of those functions at all.
Please check it out. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2005-06-26 00:15:08] georg@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-06-25 18:07:26] artooro at gmail dot com
Description:
------------
When building PHP with mysqli I get this error:
/usr/bin/ld: warning multiple definitions of symbol _regcomp
/usr/sbin/httpd definition of _regcomp
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib(regcomp.So)
definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
/usr/sbin/httpd definition of _regexec
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib(regexec.So)
definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
/usr/sbin/httpd definition of _regfree
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib(regfree.So)
definition of _regfree
/usr/bin/ld: Undefined symbols:
_zif_mysqli_get_warnings
_zif_mysqli_stmt_get_warnings
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
GCC 4.0
Mac OS X 10.4.1 (darwin8.1)
I'll also note that PHP 5.1.0beta2 builds fine with mysqli.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33474&edit=1