LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2004, 10:24 AM   #16
Slurmo
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0

I think there should be a new category made for this awful Intel.

Although some of the things I've found myself calling it over the last day or so might not go down too well in polite company...
 
Old 07-20-2004, 08:38 PM   #17
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
Quote:
Originally posted by iluvatar
I just need to reply to this... if you compiled your own kernel, you must not symlink those to the /usr/src/linux directory! Here is a quote from Linus Torvalds to the Linux kernel mailinglist:

I got this quote from the Linux From Scratch book.

greetz && success,
.-=~ iluvatar ~=-.
Thats interesting, I was reading a similar thread discussing this that I think you were involved in. It's weird all the documentation I read says do a link to kernel sources that is /usr/src/linux. What exactly is bad about this? Is this just a standards issue or what... I know nothing in my system is broken, but I guess theres still time for that to happen.
 
Old 07-20-2004, 10:16 PM   #18
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

Originally posted by iluvatar
I just need to reply to this... if you compiled your own kernel, you must not symlink those to the /usr/src/linux directory! Here is a quote from Linus Torvalds to the Linux kernel mailinglist:

I got this quote from the Linux From Scratch book.

greetz && success,
.-=~ iluvatar ~=-.

Somebody correct me if I'm wrong but I don't think this is relevant anymore. Various kernel header directories in /usr/include(linux, asm etc, mainly used when you compile glibc) used to be symlinks to the directories in /usr/src/linux/include. However this is not the case nowadays, that's exactly the reason why you have a separate glibc-kernelheaders package. Most drivers look for the headers in /usr/src/linux, which should link to your current running kernel, and doesn't have to be the one that glibc was compiled with.

Last edited by Demonbane; 07-21-2004 at 11:10 AM.
 
Old 07-21-2004, 03:18 AM   #19
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
@Demonbane: do you know why the LFS 5.1.1 still states that in the book? Of course I don't know everything and I always want to know where I'm wrong... but if it's not true anymore then I don't understand what this quote does in the LFS 5.1.1 book

greetz,
.-=~ iluvatar ~=-.
 
Old 07-21-2004, 04:16 AM   #20
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
ok I just had a read at LFS, on this page about kernel headers it suggests what I wrote in the previous post:
http://www.au.linuxfromscratch.org/l...elheaders.html
this is a quote from the page:
Quote:

Note, by the way, that it is perfectly all right to have the kernel sources in /usr/src/linux, as long as you don't have the /usr/include/{linux,asm} symlinks
 
Old 07-21-2004, 06:00 AM   #21
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
lol I missed that I guess... thnx!

greetz,
.-=~ iluvatar ~=-.
 
  


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
need kernel-source/headers Foress_89 Linux - Hardware 2 10-04-2005 07:22 AM
do i need kernel source or headers zuessh Debian 9 08-20-2005 03:12 PM
Kernel source headers symlink rose_bud4201 Linux - Software 3 06-27-2005 08:40 PM
have kernel source, want headers stabu Linux - Newbie 3 06-18-2005 05:17 PM
Kernel Source and Headers Seventh_Warrior Linux - Software 8 04-10-2004 03:59 AM


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