php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8219 microtime.c: In function `php_if_getrusage':
Submitted: 2000-12-12 21:59 UTC Modified: 2000-12-13 00:14 UTC
From: hablos at it-college dot dk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: slak 7
Private report: No CVE-ID: None
 [2000-12-12 21:59 UTC] hablos at it-college dot dk
here is the start of the last fil eis compiles, or tries to:
gcc  -I. -I/tmp/php-4.0.3pl1/ext/standard -I/tmp/php-4.0.3pl1 -I/tmp/php-4.0.3pl1/main -I/tmp/apache_1.3.11/src/include -I/tmp/apache_1.3.11/src/os/unix -I/tmp/php-4.0.3pl1/Zend -I/tmp/php-4.0.3pl1 -I/tmp/php-4.0.3pl1/ext/xml/expat/xmltok -I/tmp/php-4.0.3pl1/ext/xml/expat/xmlparse -I/tmp/php-4.0.3pl1/TSRM  -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 `/tmp/php-4.0.3pl1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.0.3pl1/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1

I provoked this from './configure --with-pgsql --without-mysql --with-pdflib --with-apache=/tmp/apache_1.3.1
1 --enable-shared --enable-track-vars --enable-trans-sid'
if this is not a bug, I am very sorry for have wasted your time

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-13 00:14 UTC] rasmus@php.net
Check the FAQ at www.php.net/FAQ.phpbvg
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 22:00:02 2026 UTC