Bug #10573: MySQL Support Fails to compile
| From: | poobah at unclescrotor dot com | Date: | Tue, 01 May 2001 09:07:09 +0000 |
| Subject: | Bug #10573: MySQL Support Fails to compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53172@lists.php.net to get a copy of this message | ||
From: poobah@unclescrotor.com
Operating system: RH Linux 6.2 kernel 2.2.16
PHP version: 4.0.5
PHP Bug Type: Compile Warning
Bug description: MySQL Support Fails to compile
Running MySQL 3.23.31 on RH 6.2 kernel 2.2.16 apache 1.3.14
Configuration:
./configure --with-mysql --with-apxs --with-imap --with-pgsql --enable-ftp --enable-exif --with-gd
Posts these warnings during compile:
In file included from mysql.h:55,
from libmysql.c:14:
mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/main/php_config.h:1369: warning: this is the location of the previous definition
In file included from mysql.h:55,
from net.c:18:
mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/main/php_config.h:1369: warning: this is the location of the previous definition
In file included from mysql.h:55,
from password.c:27:
mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/main/php_config.h:1369: warning: this is the location of the previous definition
In file included from /home/jpetrovs/php-4.0.5/ext/mysql/libmysql/mysql.h:55,
from php_mysql.c:57:
/home/php-4.0.5/ext/mysql/libmysql/mysql_version.h:15: warning: `MYSQL_UNIX_ADDR' redefined
/home/php-4.0.5/TSRM/../main/php_config.h:1369: warning: this is the location of the previous
definition
--------------------------
After doing a Make Install I can't attach to MySQL databases. I revert back to the 4.04pl
(compliled the same way) and all is well.
--
Edit Bug report at: http://bugs.php.net/?id=10573&edit=1