Red Hat Bugzilla – Bug 13741
kernel header files miss some simlinks
Last modified: 2008-05-01 11:37:56 EDT
it seems that there are some simlinks missing from the kernel header files
for kernel 2.2.16-3. code which would compile before with kernel 2.2.14,
does not compile any longer.
In file included from /usr/include/bits/posix1_lim.h:126,
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
I have the same problem but it's simple to fix it :
Just create in /usr/include two symbolic links :
asm -> /src/linux/include/asm
linux -> /src/linux/include/linux
If you don't know how to create the links, just with mc (midnight commander) :
- open the kernel-headers rpm file (versin 2.2.14) with enter on the file
- open the cpio file witj enter
- just copy the include directory in your /usr directory
This is the same as #13291 and another (#135.., on Sparc), title
/usr/include/asm. As I note in #13291, a fix is to rpm -ivh --force the
18.104.22.168 headers back in, but the links are still to the older headers. I found
that just making the /usr/include/asm and /usr/include/linux symlinks to the
/usr/src/ directories for 2.2.16-3 didn't solve all the problems.
What worries me most is that this hasn't been attended to yet!!
The number was #13517 - there are further helpful comments there
i tried adding the links by hand and it still does not work?!? could it be
related to the fact that i have a smp machine where the smp kernel is 2.2.16-3
whereas the "backup-no-smp-kernel" is 2.2.14-12? it complains now about
is there going to be a fixed kernel any time soon?
This was fixed later but the bug was not closed
Closing it now