Linux users: Problems with recent dev kernels
| From: | Sascha Schumann | Date: | Tue, 13 Jun 2000 06:53:22 +0000 |
| Subject: | Linux users: Problems with recent dev kernels | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21182@lists.php.net to get a copy of this message | ||
On Mon, 12 Jun 2000, Stig Venaas wrote:
> 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.
We need to collect more information about this issue.
If you have access to a system where this is 100%
reproduceable, please follow this short procedure and post
the results to the list (everyone, not only Stig).
1. Put the following line into conftest.c:
#include <sys/resource.h>
2. Run the following command:
grep -1 "for sys/resource.h" config.log|tail -n1
3. It will output a line containing gcc. Execute the command
starting at gcc.
4. If conftest.out contains any error messages, post the
error messages, the command you ran under 3. and your
configure line, as well as your glibc version, the kernel
version you are currently running and the version of the
kernel header files.
- Sascha