PHP 4.0 Bug #5981: failure on compile
| From: | alexk at icnt dot net | Date: | Sat, 05 Aug 2000 02:27:19 +0000 |
| Subject: | PHP 4.0 Bug #5981: failure on compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27789@lists.php.net to get a copy of this message | ||
From: alexk@icnt.net
Operating system: Linux RH6.1 glibc-2.1.3
PHP version: 4.0 Latest CVS (05/08/2000)
PHP Bug Type: Compile Failure
Bug description: failure on compile
While compiling PHP-4.0.1 for apache:
./configure --with-mysql=/opt/db/mysql/mysql --with-xml --with-apache=/usr/src/apache_2.0_alpha5
--enable-track-vars
It generates an error on compile:
os/unix -I/usr/src/apache_2.0_alpha5/src/lib/apr/include -I/usr/src/php-4.0.1pl2/Zend
-I/usr/src/php-4.0.1pl2 -I/opt/db/mysql/mysql/include -I/usr/src/php-4.0.1pl2/ext/xml/expat/xmltok
-I/usr/src/php-4.0.1pl2/ext/xml/expat/xmlparse -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 `/usr/src/php-4.0.1pl2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.1pl2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.1pl2/ext'
make: *** [all-recursive] Error 1