RedHat 7.0 uses kernel version 2.2.16-22. This is the response from a uname -r command. However, the version.h file in /usr/include/linux has
version 2.4.0-0.26. The version.h file in /usr/src/linux-2.2.16/include/linux shows the 2.2.16-22 version. Other include files in /usr/include/linux
do not match the same include files in /usr/src/linux-2.2.16/include/linux. The Linux kernel version should be 2.2.16-22 not 2.4.0-0.26.
crap, I should have searched the previous bug reports before submitting this
But if 'make mrproper' is the "proper" way to build the kernel from the
kernel-source package, you might want to modify the kernel-2.2.spec spec file to
not include the include/modules directory.
Although in looking at that spec file, I really can't see how to do that, sorry.
forget that last comment, I added that to the wrong bug. Sorry.
The headers in /usr/include are glibc headers, not kernel headers.
The kernel headers are in /usr/src/linux/include. These happened to be the
same in the past but for compatibility reasons, are not now.
This bug is a dupe btw..