> 
> So sprach >Borsenkow Andrej< am 2002-01-09 um 12:21:12 +0300 :
> > because kernel-headers RPM is not meant for kernel stuff. Please,
check
> 
> Well, but what is it meant for?  I don't understand why it's okay that
> there is an old kernel-headers package which does not match the
version
> of the currently installed kernel.
> 
> > cooker archive where it was explained. Read
/usr/src/linux/modversions.h
> 
> [askwar@teich askwar]$ less /usr/include/linux/modversions.h
> /usr/include/linux/modversions.h: No such file or directory

Sorry.

[root@cooker root]# rpm -q --file /usr/include/linux/modversion.h 
kernel-headers-2.4.16-18mdk
[root@cooker root]# less /usr/include/linux/modversion.h
#error "======================================================="
#error "You should not include /usr/include/{linux,asm}/ header"
#error "files directly for the compilation of kernel modules."
#error ""
#error "glibc now uses kernel header files from a well-defined"
#error "working kernel version (as recommended by Linus Torvalds)"
#error "These files are glibc internal and may not match the"
#error "currently running kernel. They should only be"
#error "included via other system header files - user space"
#error "programs should not directly include <linux/*.h> or"
#error "<asm/*.h> as well."
...

-andrej

Reply via email to