Quote:
Originally Posted by jailbait
You may need a symbolic link. When Fedora 8 installs the header files or kernel source /usr/src/kernels they are usually installed with the version number included in the name. That way you can have more than one version's source installed at the same time. The compile typically looks for a header file or source file with a general name so you need a symbolic link from the general name to the release specific name. For example if you have linux source installed as /usr/src/kernels/linux-2.6.23.1-42.fc8 then you need a symbolic link like:
ln -s /usr/src/kernels/linux-2.6.23.1-42.fc8 /usr/src/linux
so that the compiler can find the correct version of the linux source. I am not sure that I have the symbolic link described correctly for Fedora but it will be similar to what I posted.
---------------------------
Steve Stites
|
True but do not for get a lot of this is dont through /lib/module/uname -r/build
or /lib/modules/uname -r/source
I found on a couple distros even if the source was there the symbolic link to the source was not there. build is linked to headers or source and source is linked to source {uname -r.]
mine is /lib/modules/2.6.22.7/build
and also /lib/modules/2.6.22.7/ source
I always make sure both links are the for some scripts are one way only.
the header file you may be missing is from another program that is also need to fulfill the dependences.