ID: 8743 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Compile Failure Description: failure to compile when running make 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. Previous Comments: --------------------------------------------------------------------------- [2001-01-16 14:02:33] [EMAIL PROTECTED] This is not a PHP bug, your kernel headers are messed up (See www.php.net/FAQ.php#6.12 ) --------------------------------------------------------------------------- [2001-01-16 13:56:26] [EMAIL PROTECTED] Please post the error message, and the last 20 lines of your configure.log. --------------------------------------------------------------------------- [2001-01-16 13:56:05] [EMAIL PROTECTED] 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:54:04] [EMAIL PROTECTED] 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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8743 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]