Re: PHP 4.0 Bug #4182 Updated: rusage struture size unknown in microtime.c
| From: | Stig Venaas | Date: | Mon, 12 Jun 2000 18:55:41 +0000 |
| Subject: | Re: PHP 4.0 Bug #4182 Updated: rusage struture size unknown in microtime.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21148@lists.php.net to get a copy of this message | ||
On Mon, Jun 12, 2000 at 04:25:03PM -0000, Bug Database wrote:
> ID: 4182
> Updated by: rasmus
> Reported By: mailing-steve@uuuu.org
> Status: Open
> Bug Type: Compile Failure
> Assigned To:
> Comments:
>
> It looks to me like this happens when your header files do not match your installed kernel.
> ie. the /usr/include/linux and /usr/include/asm symlinks point to a /usr/src/linux
> tree that isn't the same as the kernel you are running.
>
> Full Bug description available at:
> http://bugs.php.net/version4/?id=4182
Does it matter which kernel is running? To me it seems the glibc's
/usr/include/bits/resource.h is conflicting with recent kernels that
define RLIM_INFINITY in asm/resource.h. I haven't bothered to check many
kernels, but this was not present in 2.2-kernels it seems. I solved it by
changing my bits/resource.h slightly.
What should be done? This isn't really our problem. But even if the
kernel and glibc people sort this out, a lot of people will have this
problem for some time.
Stig