PHP 4.0 Bug #8887: Something don't work in microtime.c
| From: | root at be-net dot eu dot org | Date: | Wed, 24 Jan 2001 16:32:42 +0000 |
| Subject: | PHP 4.0 Bug #8887: Something don't work in microtime.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44907@lists.php.net to get a copy of this message | ||
From: root@be-net.eu.org
Operating system: Linux 2.4.0 (idem on 2.2.18)
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: Something don't work in microtime.c
I tried with and without all the modules I can compile with it. In all cases, it don't want to
compile. I don't have this kind of problem with 4.0.3-pl1
System informations:
Linux slackware 7.0
Kernel 2.4.0
gcc 2.95.2
gcc -I. -I/usr/src/httpd/php-4.0.4pl1/ext/standard -I/usr/src/httpd/php-4.0.4pl1/main
-I/usr/src/httpd/php-4.0.4pl1 -I/usr/src/httpd/apache_1.3.14/src/include
-I/usr/src/httpd/apache_1.3.14/src/os/unix -I/usr/src/httpd/php-4.0.4pl1/Zend
-I/usr/src/httpd/php-4.0.4pl1/ext/mysql/libmysql -I/usr/src/httpd/php-4.0.4pl1/ext/xml/expat/xmltok
-I/usr/src/httpd/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/src/httpd/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 `/miscfiles/usr/src/httpd/php-4.0.4pl1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/miscfiles/usr/src/httpd/php-4.0.4pl1/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/miscfiles/usr/src/httpd/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1
root@sun:/usr/src/httpd/php-4.0.4pl1#
--
Edit Bug report at: http://bugs.php.net/?id=8887&edit=1