MySQL 4.0.1 compile problems
| From: | Michael Kunze | Date: | Thu, 14 Mar 2002 16:54:25 +0000 |
| Subject: | MySQL 4.0.1 compile problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81239@lists.php.net to get a copy of this message | ||
Hi all,
i tried to compile latest CVS (checked out 1h ago) 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 right: 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.
Cheers
Michael