LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-30-2009, 11:35 AM   #1
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126

Rep: Reputation: 17
Question Kernel header installation - advisable with every kernel upgrade?


Hi,
I wonder if it is advisable to always upgrade kernel headers while you are upgrading/installing the kernel itself?
Until now, I have never run "make headers_install" after I have upgraded the kernel manually and programs have compiled nicely anyway, but to maybe contradict that I discovered that there are accompanying kernel headers in the /testing/linux-2.6.30.5 directory (Slack 13.0), which I guess should be installed with that new kernel?
And also, should I always run "make headers_install" as a last step in kernel upgrading?
 
Old 08-30-2009, 12:00 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
No. You should *never* do that.
 
Old 08-30-2009, 12:59 PM   #3
Olaus
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by rworkman View Post
No. You should *never* do that.
With "that" I guess you mean "make headers_install"?
So running that after I compile a certain kernel (for example, 2.6.30.5) will not produce the same result as installing the kernel-header package for the same kernel?
Do the kernel headers in the 2.6.30.5 directory exist solely for the case that that kernel is the first you are installing (I really don't see how that could be accomplished during the installation process though), in order to have any headers at all to start with?
 
Old 08-30-2009, 01:20 PM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
I think you're supposed to use the kernel headers that your glibc was compiled with.
 
Old 08-30-2009, 11:21 PM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by piratesmack View Post
I think you're supposed to use the kernel headers that your glibc was compiled with.
Correct.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Header files needed for lilo (config.h no longer in kernel!) gvp87 Linux - Software 1 04-29-2008 02:32 PM
"invalid Elf header" after kernel upgrade Goo Slackware 7 10-09-2004 08:32 AM
lufs installation and kernel header saurya_s Linux - Software 0 02-06-2004 08:10 AM
Kernel header files needed for Nvidia driver installation natalinasmpf Linux - Hardware 10 12-08-2003 05:55 AM
GNU libc installation to setup cross compiler env - kernel header file TOO OLD !! tanch00 Linux - Software 1 02-06-2002 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration