#33474 [Asn->Csd]: MySQLi Compile Error
| From: | derick@php.net | Date: | Sun, 26 Jun 2005 15:32:22 +0000 |
| Subject: | #33474 [Asn->Csd]: MySQLi Compile Error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81034@lists.php.net to get a copy of this message | ||
ID: 33474
Updated by: derick@php.net
Reported By: artooro at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: MySQLi related
Operating System: darwin8.1
PHP Version: 5CVS-2005-06-25 (dev)
Assigned To: georg
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
(Fixed by Georg)
Previous Comments:
------------------------------------------------------------------------
[2005-06-26 00:26:46] tony2001@php.net
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.
------------------------------------------------------------------------
[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