Bug #16139: Compile failure with MySQL 4.0.1
| From: | mk at ambora dot de | Date: | Mon, 18 Mar 2002 11:03:43 +0000 |
| Subject: | Bug #16139: Compile failure with MySQL 4.0.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2740@lists.php.net to get a copy of this message | ||
From: mk@ambora.de
Operating system: linux 2.4.17
PHP version: 4.0CVS-2002-03-18
PHP Bug Type: MySQL related
Bug description: Compile failure with MySQL 4.0.1
I tried to compile latest CVS with MySQL 4.0.1, but I'm getting the error
below when linking:
ext/mysql/php_mysql.lo: In function `zif_mysql_create_db':
ext/mysql/php_mysql.lo(.text+0x16ac): undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
ext/mysql/php_mysql.lo(.text+0x185c): undefined reference to
`mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
This is quite understandable: the above functions are from the 3.23.x
branch and are deprecated in 4.0.1. Compiling with MySQL 4.0.1 DID work
with CVS two weeks ago...someone must have 'improved' the build process.
--
Edit bug report at http://bugs.php.net/?id=16139&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16139&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16139&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16139&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16139&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16139&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16139&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16139&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16139&r=submittedtwice