PHP 4.0 Bug #4806: storage size of rusage isn't known
| From: | wm at bart dot nl | Date: | Sun, 04 Jun 2000 15:33:39 +0000 |
| Subject: | PHP 4.0 Bug #4806: storage size of rusage isn't known | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20187@lists.php.net to get a copy of this message | ||
From: wm@bart.nl
Operating system: Linux (RedHat6.1 + kernel 2.4.0-test1
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: storage size of rusage isn't known
Same problem as bug-id #4182 but this is version 4.0.0:
gcc -DHAVE_CONFIG_H -I. -I/home/wilfredm/src/php-4.0.0/ext/standard -I/home/wilfredm/src/php-4.0.0
-I/home/wilfredm/src/apache_1.3.9/src/include -I/home/wilfredm/src/apache_1.3.9/src/os/unix
-I/home/wilfredm/src/php-4.0.0/Zend -I/home/wilfredm/src/php-4.0.0 -I/usr/include/freetype
-I/home/wilfredm/src/php-4.0.0/ext/mysql/libmysql
-I/home/wilfredm/src/php-4.0.0/ext/xml/expat/xmltok
-I/home/wilfredm/src/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -Wall -c
microtime.c && touch microtime.lo
microtime.c: In function `php_if_getrusage':
microtime.c:97: storage size of `usg' isn't known
microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function)
microtime.c:100: (Each undeclared identifier is reported only once
microtime.c:100: for each function it appears in.)
microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this function)
microtime.c:110: warning: implicit declaration of function `getrusage'
microtime.c:97: warning: unused variable `usg'
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/home/wilfredm/src/php-4.0.0/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wilfredm/src/php-4.0.0/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wilfredm/src/php-4.0.0/ext'
make: *** [all-recursive] Error 1
$
2.4 include file problem?