php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5740 Fails to compile
Submitted: 2000-07-23 00:50 UTC Modified: 2000-07-24 03:51 UTC
From: Slynet at Pandora dot be Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: Slackware 7.0
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: Slynet at Pandora dot be
New email:
PHP Version: OS:

 

 [2000-07-23 00:50 UTC] Slynet at Pandora dot be
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)
microtime.c:110: warning: implicit declaration of function `getrusage'
microtime.c:97: warning: unused variable `usg'

-----
This for all 4.0.x i tested ...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 03:51 UTC] rasmus@php.net
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.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 16:00:02 2026 UTC