Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 05-02-2005, 07:49 PM   #1
LQ Newbie
Registered: Oct 2002
Location: Australia
Distribution: Debian (how much I love apt-get install...)
Posts: 14

Rep: Reputation: 0
kernel headers?

Hi everyone,
I am building a lfs machine using instructions in the book version 6.0.
One thing that puzzles me is that you have two kinds of "kernel headers": one from the linux-libc-headers package (I used linux-libc-headers- and linux-libc-headers-, and another extracted from the linux kernel archive (I used linux-{asm-i386 | asm-generic | linux} folders).

What are the differences between these headers? Why is it necessary to use both sets? I have a look inside the folders and many file names (*.h) are the same.

Could someone with the knowledge give me some leads? I'd be very grateful.

Thanks a lot,
Old 05-03-2005, 02:52 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
The linux-libc headers are the ones that your glibc are built against. These should not be changed unless you want to rebuild glibc. The headers that come with the kernel source are used to build modules and the like, and as such, they must change to match your kernel.

PS: this isn't just with LFS, all distros are like this
Old 05-04-2005, 07:27 PM   #3
LQ Newbie
Registered: Oct 2002
Location: Australia
Distribution: Debian (how much I love apt-get install...)
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks bulliver


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 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
where can I get kernel-headers for 2.6.7? darkleaf Linux - Software 2 06-30-2004 04:13 PM
kernel-headers linuxham Linux - Software 4 11-24-2003 03:18 PM

All times are GMT -5. The time now is 10:49 PM.

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