PHP 4.0 Bug #7490: MYSQL_UNIX_ADDR warnings
| From: | mrobinso@php.net | Date: | Fri, 27 Oct 2000 10:30:10 +0000 |
| Subject: | PHP 4.0 Bug #7490: MYSQL_UNIX_ADDR warnings | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36111@lists.php.net to get a copy of this message | ||
From: mrobinso@php.net
Operating system: RHL7.0
PHP version: 4.0 Latest CVS (27/10/2000)
PHP Bug Type: Compile Warning
Bug description: MYSQL_UNIX_ADDR warnings
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
--
Edit Bug report at: http://bugs.php.net/?id=7490&edit=1