Hi, I've posted this to php-general but to no avail, hopefully, I've posted this to the right list :)

I'm stuck with the following error message when I was compiling PHP 5.0.2 in my x86 Solaris 10 box.

/bin/sh /export/home/jonel/Downloads/php-5.0.2/libtool --silent --preserve-dup-deps --mode=compile gcc -DSOLARIS2=2100 -DMOD_SSL=208118 -DMOD_PERL -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_SO_LINGER -DHARD_SERVER_LIMIT=2048 -I/usr/apache/include -Isapi/apache/ -I/export/home/jonel/Downloads/php-5.0.2/sapi/apache/ -DPHP_ATOM_INC -I/export/home/jonel/Downloads/php-5.0.2/include -I/export/home/jonel/Downloads/php-5.0.2/main -I/export/home/jonel/Downloads/php-5.0.2 -I/export/home/jonel/Downloads/php-5.0.2/Zend -I/usr/include/libxml2 -D_POSIX_PTHREAD_SEMANTICS -I/export/home/jonel/Downloads/php-5.0.2/TSRM -g -O2 -prefer-pic -c /export/home/jonel/Downloads/php-5.0.2/sapi/apache/sapi_apache.c -o sapi/apache/sapi_apache.lo
In file included from /usr/include/sys/wait.h:24,
from /usr/apache/include/ap_config.h:1119,
from /usr/apache/include/httpd.h:29,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/php_apache_http.h:47,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/sapi_apache.c:24:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from /usr/apache/include/ap_config.h:1119,
from /usr/apache/include/httpd.h:29,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/php_apache_http.h:47,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/sapi_apache.c:24:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/apache/include/ap_config.h:1119,
from /usr/apache/include/httpd.h:29,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/php_apache_http.h:47,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/sapi_apache.c:24:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from /usr/apache/include/ap_config.h:1136,
from /usr/apache/include/httpd.h:29,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/php_apache_http.h:47,
from /export/home/jonel/Downloads/php-5.0.2/sapi/apache/sapi_apache.c:24:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `sapi/apache/sapi_apache.lo'



Anyone of you guys have experienced this error?

thanks and regards,
Jonel

Reply via email to