LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   linking kernel source? (https://www.linuxquestions.org/questions/linux-software-2/linking-kernel-source-129640/)

shanenin 12-28-2003 08:16 PM

linking kernel source?
 
I have the sybolic link /usr/src/linux . Is this used so when I compile programs that need the kernel source, they can easily find it? Does it make a difference if /usr/src/linux is linked to my 2.6 or my 2.4 kernel? If a program was compiled with the /usr/src/linux linked to my 2.6.0 kernel, can it cause problems if run with my 2.4 kernel?

trickykid 12-28-2003 08:23 PM

Not really, most programs might not be linking to it, only in some cases lib's and drivers. Usually during the compile, it will tell you if it looked for the kernel header files, etc.

shanenin 12-28-2003 08:42 PM

thank you:)


All times are GMT -5. The time now is 07:54 PM.