LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Making sure the correct kernel headers are used (https://www.linuxquestions.org/questions/fedora-35/making-sure-the-correct-kernel-headers-are-used-582525/)

djgerbavore 09-05-2007 08:55 PM

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

MS3FGX 09-05-2007 11:15 PM

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.

djgerbavore 09-06-2007 08:52 AM

Thanks, that is exactly what I was looking for. Good answer

djgerbavor3


All times are GMT -5. The time now is 08:09 AM.