[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling a specific module without compiling whole of the kernel
how do i compile a specific module without compiling
the whole of the kernel
i tried it by making the make file
obj-m :=scsi_debug.o
and using the command
make -C /usr/src/linux-2.6.12/
M='/usr/src/linux-2.6.12/drivers/scsi/' modules
all being according to the pwd
the module got compiled but while inserting it gave
the error
insmod: error inserting 'scsi_debug.ko': -1 Invalid
module format
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/