ID: 12240 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Any Operating System: Slackware 7.0 PHP Version: 4.0.6 New Comment: This is a FAQ - http://www.php.net/FAQ.php#6.12 Basically you probably upgraded a Linux 2.2 box to the 2.4 kernel, right? And you screwed up your header files. Previous Comments: ------------------------------------------------------------------------ [2001-07-18 18:41:01] [EMAIL PROTECTED] The problem: _________________ microtime.c: In function `php_if_getrusage': microtime.c:99: storage size of `usg' isn't known microtime.c:102: `RUSAGE_SELF' undeclared (first use in this function) microtime.c:102: (Each undeclared identifier is reported only once microtime.c:102: for each function it appears in.) microtime.c:108: `RUSAGE_CHILDREN' undeclared (first use in this function) make[3]: *** [microtime.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext' make: *** [all-recursive] Error 1 ___________________________________ A part from the ./configure output: ___________________________________ [root@jiv][01:39am] /usr/local/src/php-4.0.6 # ./configure --with-mysql=/usr/local/ --with-apxs=/var/lib/apache/sbin/apxs | grep time checking for sys/time.h... yes checking for utime.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for asctime_r... yes checking for ctime_r... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for localtime_r... yes checking for setitimer... yes checking for strftime... yes checking for utime... yes checking whether utime accepts a null argument... yes checking for declared timezone... yes checking for type of reentrant time-related functions... POSIX configure: warning: You will need bison 1.28 if you want to regenerate the Zend parser (found 1.27). ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12240&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]