Bug #12013: RUSAGE_SELF not declared
| From: | zenturio at pool dot math dot tu-berlin dot de | Date: | Tue, 10 Jul 2001 14:57:32 +0000 |
| Subject: | Bug #12013: RUSAGE_SELF not declared | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59554@lists.php.net to get a copy of this message | ||
From: zenturio@pool.math.tu-berlin.de
Operating system: Linux 2.4.3
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: RUSAGE_SELF not declared
libtool --silent --mode=compile gcc -I.
-I/home/zenturio/compile/php-4.0.6/ext/standard
-I/home/zenturio/compile/php-4.0.6/main -I/home/zenturio/compile/php-4.0.6
-I/usr/include/apache -I/home/zenturio/compile/php-4.0.6/Zend
-I/usr/local/include -I/usr/include/mysql
-I/home/zenturio/compile/php-4.0.6/ext/xml/expat/xmltok
-I/home/zenturio/compile/php-4.0.6/ext/xml/expat/xmlparse
-I/home/zenturio/compile/php-4.0.6/TSRM -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
microtime.c
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
Where should RUSAGE_SELF be definded?
How can I fix this problem
Regards
Peter Hoffmann
--
Edit bug report at: http://bugs.php.net/?id=12013&edit=1