php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16743 php_mysql.c:55: redefinition of `ushort'
Submitted: 2002-04-23 02:53 UTC Modified: 2002-04-26 21:04 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mw at suk dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.2.0 OS: RedHat Linux 7.2
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: mw at suk dot net
New email:
PHP Version: OS:

 

 [2002-04-23 02:53 UTC] mw at suk dot 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 ;-)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-23 03:42 UTC] mw at suk dot 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-26 21:04 UTC] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.2.1.

--Jani

 [2002-04-26 21:04 UTC] sniper@php.net
reclassified.

 [2002-04-27 10:06 UTC] mw at suk dot net
Works fine by now ;-)
 [2002-05-16 03:24 UTC] foo at bar dot com
What is the fix? comment out line 55?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 17:02:22 2024 UTC