php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4191 Compile fails due to unknown storage size
Submitted: 2000-04-20 00:09 UTC Modified: 2000-05-13 06:28 UTC
From: blovett at stars dot sandi dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS (19/04/2000) OS: Redhat Linux 6.1
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: blovett at stars dot sandi dot net
New email:
PHP Version: OS:

 

 [2000-04-20 00:09 UTC] blovett at stars dot sandi dot net
Running Redhat Linux 6.1 with the original version of gcc on here.  Trying to compile php3 version 3.0.17-dev with apache version 1.3.12...  Here's the message I get when the compile fails:

gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.12/src/include -I../apache_1.3.12/src/os/unix                  -I/usr/local/include -I/usr/local/mysql/include/mysql    -c functions/microtime.c -o functions/microtime.o
functions/microtime.c: In function `php3_getrusage':
functions/microtime.c:152: storage size of `usg' isn't known
functions/microtime.c:155: `RUSAGE_SELF' undeclared (first use in this function)
functions/microtime.c:155: (Each undeclared identifier is reported only once
functions/microtime.c:155: for each function it appears in.)
functions/microtime.c:161: `RUSAGE_CHILDREN' undeclared (first use in this function)
make: *** [functions/microtime.o] Error 1

Here is what I am running for my configure statement:
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.12 --enable-track-vars

Hope this helps figure out whats up with the compile.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-21 13:13 UTC] joey at cvs dot php dot net
Try latest CVS or a snapshot from snaps.php.net. Pretty sure this has been fixed
 [2000-04-21 13:13 UTC] joey at cvs dot php dot net
Try latest CVS or a snapshot from snaps.php.net. Pretty sure this has been fixed
 [2000-04-24 17:08 UTC] joey at cvs dot php dot net
Reopening due to a note from Rasmus, although this disappeared on my machine by using latest CVS??
 [2000-05-13 06:28 UTC] sas at cvs dot php dot net
We have implemented a workaround for this. Please upgrade to PHP 4.0 RC2.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 24 07:00:01 2026 UTC