PHP 4.0 Bug #4534: Compile reentrancy.c failed
| From: | yale_yu at yahoo dot com | Date: | Mon, 22 May 2000 01:38:06 +0000 |
| Subject: | PHP 4.0 Bug #4534: Compile reentrancy.c failed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19106@lists.php.net to get a copy of this message | ||
From: yale_yu@yahoo.com
Operating system: HP-UX 10.20
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Compile Failure
Bug description: Compile reentrancy.c failed
libtiff v3.5.5 from www.libtiff.org didn't work with configure (which is mentioned in bug
#4463), after I downloaded and installed libtiff v3.4 from ftp.sgi.com, configure below passed:
./configure --with-apxs=/usr/local/apache/bin/apxs -with-pdflib=/usr/local
--with-zlib-dir=/usr/local --with-tiff-dir=/usr/local --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --disable-xml --with-mysql=no
but make quit with the following error:
/bin/sh /www/src/php-4.0RC2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/www/src/php-4.0RC2/ -I/www/src/php-4.0RC2 -I/usr/local/apache/include -I/
www/src/php-4.0RC2/Zend -I/www/src/php-4.0RC2 -I/usr/local/include -g -O2 -Wall -c
reentrancy.c
reentrancy.c: In function `php_localtime_r':
reentrancy.c:53: warning: implicit declaration of function `localtime_r'
reentrancy.c: In function `php_ctime_r':
reentrancy.c:60: warning: implicit declaration of function `ctime_r'
reentrancy.c: In function `php_asctime_r':
reentrancy.c:67: warning: implicit declaration of function `asctime_r'
reentrancy.c: In function `php_gmtime_r':
reentrancy.c:74: warning: implicit declaration of function `gmtime_r'
reentrancy.c: At top level:
reentrancy.c:84: redefinition of `php_localtime_r'
reentrancy.c:52: `php_localtime_r' previously defined here
reentrancy.c:105: redefinition of `php_ctime_r'
reentrancy.c:59: `php_ctime_r' previously defined here
reentrancy.c:123: redefinition of `php_asctime_r'
reentrancy.c:66: `php_asctime_r' previously defined here
reentrancy.c:141: redefinition of `php_gmtime_r'
reentrancy.c:73: `php_gmtime_r' previously defined here
make[1]: *** [reentrancy.lo] Error 1
make[1]: Leaving directory `/www/src/php-4.0RC2'
make: *** [all-recursive] Error 1
-------
Yale Yu