functions/microtime.c:152: storage size of `usg' isn't known

From: Date: Wed, 05 Jul 2000 00:41:48 +0000
Subject: functions/microtime.c:152: storage size of `usg' isn't known
Groups: php.general 
Request: Send a blank email to php-general+get-4840@lists.php.net to get a copy of this message
I am trying to compile PHP 3.0.16 as a loadable module for Apache 1.3.12 on Linux (SuSE 6.3). I am getting an error in the file microtime.c and have NO idea how to fix it, anyone have any thoughts? here is the exact error: gcc -g -O2 -O2 -I/usr/src/php-3.0.16 -I. -I/usr/src/apache_1.3.12/src/include -I/usr/src/apache_1.3.12/src/os/unix -I/data01/home/db2inst1/sqllib/include -I/usr/src/apache_1.3.12/src/lib/expat-lite -c functions/microtime.c -o functions/microtime.o functions/microtime.c: In function `php3_getrusage': functions/microtime.c:152: storage size of `usg' isn't known functions/microtime.c:155: `RUSAGE_SELF' undeclared (first use in this function) functions/microtime.c:155: (Each undeclared identifier is reported only once functions/microtime.c:155: for each function it appears in.) functions/microtime.c:161: `RUSAGE_CHILDREN' undeclared (first use in this function) make: *** [functions/microtime.o] Error 1 And here is the script I am using to configure php 3.0.16: #! /bin/sh ROOT_DIR=/usr/src APXS_EXE=/data01/$1/sbin/apxs PHP_INI_PATH=/data01/apache/conf echo "APXS_EXE = $APXS_EXE" echo "PHP_INI_PATH = $PHP_INI_PATH" if [ -x $APXS_EXE ] ; then $ROOT_DIR/php-3.0.16/configure \ --with-apxs=$APXS_EXE --enable-versioning \ --with-config-file-path=$PHP_INI_PATH \ --with-ftp \ --with-ttf \ --with-ibm-db2=/data01/home/db2inst1/sqllib \ --enable-track-vars \ --enable-magic-quotes fi

« previous php.general (#4840) next »