LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-25-2004, 10:48 AM   #1
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Rep: Reputation: 15
What about Kernel headers?


Hello everybody!
I am using Slackware for 1 1/2 years and till now I have always been using the kernel binaries provided by the slackware site but since the 2.6 version came out I am very interested in testing it, so I decided to compile it myself.
With the binaries I need 3 packages, kernel-ide, kernel-modules, and kernel-headers.
As far as I know, compiling the kernel means to create the kernel file and the modules. I would like to ask what about the kernel-headers, how do I install it?
 
Old 01-25-2004, 04:00 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,874

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
The kernel source comes with its' own headers. You should unpack the source in your home directory and compile it there instead of placing it the /usr/src/linux tree.
The kernel headers package contains the headers that the binaries in the other packages are linked to. The kernel headers package is matched to the glibc libraries that were used to compile everything. Leave these in place for compiling other binaries.
Somewhere I have a link to a posting by Linus Torvalds discussing this matter, but, typically I don't find it at the moment.
 
Old 01-25-2004, 10:11 PM   #3
jdifool
LQ Newbie
 
Registered: Dec 2003
Location: Paris, France
Distribution: Slackware current
Posts: 19

Rep: Reputation: 1
http://seclists.org/linux-kernel/2000/Jul/4404.html

Here it is...

Apparently, there is nothing much to do with Slackware. Kernel headers provided with your earlier version of Slack should do the business. The thing is that you must have kernel headers that match the glibc. If not you'll probably get some errors.

I think compiling the kernel as the parent said, without upgrading the Kernel headers is the best way to do it.

I'm afraid that upgrading the Kernel headers will force you to upgrade your glibc too. You to see if your config is too old or not.
 
Old 02-07-2004, 12:21 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Hey, now it all starts to make more sense!! There is a small snipet of that posting by Linus in the Linux from scratch book(5.0), the oddball symlinks were the main topic in the book, but something else goes with this----------,

.....If I'm using Slack 9.0 and want to upgrade the default kernel(2.4.20) to the kernel version that Slack 9.1 uses(2.4.22) I just need to re-compile from source only and not goof around with the kernel (IDE, Headers, or Modules) packages, because upgrading the Headers will require the upgrade of Glibc from 2.3.1 to 2.3.2, and if you upgrade the Glibc libraries you will need to upgrade........the Modules package to match it all.......

LOL, once you get the ball rolling, .......the fun never stops........
but, I would'nt trade Slack for anything...........

Last edited by 320mb; 02-07-2004 at 12:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 12:20 PM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 07:29 PM
Kernel Headers for 2.6 devinWhalen Mandriva 7 04-23-2004 10:35 AM
kernel-headers warmongr Red Hat 6 03-19-2004 12:34 PM

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

All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration