On 9/25/06, Bizhan Gholikhamseh (bgholikh) <bgholikh@xxxxxxxxx> 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 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.
That´s because you did not install your kernel sources.
Do you know where I should go to get the source tree in order to compiler my kernel module?
You main obtain the source from your rpm repository.
Many thanks in advance, BG
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/