Re: kernel source code for 2.6.15-1.2054_FC5smp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bizhan Gholikhamseh (bgholikh) wrote:
Hi All,
Sorry if this is a stupid question, I am trying to compile a kernel module on a x86 system running Linux 2.6.15-1.2054_FC5smp. In order to compile the code I need to access to the build source tree

No, you don't need that.  A small subset of the source
is enough for module compiling.

which should reside in the following directory
/lib/modules/2.6.15-1.2054_FC5smp
In my system currently this directory is a link list to the following directory:
../../../usr/src/kernels/2.6.15-1.2054_FC5-smp-i686
Which is an empty directory.

Install the kernel-devel RPM matching your kernel version,
and you'll get all the header files and other bits and
pieces necessary to compile kernel modules.

--
"You don't have to be crazy to do this... but it helps." -- Bob Ross

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux