PHP 4.0 Bug #4182 Updated: rusage struture size unknown in microtime.c
| From: | Bug Database | Date: | Sun, 14 May 2000 13:34:18 +0000 |
| Subject: | PHP 4.0 Bug #4182 Updated: rusage struture size unknown in microtime.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18718@lists.php.net to get a copy of this message | ||
ID: 4182
User Update by: mailing-steve@uuuu.org
Old-Status: Closed
Status: Open
Bug Type: Compile Failure
Description: rusage struture size unknown in microtime.c
I still get the same problem with RC2.
Here's what I get :
/bin/sh /home/install/php-4.0RC2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/install/php-4.0RC2/ext/standard -I/home/install/php-4.0RC2 -I/usr/include/apache
-I/home/install/php-4.0RC2/Zend -I/home/install/php-4.0RC2
-I/home/install/php-4.0RC2/ext/mysql/libmysql -I/home/install/php-4.0RC2/ext/xml/expat/xmltok
-I/home/install/php-4.0RC2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -Wall -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)
microtime.c:110: warning: implicit declaration of function `getrusage'
microtime.c:97: warning: unused variable `usg'
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/home/install/php-4.0RC2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/install/php-4.0RC2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/install/php-4.0RC2/ext'
make: *** [all-recursive] Error 1
Full Bug description available at: http://bugs.php.net/?id=4182