View Single Post
Old 03-04-03, 05:43 PM   #1
CAMMS
Registered User
 
Join Date: Mar 2003
Posts: 2
Question Where to find Kernel Headers

Hello

I'm having a great deal of difficulty getting my NVidia drivers updated ever since upgrading my Linux RH kernel to 2.4.18-24.7.

As suggested by the NVchooser I downloaded:
NVIDIA_GLX-1.0-2960.i386.rpm
NVIDIA_kernel-1.0-2960.src.rpm

However when I try to compile the NVidia kernel module I get an error indicating that the NVdriver was compiled for a different kernel version.
/lib/modules/2.4.18-24.7.xsmp/kernel/drivers/video/NVdriver was compiled for kernel version 2.4.9 while this kernel is version 2.4.18-24.7.xsmp.

This makes sence since according to:
# rpm -qa | grep kernel
kernel-smp-2.4.18-24.7.x
kernel-2.4.2-2
kernel-headers-2.4.9-34

I've only got the headers for 2.4.9.

My Question is:

How and where to I get the kernel-headers for the kernel-smp-2.4.18-24.7.x. I've downloaded kernel-2.4.18-24.7.x.src.rpm and performed a rpm --rebuild on it and it doesn't provide me with the headers. The only RPMs that it provides are:

kernel-2.4.18-24.7.x.i386.rpm
kernel-BOOT-2.4.18-24.7.x.i386.rpm
kernel-doc-2.4.18-24.7.x.i386.rpm
kernel-source-2.4.18-24.7.x.i386.rpm

I'm fresh out of ideas. I wish I'd never "Upgraded my kernel!"

Any help would be very gratefully appreciated.

Thanks

Christophe
CAMMS is offline   Reply With Quote