Updating kernel headers /usr/include/linux
Hi.
Is it necessary to upgrade the kernel headers (/usr/include/linux) when going from the 2.4 kernel to the 2.6? Silly me tried to remove the kernel-header-2.4 package (figured it was safe since I'm using 2.6.17.13), and, you guessed it, I couldn't compile the kernel/modules anymore. I reinstalled the package and everything is fine, but I just can't remember ever having to manually upgrade the headers from my past experience (ok, I've been away a couple years -- maybe things changed, or I just forgot). If I have to upgrade what is the best way to go about it? Thanks, Mike |
No, you don't have to replace the headers when upgrading your kernel from 2.4 to 2.6.
In fact, this is a bad idea since all your system libs and programs are originally built with those headers. Changing headers won't make most of that stuff stop working but it will make compiling new programs fail in some very interesting ways. I've done this before I knew better. It sounds like you re-installed the headers just fine. I say leave them be. |
it is recommended to keep the kernel headers
of the kernel glibc was compiled against... which would be 2.4.33.3 if you are up to date |
Thank you very much, both of you. I'll leave 'em alone. :)
Thanks, Mike |
On the 2nd install CD, you'll find this file: extra/linux-2.6.17.13/kernel-headers.WARNING
Quote:
|
All times are GMT -5. The time now is 06:10 AM. |