Hello, compiling php 4.2.1 on HP-UX 11 64-but machine with Apache 1.3.19
installed, I receive the following error
Making all in main
gcc -I. -I/ora04/php-4.2.1/main -I/ora04/php-4.2.1/main -I/ora04/php-4.2.1 -
I/ora04/php-4.2.1/Zend -I/ora04/php-4.2.1/ext/mysql/libm
ysql -I/ora04/php-4.2.1/ext/xml/expat -I/ora04/php-4.2.1/TSRM -g -O2 -c
main.c && touch main.lo
In file included from php_network.h:37,
from /ora04/php-4.2.1/ext/standard/fsock.h:32,
from /ora04/php-4.2.1/ext/standard/php_standard.h:43,
from main.c:52:
/usr/include/sys/socket.h:199: conflicting types for socklen_t'
php.h:114: previous declaration ofsocklen_t'
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:484: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:486: parse error before "bsize_t"
Error exit code 1
Stop.
Error exit code 1
Stop.
*** Error exit code 1
Stop.
Has anyone experienced the same error? It looks like same environment
variable definition differs...
Any help will be appreciated.
Thank you.