Howto: Build Linux Kernel Module Against Installed Kernel w/o Full Kernel Source Tree

Posted on in Categories CentOS, Debian Linux, FAQ, File system, GNU/Open source, Howto, kernel, Linux, Linux distribution, Open source coding, RedHat/Fedora Linux, Tips, Ubuntu Linux last updated November 4, 2008

Recently I received a question via email:

How do I build Linux kernel module against installed or running Linux kernel? Do I need to install new kernel source tree from kernel.org?