hi, 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. e.g.: In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:30, from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117, from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11, from /usr/include/g++-2/stl_algobase.h:49, from /usr/include/g++-2/list:30, from process_halos.cc:3: /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
Yes, 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 that's all Pierre Thonne Brussels Belgium
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 2.2.14.12 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
hi, 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 errno.h... is there going to be a fixed kernel any time soon? thanks, h.
This was fixed later but the bug was not closed Closing it now