Skip to contentSkip to conversation

How to compile a single module in linux kernel tree (2.6 kernel)

DISCUSSION karthik 1 participant 1 message Apr 9, 2005

lore
Share & tools
lore

karthik

author
#0 lore raw

Hi ,

Is it possible to compile a single module in the kernel souce and
load it. if then the how to do it.

Actually i tried to compile the mga driver in the kernel by giving
the command
make mga
but it didnt compiled showing many errors like
undefined reference to__this_module
undefined rreference to printk
etc

so please tell me how to comiple a single module or driver in 2.6
kernel.

Karthik