php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2840 microtime.c compile failure
Submitted: 1999-11-26 23:30 UTC Modified: 1999-11-29 22:07 UTC
From: jmroth at intelligent dot lu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: RedHat 6.0 Kernel 2.2.12 SMP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jmroth at intelligent dot lu
New email:
PHP Version: OS:

 

 [1999-11-26 23:30 UTC] jmroth at intelligent dot lu
Hi!
The installation worked before.
Now I need to re-compile and I'm getting this amongst other errors that I was able to resolve...



/APACHE/apache_1.3.9/src/os/unix                  -I/usr/include -I/usr/include/
mysql    -c functions/md5.c -o functions/md5.o
gcc -g -O2 -O2   -I. -I.   -I/usr/src/APACHE/apache_1.3.9/src/include -I/usr/src
/APACHE/apache_1.3.9/src/os/unix                  -I/usr/include -I/usr/include/
mysql    -c functions/microtime.c -o functions/microtime.o
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 funct
ion)
make: *** [functions/microtime.o] Error 1                                      


Any idea on how to fix it???
Please provide me with exact details on how to remedy the problem! Thanks!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-27 15:15 UTC] sas at cvs dot php dot net
Please edit the Makefile and remove all occurences of -I/usr/include

Keep us updated on whether it works.
 [1999-11-29 22:07 UTC] sas at cvs dot php dot net
If my earlier suggestion does not work, please submit a new report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 13:00:01 2026 UTC