PHP 4.0 Bug #6485: `RUSAGE_CHILDREN' undeclared (first use in this function)
| From: | ken at auxmonkey dot com | Date: | Fri, 01 Sep 2000 16:00:02 +0000 |
| Subject: | PHP 4.0 Bug #6485: `RUSAGE_CHILDREN' undeclared (first use in this function) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31593@lists.php.net to get a copy of this message | ||
From: ken@auxmonkey.com
Operating system: Linux 2.2.16+AGP patach
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: `RUSAGE_CHILDREN' undeclared (first use in this function)
During compilation...
I do have PHP3 installed and working just great... I reinstalled the latest stable apache.
make[3]: Entering directory `/usr/src/webservices/php-4.0.2/ext/standard'
gcc -I. -I/usr/src/webservices/php-4.0.2/ext/standard -I/usr/src/webservices/php-4.0.2
-I/usr/src/webservices/php-4.0.2/main -I/usr/src/webservices/php-4.0.2/Zend
-I/usr/src/webservices/php-4.0.2 -I/usr/local//include/mysql
-I/usr/src/webservices/php-4.0.2/ext/xml/expat/xmltok
-I/usr/src/webservices/php-4.0.2/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: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)
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/usr/src/webservices/php-4.0.2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/webservices/php-4.0.2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/webservices/php-4.0.2/ext'
make: *** [all-recursive] Error 1
dragonfire:/usr/src/webservices/php-4.0.2#