#10340 [Com]: HAVE_SYS_RESOURCE_H not defined

From: Date: Tue, 20 Jul 2004 15:00:53 +0000
Subject: #10340 [Com]: HAVE_SYS_RESOURCE_H not defined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62790@lists.php.net to get a copy of this message
ID: 10340 Comment by: pussy-free76 at hotmail dot com Reported By: elkner at linofee dot org Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.3 i686 PHP Version: 4.0.4pl1 New Comment: <a href=http://outstanding-shavedb.da.ru>pussy free</a> Previous Comments: ------------------------------------------------------------------------ [2001-05-23 06:11:33] sniper@php.net http://www.php.net/FAQ.php#6.12 ------------------------------------------------------------------------ [2001-04-15 14:57:53] elkner at linofee dot org configure checks (6524, 25069) for rusage seem to be ok, but make chokes during compilation of ext/standard/microtime.c about unknown storage size uf usg (struct rusage) and undeclared RUSAGE_SELF. Also there are several warnings about redeclaration of RLIM_INFINITY... Quick and dirty fix for the compiler error: --- microtime.c Mon Jun 5 21:47:44 2000 +++ ../../../../php-4.0.4pl1/ext/standard/microtime.c Sun Apr 15 20:02:12 2001 @@ -38,6 +38,7 @@ #include <string.h> #include <stdio.h> #include <errno.h> +#include <sys/resource.h> #include "microtime.h" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10340&edit=1

« previous php.bugs (#62790) next »