LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-15-2005, 07:05 PM   #1
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Rep: Reputation: 15
Slackware 10.2 & 2.4.31 headers


I know that this has been asked before, but I guess the subject is still a little confusing to me, so here goes:

Noticed that 10.2 still retains the 2.4.31 headers, along with the default kernel of 2.4.31. I know that you can optionally install the 2.6.13 kernel if you prefer. The second cd has 2.6.13 headers as well as alsa components.

I plan on using my own 2.6.12.5 kernel that I am running now with 10.1 current. I always thought that the headers do not need to be changed, as these reflect the kernel used when Pat compiled glibc.

I prefer compiling my own kernel, with alsa as modules, Are the installed 2.4.31 headers fine with the 2.6 kernels, or do I need to match the headers to the kernel, and if not, why does Pat make the newer 2.6.x.x headers available along with the kernel.tgz and kernelsource.tgz?? Other than minor compiling work with kernels and some programs, I have no special needs that the 2.4.31 headers can't handle, but I wonder whether some small bit of system efficiency is being lost using these headers.

Shilo or any other knowledgeable Slacker??

Thanks,
Gary
 
Old 09-15-2005, 07:50 PM   #2
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
While not in the same league as Shilo, my understanding is that unless you have some special need the kernel headers that are installed with Slackware should be fine. Matter of fact if you install the *other* kernel headers, and you build packages for "the public", it could cause problems.

You might want to take a look at the kernel-headers.WARNING text file in the same directory with the kernel packages and then decide.

Later,
MMYoung
 
Old 09-17-2005, 09:26 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
You can use your kernel, and by all means don't mess with the original kernel headers. The header files should always match the library they're linked against. Pat's warning previously referred to should also be read with Linus Torvald's 5-year old warning.
 
  


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
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
QT Libraries & Headers inescapeableus Linux - Software 9 05-03-2005 01:14 AM
Autoresponders & CGI Forms & E-mail Headers Big Brad Linux - Newbie 0 05-25-2004 06:45 AM
glib & gtk headers Donald1000 Solaris / OpenSolaris 1 06-08-2003 12:19 PM
X libraries & headers for fluxbox GT I.N.C Linux - Software 66 11-06-2002 01:19 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration