Bug #3479: compile failure with functions/microtime.o
| From: | pmthomps at remus dot rutgers dot edu | Date: | Mon, 14 Feb 2000 15:45:37 +0000 |
| Subject: | Bug #3479: compile failure with functions/microtime.o | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15519@lists.php.net to get a copy of this message | ||
From: pmthomps@remus.rutgers.edu
Operating system: Linux 2.3.40 (RedHat)
PHP version: 3.0.14
PHP Bug Type: Compile Failure
Bug description: compile failure with functions/microtime.o
gcc -g -O2 -O2 -I. -I. -I/usr/local/apache/src/include -I/usr/local/apache/src/os/unix
-c functions/microtime.c -o functions/microtime.o
functions/microtime.c: In function `php3_getrusage':
functions/microtime.c:121: storage size of `usg' isn't known
functions/microtime.c:124: `RUSAGE_SELF' undeclared (first use in this function)
functions/microtime.c:124: (Each undeclared identifier is reported only once
functions/microtime.c:124: for each function it appears in.)
functions/microtime.c:130: `RUSAGE_CHILDREN' undeclared (first use in this function)
make: *** [functions/microtime.o] Error 1
------------------------
./configure --with-apache=/usr/local/apache \
--enable-track-vars --with-imap
------------------------
I searched for similar bugs and found someone who had the same compile errors. It was recommended
that s/he install the libc headers. I have mine installed when compiling.