PHP 4.0 Bug #4517: Compile failure at reentrancy.c

From: Date: Fri, 19 May 2000 11:49:28 +0000
Subject: PHP 4.0 Bug #4517: Compile failure at reentrancy.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-18948@lists.php.net to get a copy of this message
From: kannan_narayanan@hotmail.com Operating system: HP-UX10.20 PHP version: 4.0 Release Candidate 2 PHP Bug Type: Compile Failure Bug description: Compile failure at reentrancy.c Compile fails on HP-UX10.20 The following is the error message: 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 gmake[1]: *** [reentrancy.lo] Error 1 gmake[1]: Leaving directory `/home/rzzx59/downloads/php-4.0RC2' gmake: *** [all-recursive] Error 1 I looked at php_reentrancy.h for the definitions and they are as follows #define HAVE_LOCALTIME 1 #define HAVE_GMTIME 1 #define HAVE_ASCTIME 1 #define HAVE_CTIME 1 #ifdef PHP_HPUX_TIME_R #undef HAVE_LOCALTIME_R #undef HAVE_ASCTIME_R #undef HAVE_CTIME_R #undef HAVE_GMTIME_R #endif

« previous php.dev (#18948) next »