LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-05-2007, 09:55 PM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 443

Rep: Reputation: 30
Making sure the correct kernel headers are used


I currently working with a Fedora Core 7 machine. I recently compiled and installed a new 2.6.23-rc5 vanilla kernel. My question is how to tell Fedora to use the kernel source when compiling packages that _need_ to use them.

Thanks,

djgerbavor3
 
Old 09-06-2007, 12:15 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
There should be a symbolic link inside of the /lib/modules/kernel directory that points back to the location of the kernel source code.

When you compile software while running that kernel, it will use this link to automatically build against the proper source tree.
 
Old 09-06-2007, 09:52 AM   #3
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 443

Original Poster
Rep: Reputation: 30
Thanks, that is exactly what I was looking for. Good answer

djgerbavor3
 
  


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
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 01:15 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
Making Correct Partition ciyan Linux - Newbie 5 02-21-2005 07:45 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 07:29 PM
KDE headers are not correct? kuratkull Linux - Software 0 07-03-2004 06:29 PM


All times are GMT -5. The time now is 06:27 PM.

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