Bug #16743 Updated: php_mysql.c:55: redefinition of `ushort'
| From: | foo at bar dot com | Date: | Thu, 16 May 2002 07:24:22 +0000 |
| Subject: | Bug #16743 Updated: php_mysql.c:55: redefinition of `ushort' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7819@lists.php.net to get a copy of this message | ||
ID: 16743
Updated by: foo@bar.com
Reported By: mw@suk.net
Status: Closed
Bug Type: MySQL related
Operating System: RedHat Linux 7.2
PHP Version: 4.2.0
New Comment:
What is the fix? comment out line 55?
Previous Comments:
------------------------------------------------------------------------
[2002-04-27 10:06:20] mw@suk.net
Works fine by now ;-)
------------------------------------------------------------------------
[2002-04-26 21:04:56] sniper@php.net
reclassified.
------------------------------------------------------------------------
[2002-04-26 21:04:38] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.2.1.
--Jani
------------------------------------------------------------------------
[2002-04-23 03:42:50] mw@suk.net
Sorry for the german messages ;-)
Making all in mysql
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
make[3]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
gcc -I. -I/usr/src/php-4.2.0/ext/mysql -I/usr/src/php-4.2.0/main
-I/usr/src/php-4.2.0 -I/usr/src/php-4.2.0/Zend -I/usr//include
-I/usr//include/mysql -I/usr/src/php-4.2.0/ext/xml/expat
-I/usr/src/php-4.2.0/TSRM -g -O2 -c php_mysql.c && touch php_mysql.lo
php_mysql.c:55: redefinition of `ushort'
/usr/include/sys/types.h:151: `ushort' previously declared here
make[3]: *** [php_mysql.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/php-4.2.0/ext/mysql«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/php-4.2.0/ext«
make: *** [all-recursive] Fehler 1
------------------------------------------------------------------------
[2002-04-23 02:53:22] mw@suk.net
The commandlines I've used for configure are:
./configure --prefix=/usr/server/php
--with-config-file-path/usr/server/config/--without-pear
--with-openssl=/usr/ --enable-bcmath --with-mysql=/usr/
After changing the source code of ext/mysql/php_mysql.c in line 55 it
worked then ;-)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16743&edit=1