Thread: RH9 Headers
View Single Post
Old 06-01-03, 08:39 PM   #2
Registered User
Join Date: Sep 2002
Posts: 2,262
Default Re: RH9 Headers

Originally posted by js530
I have the recent sorce for the kernel installed.
Well, it doesn't think so.

The installer looks in /lib/modules/$(uname -r)/build/include, then in /usr/src/linux/include, then in /usr/include (and this last path is the WRONG one to use -- it's for userspace programs, not kernel modules, but for some reason the driver uses it anyway). None of those directories have the right files in them, on your system.

What does rpm -qa | grep source tell you?

Note also that you need to have sources that match the version of your running kernel. You can't pull down the sources for 2.4.20 from and use them with RedHat's kernel, you'd have to compile 2.4.20 yourself and then reboot into it to be able to use those sources.
Registered Linux User #219692
bwkaz is offline   Reply With Quote