Bug #2840: microtime.c compile failure

From: Date: Fri, 26 Nov 1999 22:30:12 +0000
Subject: Bug #2840: microtime.c compile failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-13160@lists.php.net to get a copy of this message
From: jmroth@intelligent.lu Operating system: RedHat 6.0 Kernel 2.2.12 SMP PHP version: 3.0.12 PHP Bug Type: Compile Failure Bug description: microtime.c compile failure Hi! The installation worked before. Now I need to re-compile and I'm getting this amongst other errors that I was able to resolve... /APACHE/apache_1.3.9/src/os/unix -I/usr/include -I/usr/include/ mysql -c functions/md5.c -o functions/md5.o gcc -g -O2 -O2 -I. -I. -I/usr/src/APACHE/apache_1.3.9/src/include -I/usr/src /APACHE/apache_1.3.9/src/os/unix -I/usr/include -I/usr/include/ mysql -c functions/microtime.c -o functions/microtime.o functions/microtime.c: In function `php3_getrusage': functions/microtime.c:122: storage size of `usg' isn't known functions/microtime.c:125: `RUSAGE_SELF' undeclared (first use in this function) functions/microtime.c:125: (Each undeclared identifier is reported only once functions/microtime.c:125: for each function it appears in.) functions/microtime.c:131: `RUSAGE_CHILDREN' undeclared (first use in this funct ion) make: *** [functions/microtime.o] Error 1 Any idea on how to fix it??? Please provide me with exact details on how to remedy the problem! Thanks!

« previous php.dev (#13160) next »