[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Kernel headers problem



On Mon, 2002-12-02 at 07:30, Dale Satterfield wrote:

> One item that no seems to refer to in my posts that I would like 
> addressed, is that I used to be able to get a CD distributin from 
> Redhat, and the installed headers matched the installed kernel. 
>  Everything from the default install was at the same level. That no 
> longer seems to be the case. Is this not a rational expectation ?
> 

Before (several Red Hat releases ago. I don't recall the exact version
that this changed) /usr/include/linux and /usr/include/asm were symlinks
to the kernel source. When it was this way you were compiling every
program against whatever kernel source you happened to have installed.
This was incorrect. This is why the  glibc-kernheaders package was
added. These are the kernel headers that glibc is compiled against. Now
any program you compile uses these headers. However kernel modules must
be built against the kernel source. This is the reason for
/lib/modules/<kernel-version>/build symlink was added.

> I haven't tried remaking the mdoule yet as the makeile died. Do you have 
> any more suggestions of how to fix this? Thanks for the help.
> 

Oops, I forgot something. :-P

After you copy the kernel config: make oldconfig
Then you can do: make dep

Regards,
	Jim H 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]