Bug #17103 Updated: libmysql compile failure in php-4.2.0/ext/mysql/libmysql
| From: | sniper@php.net | Date: | Thu, 13 Jun 2002 20:27:52 +0000 |
| Subject: | Bug #17103 Updated: libmysql compile failure in php-4.2.0/ext/mysql/libmysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10383@lists.php.net to get a copy of this message | ||
ID: 17103
Updated by: sniper@php.net
Reported By: btisja@uis.doleta.gov
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Sparc Solaris 2.7
PHP Version: 4.2.0
New Comment:
This was reported to be fixed now in latest CVS.
Previous Comments:
------------------------------------------------------------------------
[2002-05-09 14:56:30] btisja@uis.doleta.gov
I resolved this by installing mysql, and pointing to the proper path
------------------------------------------------------------------------
[2002-05-08 16:59:10] btisja@uis.doleta.gov
obviously "foo" is being used for the earlier "/dhome/btisja"
------------------------------------------------------------------------
[2002-05-08 16:56:24] btisja@uis.doleta.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'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17103&edit=1