php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8743 failure to compile when running make
Submitted: 2001-01-16 13:54 UTC Modified: 2001-01-16 14:31 UTC
From: marcus at xcalibre dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux echo 2.4.0 #2 Mon Jan 15 2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 + 45 = ?
Subscribe to this entry?

 
 [2001-01-16 13:54 UTC] marcus at xcalibre dot co dot uk
make

 ./configure  --with-apache=../apache_1.3.12 --enable-versioning --with-mysql=/usr/local/ --enable-track-vars --enable-ftp  --with-mm=../mm-1.1.3

php.ini is default

This is the first time compiling php on 2.4.0 but has been fine before the upgrade.

Distro is slackware 7.0.0 
GNU Make version 3.77
gcc egcs-2.91.66

Please e-mail me if this is kernel related as these new secrutiy bug's found in early versions may affect or systems.

Thanks
Mark Harburn.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-16 13:56 UTC] marcus at xcalibre dot co dot uk
gcc  -I. -I/home/root/newapache/php-4.0.4pl1/ext/standard -I/home/root/newapache/php-4.0.4pl1/main -I/home/root/newapache/php-4.0.4pl1 -I/home/root/newapache/apache_1.3.12/src/include -I/home/root/newapache/apache_1.3.12/src/os/unix -I/home/root/newapache/php-4.0.4pl1/Zend -I/usr/local//include/mysql -I/usr/local/include -I/home/root/newapache/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/root/newapache/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/root/newapache/php-4.0.4pl1/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 `/home/root/newapache/php-4.0.4pl1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/root/newapache/php-4.0.4pl1/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/newapache/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

the make log, appologies for not including.
 [2001-01-16 13:56 UTC] derick@php.net
Please post the error message, and the last 20 lines of your configure.log.
 [2001-01-16 14:02 UTC] derick@php.net
This is not a PHP bug, your kernel headers are messed up (See www.php.net/FAQ.php#6.12 )
 [2001-01-16 14:26 UTC] marcus at xcalibre dot co dot uk
gcc  -I. -I/home/root/newapache/php-4.0.4pl1/ext/standard -I/home/root/newapache/php-4.0.4pl1/main -I/home/root/newapache/php-4.0.4pl1 -I/home/root/newapache/apache_1.3.12/src/include -I/home/root/newapache/apache_1.3.12/src/os/unix -I/home/root/newapache/php-4.0.4pl1/Zend -I/usr/local//include/mysql -I/usr/local/include -I/home/root/newapache/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/root/newapache/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/root/newapache/php-4.0.4pl1/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 `/home/root/newapache/php-4.0.4pl1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/root/newapache/php-4.0.4pl1/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/newapache/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

the make log, appologies for not including.
 [2001-01-16 14:31 UTC] derick@php.net
As I said, this is not PHP's fault, check http://www.php.net/FAQ.php#6.12
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC