php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6485 `RUSAGE_CHILDREN' undeclared (first use in this function)
Submitted: 2000-09-01 12:00 UTC Modified: 2000-09-01 13:09 UTC
From: ken at auxmonkey dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: Linux 2.2.16+AGP patach
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ken at auxmonkey dot com
New email:
PHP Version: OS:

 

 [2000-09-01 12:00 UTC] ken at auxmonkey dot com
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# 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-01 12:08 UTC] mrobinso@php.net
Please see bug report #5740.

Quoting:

"You probably upgraded your Linux kernel to 2.4.0, right?
If so, you have to upgrade to at least glibc-2.1.3 and
make sure your /usr/include symlinks point at your 2.4 kernel source tree.  This is not a PHP bug."



 [2000-09-01 13:09 UTC] rasmus@php.net
This is also a FAQ:
http://www.php.net/FAQ.php#6.12
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 22:01:31 2024 UTC