FC3rc5 : how to regen 2.6.9-1.649 kernel tree from kernel-2.6.9-1.649.src.rpm

Charles R. Anderson cra at WPI.EDU
Fri Nov 5 16:06:09 UTC 2004


On Fri, Nov 05, 2004 at 09:50:49AM -0600, RON FLORY wrote:
>  4. placing the kernel tree in a non-standard location will cause
>     some apps to not compile, why isn't it moved to /usr/src/ ?

/usr/src isn't the correct/standard location for programs to be
compiling against, and hasn't been for years.  The correct location
is:

/lib/modules/`uname-r`/build/include

Note that user space programs should NEVER use kernel headers, either
in /usr/src or in /lib/modules.  Only kernel modules should ever need
to use /lib/modules.




More information about the fedora-test-list mailing list