php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5326 Compile problem: undeclared identifier
Submitted: 2000-07-02 03:39 UTC Modified: 2000-07-31 15:52 UTC
From: ralf at kuerbis dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: SuSE Linux 6.3
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: ralf at kuerbis dot org
New email:
PHP Version: OS:

 

 [2000-07-02 03:39 UTC] ralf at kuerbis dot org
I tried to compile the 4.0.1pl2 (and later the CVS), but compiling ends with an error:

/bin/sh /usr/local/src/comapache/new/php-4.0.1pl2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/comapache/new/php-4.0.1pl2/ext/standard -I/usr/local/src/comapache/new/php-4.0.1pl2 -I/usr/local/src/comapache/new/php-4.0.1pl2/main -I/opt/pdp/apache/include -I/usr/local/src/comapache/new/php-4.0.1pl2/Zend -I/usr/local/src/comapache/new/php-4.0.1pl2 -I/usr/local/include -I/opt/pdp/mysql/include/mysql -I/usr/local/src/comapache/new/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/local/src/comapache/new/php-4.0.1pl2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c microtime.c
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 `/usr/local/src/comapache/new/php-4.0.1pl2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/comapache/new/php-4.0.1pl2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/comapache/new/php-4.0.1pl2/ext'
make: *** [all-recursive] Error 1

My configure parameters are:
 ./configure --with-apxs=/opt/pdp/apache/bin/apxs --with-gd=/usr/local --with-mysql=/opt/pdp/mysql --with-zlib --enable-sysvshm=yes --enable-sysvsem=yes --enable-versioning --disable-debug --with-ftp

System: SuSE 6.3 / Intel x86

With 4.0.1 without pl2 everything works well. 

Best Regards,
   Ralf


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 20:21 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP from CVS.
 [2000-07-31 15:52 UTC] rasmus@php.net
Kernel header file mismatch problem - solved by installing kernel properly.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 10:00:01 2026 UTC