PHP 4.0 Bug #5486: compiling error

From: Date: Mon, 10 Jul 2000 00:05:16 +0000
Subject: PHP 4.0 Bug #5486: compiling error
Groups: php.dev 
Request: Send a blank email to php-dev+get-23889@lists.php.net to get a copy of this message
From: digitalsteph@aol.com Operating system: Linux 2.3.99pre6 PHP version: 4.0.1pl2 PHP Bug Type: Compile Failure Bug description: compiling error Hello. I have downloaded the PHP 4.0.1pl2 source code and I have tryed to compile it. But I get an error in with the RUSAGE_CHILDREN function. Here the message that I got: make[3]: Entering directory `/usr/src/php-4.0.1pl2/ext/standard' gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0.1pl2/ext/standard -I/usr/src/php-4.0.1pl2 -I/usr/src/php-4.0.1pl2/main -I/usr/src/php-4.0.1pl2/Zend -I/usr/src/php-4.0.1pl2 -I/usr/src/php-4.0.1pl2/ext/mysql/libmysql -I/usr/src/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/src/php-4.0.1pl2/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/php-4.0.1pl2/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/php-4.0.1pl2/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.0.1pl2/ext' make: *** [all-recursive] Error 1 home:/usr/src/php-4.0.1pl2 # home:/usr/src/php-4.0.1pl2 # What can I do? Stephan Ferraro

« previous php.dev (#23889) next »