php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3406 Compile failure with apxs
Submitted: 2000-02-04 12:55 UTC Modified: 2000-08-05 05:30 UTC
From: rayers at amsales dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.14 OS: Slackware 7.0 Linux 2.2.12
Private report: No CVE-ID: None
 [2000-02-04 12:55 UTC] rayers at amsales dot net
I get:

functions/microtime.c: In function `php3_getrusage':
functions/microtime.c:122: storage size of `usg' isn't known
functions/microtime.c:125: `RUSAGE_SELF' undeclared (first use in this function)
functions/microtime.c:125: (Each undeclared identifier is reported only once
functions/microtime.c:125: for each function it appears in.)
functions/microtime.c:131: `RUSAGE_CHILDREN' undeclared (first use in this function)
make: *** [functions/microtime.o] Error 1

I found this error on this bugs list before, but nothing worked.  I check the makefile, and there are no /usr/include's to remove except the /usr/include/mysql.  I also have the kernel header files installed ... which was another fix I saw.

Ryan
rayers@amsales.net

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-06 06:35 UTC] sas at cvs dot php dot net
Does /usr/include/sys/resource.h exist? If no, install the libc header files
 [2000-08-05 05:30 UTC] hholzgra@php.net
no feedback
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jul 02 07:00:02 2026 UTC