PHP 4.0 Bug #7504 Updated: MySQL support broken
| From: | mrobinso@php.net | Date: | Sat, 04 Nov 2000 00:22:48 +0000 |
| Subject: | PHP 4.0 Bug #7504 Updated: MySQL support broken | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37054@lists.php.net to get a copy of this message | ||
ID: 7504
Updated by: mrobinso
Reported By: mrobinso@php.net
Status: Closed
Bug Type: MySQL related
Assigned To:
Comments:
Fixed in CVS, thanks Zeev.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-28 03:06:24] mrobinso@php.net
Snapshot from this morning, all scripts accessing mysql
cannot connect to mysql at all and fail.
./configure'd with --with-mysql ..."make" warns:
from libmysql.c:14:
mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of the
previous definition
/bin/sh /usr/src/php4-200010261145/libtool --silent --mode=compile gcc -I.
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145
-I/usr/src/php4-200010261145/main -I/usr/include/apache -I/usr/src/php4-200010261145/Zend
-I/usr/src/php4-200010261145
-I/usr/local/include -I/usr/include/freetype
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145/ext/xml/expat/xmltok
-I/usr/src/php4-200010261145/ext/xml/expat/xmlparse -I/usr/src/php4-200010261145/TSRM -DEAPI -DEAPI
-DXML_BYTE_ORDER=12 -g -O2
-c errmsg.c
/bin/sh /usr/src/php4-200010261145/libtool --silent --mode=compile gcc -I.
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145
-I/usr/src/php4-200010261145/main -I/usr/include/apache -I/usr/src/php4-200010261145/Zend
-I/usr/src/php4-200010261145
-I/usr/local/include -I/usr/include/freetype
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145/ext/xml/expat/xmltok
-I/usr/src/php4-200010261145/ext/xml/expat/xmlparse -I/usr/src/php4-200010261145/TSRM -DEAPI -DEAPI
-DXML_BYTE_ORDER=12 -g -O2
-c net.c
In file included from mysql.h:53,
from net.c:18:
mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of the
previous definition
/bin/sh /usr/src/php4-200010261145/libtool --silent --mode=compile gcc -I.
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145
-I/usr/src/php4-200010261145/main -I/usr/include/apache -I/usr/src/php4-200010261145/Zend
-I/usr/src/php4-200010261145
-I/usr/local/include -I/usr/include/freetype
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145/ext/xml/expat/xmltok
-I/usr/src/php4-200010261145/ext/xml/expat/xmlparse -I/usr/src/php4-200010261145/TSRM -DEAPI -DEAPI
-DXML_BYTE_ORDER=12 -g -O2
-c violite.c
/bin/sh /usr/src/php4-200010261145/libtool --silent --mode=compile gcc -I.
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145
-I/usr/src/php4-200010261145/main -I/usr/include/apache -I/usr/src/php4-200010261145/Zend
-I/usr/src/php4-200010261145
-I/usr/local/include -I/usr/include/freetype
-I/usr/src/php4-200010261145/ext/mysql/libmysql -I/usr/src/php4-200010261145/ext/xml/expat/xmltok
-I/usr/src/php4-200010261145/ext/xml/expat/xmlparse -I/usr/src/php4-200010261145/TSRM -DEAPI -DEAPI
-DXML_BYTE_ORDER=12 -g -O2
-c password.c
In file included from mysql.h:53,
from password.c:27:
mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of the
previous definition
...and a little later on....
from php_mysql.c:57:
/usr/src/php4-200010261145/ext/mysql/libmysql/mysql_version.h:14:41: warning:
"MYSQL_UNIX_ADDR" redefined
/usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of the
previous definition
/bin/sh /usr/src/php4-200010261145/libtool --silent --mode=link gcc -I.
-I/usr/src/php4-200010261145/ext/mysql -I/usr/src/php4-200010261145
-I/usr/src/php4-200010261145/main
-I/usr/include/apache -I
Reverting to 4.0.3pl1 fixes this.
I still have the snapshot installed if more info
is needed.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7504