From:             phdokc at yahoo dot com
Operating system: HPUX 11.11
PHP version:      4.3.8
PHP Bug Type:     Compile Failure
Bug description:  Failure to compile 4.3.8

Description:
------------
Failure of PHP 4.3.8 to compile on HPUX.  Using HPUX 11.11, GCC 3.3.3,
Apache 2.0.50 (from pre-compiled HPUX Web Server Suite 2.08).  Compile
flags are as follows;  configure --prefix=/opt/hpws/apache/php
--enable-snmp --enable-sockets --enable-pcntl --enable-sigchild
--with-snmp --with-snmp-dir=/usr/local/include/ucd-snmp --with-gd
--with-gd-dir=/usr/local/include --with-mysql --with-my
sql-dir=/usr/local/mysql/include --with-jpeg
--with-jpeg-dir=/usr/local/include --with-zlib
--with-zlib-dir=/usr/local/include --wit
h-apxs2=/opt/hpws/apache/bin/apxs --with-png
--with-png-dir=/usr/local/include


Reproduce code:
---------------
/bin/sh /backup/php/php-4.3.8/libtool --silent --preserve-dup-deps
--mode=compile /backup/php/php-4.3.8/meta_ccld  -Imain/
-I/backup/php/php-4.3.8/main/ -DPHP_ATOM_INC
-I/backup/php/php-4.3.8/include -I/backup/php/php-4.3.8/main
-I/backup/php/php-4.3.8 -I/backup/php/php-4.3.8/Zend -I/usr/local/include
-I/backup/php/php-4.3.8/ext/xml/expat  -D_REENTRANT
-I/backup/php/php-4.3.8/TSRM -DTHREAD=1  -g -O2 -pthread -DZTS 
-prefer-pic -c /backup/php/php-4.3.8/main/reentrancy.c -o
main/reentrancy.lo 

Expected result:
----------------
Completion of make

Actual result:
--------------
/backup/php/php-4.3.8/main/reentrancy.c: In function `php_ctime_r':
/backup/php/php-4.3.8/main/reentrancy.c:71: error: too many arguments to
function `ctime_r'
/backup/php/php-4.3.8/main/reentrancy.c: In function `php_asctime_r':
/backup/php/php-4.3.8/main/reentrancy.c:78: error: too many arguments to
function `asctime_r'
gmake: *** [main/reentrancy.lo] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=30025&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30025&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30025&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30025&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30025&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30025&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30025&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30025&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30025&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30025&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30025&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30025&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30025&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30025&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30025&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30025&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30025&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30025&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30025&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30025&r=mysqlcfg

Reply via email to