Bug #17103: libmysql compile failure in php-4.2.0/ext/mysql/libmysql
| From: | btisja at uis dot doleta dot gov | Date: | Wed, 08 May 2002 20:56:25 +0000 |
| Subject: | Bug #17103: libmysql compile failure in php-4.2.0/ext/mysql/libmysql | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7266@lists.php.net to get a copy of this message | ||
From: btisja@uis.doleta.gov
Operating system: Sparc Solaris 2.7
PHP version: 4.2.0
PHP Bug Type: Compile Failure
Bug description: libmysql compile failure in php-4.2.0/ext/mysql/libmysql
# 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 bug report at http://bugs.php.net/?id=17103&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17103&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17103&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17103&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17103&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17103&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17103&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17103&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17103&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17103&r=globals