LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-22-2005, 10:51 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
kernel-headers and custom compiled kernels


I'm a bit confused. Do I need the kernel-headers pkg that comes with slackware installed even if I have a custom compiled kernel. Do I need to do any extra commands when compiling kernel to get a matching kernel and kernel-headers?
 
Old 11-22-2005, 11:20 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you only need the standard ( 2.4.x) header pkg that comes with Slackware.
if you upgrade that pkg, you ( might ) have prob's when compiling programs,
because glibc is compiled with those 2.4.x headers.

when you get the sources for a newer kernel ( 2.6.x ) , it comes with it's own headers,
which are only used to compile the kernel.

egag
 
Old 11-22-2005, 11:21 AM   #3
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
The kernel-headers package that ships with most distros is only for compiling third party drivers or applications that need access to the kernel internals. If you have a custom kernel that you downloaded and compiled from source, then you have the headers needed to build drivers for that kernel. Most source builds that use these will usually look in /lib/modules/`uname -r`/source, which should be a link to the source tree for that kernel, although there are some packages that look in /usr/src/linux (which should be another link to your source tree).
 
  


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
Just compiled a custom kernel no sound. Royle Debian 5 01-23-2005 05:10 AM
Custom kernel vulnerabilities verus Slack pre-compiled tank728 Slackware 1 09-04-2004 01:22 PM
Updating a custom-compiled kernel mooreted Linux - Software 2 03-01-2004 09:55 AM
Compiled Custom Kernel booting problem _flaab_ Mandriva 3 11-13-2003 06:34 AM
Red Hat Update Agent for kernel updates and custom kernels SparceMatrix Linux - General 5 09-03-2002 04:58 PM


All times are GMT -5. The time now is 04:43 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