php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17103 libmysql compile failure in php-4.2.0/ext/mysql/libmysql
Submitted: 2002-05-08 16:56 UTC Modified: 2002-06-13 16:27 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: btisja at uis dot doleta dot gov Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.0 OS: Sparc Solaris 2.7
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: btisja at uis dot doleta dot gov
New email:
PHP Version: OS:

 

 [2002-05-08 16:56 UTC] btisja at uis dot doleta dot gov
# make
Making all in ctype
Making all in mysql
Making all in libmysql
gcc -I. -I/dhome/btisja/php-4.2.0/ext/mysql/libmysql -I/dhome/btisja/php-4.2.0/main -I/dhome/btisja/php-4.2.0 -I/dhome/btisja/php-4.2.0/Zend -I/dhome/btisja/php-4.2.0/ext/mysql/libmysql -I/dhome/btisja/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -I/dhome/btisja/php-4.2.0/TSRM -g -O2  -c libmysql.c && touch libmysql.lo
In file included from libmysql.c:5:
global.h:136:22: operator 'EOL' has no left operand
In file included from libmysql.c:5:
global.h:256: warning: redefinition of `uint'
/opt/gcc304/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/include/sys/types.h:500: warning: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/opt/gcc304/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/include/sys/types.h:499: warning: `ushort' previously declared here
global.h:258: warning: redefinition of `ulong'
/opt/gcc304/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/include/sys/types.h:501: warning: `ulong' previously declared here
In file included from libmysql.c:5:
global.h:498:22: operator 'EOL' has no left operand
In file included from libmysql.c:5:
global.h:590: warning: redefinition of `ulong'
global.h:258: warning: `ulong' previously declared here
In file included from libmysql.c:12:
m_string.h:205:36: operator '==' has no right operand
libmysql.c: In function `net_field_length_ll':
libmysql.c:397: warning: left shift count >= width of type
*** Error code 1
make: Fatal error: Command failed for target `libmysql.lo'
Current working directory /foo/php-4.2.0/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /foo/php-4.2.0/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /foo/php-4.2.0/ext/mysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-08 16:59 UTC] btisja at uis dot doleta dot gov
obviously "foo" is being used for the earlier "/dhome/btisja"
 [2002-05-09 14:56 UTC] btisja at uis dot doleta dot gov
I resolved this by installing mysql, and pointing to the proper path
 [2002-06-13 16:27 UTC] sniper@php.net
This was reported to be fixed now in latest CVS.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 30 01:00:02 2025 UTC