Re: PHP 4.0 Bug #4806: storage size of rusage isn't known

From: Date: Tue, 06 Jun 2000 20:29:36 +0000
Subject: Re: PHP 4.0 Bug #4806: storage size of rusage isn't known
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20377@lists.php.net to get a copy of this message
On Sun, 04 Jun 2000, Sascha Schumann wrote: > On 4 Jun 2000 wm@bart.nl wrote: > > > From: wm@bart.nl > > Operating system: Linux (RedHat6.1 + kernel 2.4.0-test1 > > PHP version: 4.0.0 Release > > PHP Bug Type: Compile Failure > > Bug description: storage size of rusage isn't known > > > > Same problem as bug-id #4182 but this is version 4.0.0: > > > > gcc -DHAVE_CONFIG_H -I. -I/home/wilfredm/src/php-4.0.0/ext/standard > > -I/home/wilfredm/src/php-4.0.0 -I/home/wilfredm/src/apache_1.3.9/src/include > > -I/home/wilfredm/src/apache_1.3.9/src/os/unix -I/home/wilfredm/src/php-4.0.0/Zend > > -I/home/wilfredm/src/php-4.0.0 -I/usr/include/freetype > > -I/home/wilfredm/src/php-4.0.0/ext/mysql/libmysql > > -I/home/wilfredm/src/php-4.0.0/ext/xml/expat/xmltok > > -I/home/wilfredm/src/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -Wall -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) > > 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/wilfredm/src/php-4.0.0/ext/standard' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/home/wilfredm/src/php-4.0.0/ext/standard' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/wilfredm/src/php-4.0.0/ext' > > make: *** [all-recursive] Error 1 > > $ > > > > 2.4 include file problem? > > Make sure you configured your Linux kernel. > > PHP 4.0 compiles here cleanly with Linux 2.4.0-test1, glibc > 2.1.3 and gcc 2.95.2. > > Does the file debug.log exist in the build directory of PHP? > > - Sascha Hi, What exactly do you mean by 'configuring the kernel', I compiled it and it was running at the time I tried to compile php4. I'll get back with the debug.log and gcc version this friday since I currently can't access the system. Wilfred.

« previous php.dev (#20377) next »