Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


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

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.


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

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

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



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 08:10 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