php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5486 compiling error
Submitted: 2000-07-09 20:05 UTC Modified: 2000-07-31 15:08 UTC
From: digitalsteph at aol dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: Linux 2.3.99pre6
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: digitalsteph at aol dot com
New email:
PHP Version: OS:

 

 [2000-07-09 20:05 UTC] digitalsteph at aol dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-31 15:08 UTC] sas@php.net
This is not a PHP issue. Please refer to the last entry on this page:

http://bugs.php.net/bugs-php3.php?id=4949
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC