Hi,
Platform -- Solaris 8
shell -- bash 2.05
compiler -- gcc 3.0.3
PHP version -- 4.2.0
MySQL version -- 3.23.45
configured with --with-mysql --with-apsx

My PHP build is failing when it is running libtool on libmysql.c. It
complains about global.h in ./ext/mysql/libmysql. The output follows this
text. I want to make sure that everything is right with my platform (above)
and find out if anyone has had a similar experience before I go any further.

thanks in advance,
--dk
<snip>
make[4]: Entering directory `/home/dknox/php-4.2.0/ext/mysql/libmysql'
/bin/sh /home/dknox/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/home/d
knox/php-4.2.0/ext/mysql/libmysql -I/home/dknox/php-4.2.0/main -I/home/dknox
/php
-4.2.0 -I/usr/apache/include -I/home/dknox/php-4.2.0/Zend -I/home/dknox/php-
4.2.
0/ext/mysql/libmysql -I/home/dknox/php-4.2.0/ext/xml/expat  -D_POSIX_PTHREAD
_SEM
ANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT -DSOLARIS2=280 -I/home/dknox/php-4.2.0/
TSRM
 -g -O2 -prefer-pic  -c libmysql.c
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.3/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.3/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.3/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
"build.error" 38 lines, 1991 characters

</snip>


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

Reply via email to