Bug #60342 [Com]: reentrancy.c error: too few arguments to function
| From: | nam dot nh at nd24 dot net | Date: | Sun, 20 Nov 2011 07:35:31 +0000 |
| Subject: | Bug #60342 [Com]: reentrancy.c error: too few arguments to function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165376@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60342&edit=1
ID: 60342
Comment by: nam dot nh at nd24 dot net
Reported by: nam dot nh at nd24 dot net
Summary: reentrancy.c error: too few arguments to function
Status: Open
Type: Bug
Package: Compile Failure
Operating System: OpenIndiana 151a
PHP Version: 5.3SVN-2011-11-19 (snap)
Block user comment: N
Private report: N
New Comment:
PHP 5.4 snap doesn't affect, runs smoothly.
Previous Comments:
------------------------------------------------------------------------
[2011-11-20 00:59:28] nam dot nh at nd24 dot net
Description:
------------
reentrancy.c error: too few arguments to function 'ctime_r' and 'asctime_r'
This error affected on both PHP 5.3.8 stable version and PHP 5.3 snapshot version.
Test script:
---------------
# ./configure --prefix=/usr/php --enable-fastcgi --enable-fmp --with-mcrypt --with-zlib
--enable-mbstring --disable-pdo --with-curl-disable-debug --enable-pic disable-rpatch
--enable-inline-optimization --with-bz2 --with-xml --enable-sockets --enable-mbregex --with-mhash
--enable-xslt --enable-memcache --enable-zip --with-pcre
Expected result:
----------------
successful
Actual result:
--------------
# make
...
/bin/sh /tmp/php5.3-201111191730/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/
-I/tmp/php5.3-201111191730/main/ -DPHP_ATOM_INC -I/tmp/php5.3-201111191730/include
-I/tmp/php5.3-201111191730/main -I/tmp/php5.3-201111191730 -I/tmp/php5.3-201111191730/ext/date/lib
-I/tmp/php5.3-201111191730/ext/ereg/regex -I/usr/include/libxml2
-I/tmp/php5.3-201111191730/ext/mbstring/oniguruma -I/tmp/php5.3-201111191730/ext/mbstring/libmbfl
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl/mbfl -I/tmp/php5.3-201111191730/TSRM
-I/tmp/php5.3-201111191730/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/tmp/php5.3-201111191730/main/strlcat.c -o main/strlcat.lo
/bin/sh /tmp/php5.3-201111191730/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/
-I/tmp/php5.3-201111191730/main/ -DPHP_ATOM_INC -I/tmp/php5.3-201111191730/include
-I/tmp/php5.3-201111191730/main -I/tmp/php5.3-201111191730 -I/tmp/php5.3-201111191730/ext/date/lib
-I/tmp/php5.3-201111191730/ext/ereg/regex -I/usr/include/libxml2
-I/tmp/php5.3-201111191730/ext/mbstring/oniguruma -I/tmp/php5.3-201111191730/ext/mbstring/libmbfl
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl/mbfl -I/tmp/php5.3-201111191730/TSRM
-I/tmp/php5.3-201111191730/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/tmp/php5.3-201111191730/main/mergesort.c -o main/mergesort.lo
/bin/sh /tmp/php5.3-201111191730/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/
-I/tmp/php5.3-201111191730/main/ -DPHP_ATOM_INC -I/tmp/php5.3-201111191730/include
-I/tmp/php5.3-201111191730/main -I/tmp/php5.3-201111191730 -I/tmp/php5.3-201111191730/ext/date/lib
-I/tmp/php5.3-201111191730/ext/ereg/regex -I/usr/include/libxml2
-I/tmp/php5.3-201111191730/ext/mbstring/oniguruma -I/tmp/php5.3-201111191730/ext/mbstring/libmbfl
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl/mbfl -I/tmp/php5.3-201111191730/TSRM
-I/tmp/php5.3-201111191730/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/tmp/php5.3-201111191730/main/reentrancy.c -o main/reentrancy.lo
/tmp/php5.3-201111191730/main/reentrancy.c: In function 'php_ctime_r':
/tmp/php5.3-201111191730/main/reentrancy.c:63:2: error: too few arguments to function
'ctime_r'
/usr/include/time.h:320:14: note: declared here
/tmp/php5.3-201111191730/main/reentrancy.c: In function 'php_asctime_r':
/tmp/php5.3-201111191730/main/reentrancy.c:70:2: error: too few arguments to function
'asctime_r'
/usr/include/time.h:319:14: note: declared here
*** Error code 1
make: Fatal error: Command failed for target `main/reentrancy.lo'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60342&edit=1