Click to See Complete Forum and Search --> : PHP Build Error on HPUX 11.00


Anon
07-03-2002, 02:29 AM
Hello,

has anyone an idea? I've tried to build PHP on HPUX 11.00. Configure runs fine but make stops with the following error:

/bin/sh /tmp/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/tmp/php-4.2.1/main -I/tmp/php-4.2.1/main -I/tmp/php-4.2.1 -I/usr/local/apache2/include -I/tmp/php-4.2.1/Zend -I/tmp/php-4.2.1/ext/mysql/libmysql -I/tmp/php-4.2.1/ext/xml/expat -D_REENTRANT -I/tmp/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -DZTS -prefer-pic -c reentrancy.c
reentrancy.c: In function `php_ctime_r':
reentrancy.c:66: too many arguments to function `ctime_r'
reentrancy.c: In function `php_asctime_r':
reentrancy.c:73: too many arguments to function `asctime_r'
*** Error exit code 1


I use PHP 4.2.1 and Apache 2.0.39 and tried to compile with GCC 3.1