php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7490 MYSQL_UNIX_ADDR warnings
Submitted: 2000-10-27 06:30 UTC Modified: 2000-10-28 03:04 UTC
From: mrobinso@php.net Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Latest CVS (27/10/2000) OS: RHL7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mrobinso@php.net
New email:
PHP Version: OS:

 

 [2000-10-27 06:30 UTC] 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





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-28 00:49 UTC] 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-28 03:04 UTC] mrobinso@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Jun 26 15:00:01 2026 UTC