PHP 4.0 Bug #7490 Updated: MYSQL_UNIX_ADDR warnings
| From: | mrobinso@php.net | Date: | Sat, 28 Oct 2000 07:04:48 +0000 |
| Subject: | PHP 4.0 Bug #7490 Updated: MYSQL_UNIX_ADDR warnings | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36205@lists.php.net to get a copy of this message | ||
ID: 7490
Updated by: mrobinso
Reported By: mrobinso@php.net
Status: Closed
Bug Type: MySQL related
Assigned To:
Comments:
Closing because the short description is misleading
and it may not get the attention it might otherwise
need. Unless of course I'm being an idiot... :)
Opening a new report with 'mysql support broken'
instead.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-28 00:49:49] mrobinso@php.net
Confirming, in snapshot php4-200010270545, mysql support
is broken.
Nothing in the apache error logs, no segfaults or
anything, just any script conecting to mysql fails.
Reverting to 4.0.3pl1 fixes this.
---------------------------------------------------------------------------
[2000-10-27 06:30:10] mrobinso@php.net
When ./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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7490