From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]