Hi ther I am having some problems compiling the latest version of the source
code on a solaris box

The inital configure runs fine but when I go for the make this is what happens.

# make
Making all in Zend
Making all in main
gcc -I. -I/usr/local/dev/php-4.2.0/main -I/usr/local/dev/php-4.2.0/main -I/usr/l
ocal/dev/php-4.2.0 -I/usr/local/dev/php-4.2.0/Zend -I/usr/local/dev/php-4.2.0/ex
t/mysql/libmysql -I/usr/local/dev/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMA
NTICS -I/usr/local/dev/php-4.2.0/TSRM -g -O2  -c internal_functions.c && touch i
nternal_functions.lo
/bin/sh /usr/local/dev/php-4.2.0/libtool --silent --mode=link gcc  -I. -I/usr/lo
cal/dev/php-4.2.0/main -I/usr/local/dev/php-4.2.0/main -I/usr/local/dev/php-4.2.
0 -I/usr/local/dev/php-4.2.0/Zend -I/usr/local/dev/php-4.2.0/ext/mysql/libmysql
-I/usr/local/dev/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -I/usr/loca
l/dev/php-4.2.0/TSRM -g -O2 -prefer-non-pic -static   -o libmain.la  main.lo snp
rintf.lo php_sprintf.lo  safe_mode.lo fopen_wrappers.lo alloca.lo  php_ini.lo SA
PI.lo rfc1867.lo php_content_types.lo strlcpy.lo  strlcat.lo mergesort.lo reentr
ancy.lo php_variables.lo php_ticks.lo  streams.lo network.lo php_open_temporary_
file.lo php_logos.lo  output.lo internal_functions.lo
gcc -I. -I/usr/local/dev/php-4.2.0/main -I/usr/local/dev/php-4.2.0/main -I/usr/l
ocal/dev/php-4.2.0 -I/usr/local/dev/php-4.2.0/Zend -I/usr/local/dev/php-4.2.0/ex
t/mysql/libmysql -I/usr/local/dev/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMA
NTICS -I/usr/local/dev/php-4.2.0/TSRM -g -O2  -c internal_functions_cli.c && tou
ch internal_functions_cli.lo
/bin/sh /usr/local/dev/php-4.2.0/libtool --silent --mode=link gcc  -I. -I/usr/lo
cal/dev/php-4.2.0/main -I/usr/local/dev/php-4.2.0/main -I/usr/local/dev/php-4.2.
0 -I/usr/local/dev/php-4.2.0/Zend -I/usr/local/dev/php-4.2.0/ext/mysql/libmysql
-I/usr/local/dev/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -I/usr/loca
l/dev/php-4.2.0/TSRM -g -O2 -prefer-non-pic -static   -o libmain_cli.la  main.lo
 snprintf.lo php_sprintf.lo  safe_mode.lo fopen_wrappers.lo alloca.lo  php_ini.l
o SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo  strlcat.lo mergesort.lo re
entrancy.lo php_variables.lo php_ticks.lo  streams.lo network.lo php_open_tempor
ary_file.lo php_logos.lo  output.lo internal_functions_cli.lo
Making all in ext
Making all in ctype
Making all in mysql
Making all in libmysql
gcc -I. -I/usr/local/dev/php-4.2.0/ext/mysql/libmysql -I/usr/local/dev/php-4.2.0
/main -I/usr/local/dev/php-4.2.0 -I/usr/local/dev/php-4.2.0/Zend -I/usr/local/de
v/php-4.2.0/ext/mysql/libmysql -I/usr/local/dev/php-4.2.0/ext/xml/expat  -D_POSI
X_PTHREAD_SEMANTICS -I/usr/local/dev/php-4.2.0/TSRM -g -O2  -c libmysql.c && tou
ch 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'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:505: warni
ng: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:504: warni
ng: `ushort' previously declared here
global.h:258: warning: redefinition of `ulong'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/sys/types.h:506: warni
ng: `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 /usr/local/dev/php-4.2.0/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/dev/php-4.2.0/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/dev/php-4.2.0/ext/mysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/dev/php-4.2.0/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
#


Any ideas?

cheers

smyles


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to