Hi,
I'm trying to compile PHP 4.3.4 on an HP/UX 11.0 box.
It fails with:
[creyn003@dcays006:~/src/WWW/php-4.3.4] $ make
gcc -Iext/ctype/ -I/staff/cyp/creyn003/src/WWW/php-4.3.4/ext/ctype/ -DPHP_ATOM_INC -I/staff/cyp/creyn003/src/WWW/php-4.3.4/include -I/staff/cyp/creyn003/src/WWW/php-4.3.4/main -I/staff/cyp/creyn003/src/WWW/php-4.3.4 -I/staff/cyp/creyn003/src/WWW/php-4.3.4/Zend -I/staff/cyp/creyn003/src/WWW/php-4.3.4/ext/xml/expat -I/staff/cyp/creyn003/src/WWW/php-4.3.4/TSRM -g -O2 -c /staff/cyp/creyn003/src/WWW/php-4.3.4/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo
In file included from /staff/cyp/creyn003/src/WWW/php-4.3.4/main/php.h:34,
from /staff/cyp/creyn003/src/WWW/php-4.3.4/ext/ctype/ctype.c:23:
/staff/cyp/creyn003/src/WWW/php-4.3.4/Zend/zend.h:311: argument format specified for non-function error_function'
/staff/cyp/creyn003/src/WWW/php-4.3.4/Zend/zend.h:312: argument format specified for non-functionprintf_function'
/staff/cyp/creyn003/src/WWW/php-4.3.4/Zend/zend.h:444: argument format specified for non-function zend_printf'
/staff/cyp/creyn003/src/WWW/php-4.3.4/Zend/zend.h:451: argument format specified for non-functionzend_error_cb'
*** Error exit code 1
Stop.
I'm using gcc 3.0.1. HPs make and GNU make return the same output. The OS is a full installation, and is fully patched up to September 2003.
Can someone please make some suggestions so I can move forward from here. I didn't have any problems compiling this with Solaris.