PHP 4.0 Bug #4792: compile fails on microtime code

From: Date: Sat, 03 Jun 2000 04:51:24 +0000
Subject: PHP 4.0 Bug #4792: compile fails on microtime code
Groups: php.dev 
Request: Send a blank email to php-dev+get-20113@lists.php.net to get a copy of this message
From: joe@nowalls.com Operating system: Linux Mandrake 7.0 PHP version: 4.0.0 Release PHP Bug Type: Compile Failure Bug description: compile fails on microtime code when building php4, compile fails with: gcc -DHAVE_CONFIG_H -I. -I/home/nermal/php-4.0.0/ext/standard -I/home/nermal/php-4.0.0 -I/home/nermal/apache_1.3.12/src/include -I/home/nermal/apache_1.3.12/src/os/unix -I/home/nermal/php-4.0.0/Zend -I/home/nermal/php-4.0.0 -I/home/nermal/php-4.0.0/ext/mysql/libmysql -I/home/nermal/php-4.0.0/ext/xml/expat/xmltok -I/home/nermal/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c microtime.c && touch microtime.lo 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 `/home/nermal/php-4.0.0/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nermal/php-4.0.0/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nermal/php-4.0.0/ext' make: *** [all-recursive] Error 1 [root@borg php-4.0.0]# i've looked over the code, all looks good ( I am a C programmer, just cuttin teeth in linux programming after years of DOS / Win) I am using kernel 2.3.99-pre9 on a P3-600Mhz / 384 Mb ram. If you need any more info, email me please.

« previous php.dev (#20113) next »