On Sat, Mar 01, 2003 at 05:10:09AM -0800, Jose Luis Alarcon wrote: | KERNELDIR = /usr/src/linux | CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O | module_hello.o: module_hello.c | and when i do 'insmod module_hello.o' i get: | Error inserting 'module_hello.o': -1 Invalid module format | ¿Where is the error?. I use module-init-tools 0.9.10. You forgot -c in the CFLAGS :) -- Chirag Kantharia, symonds.net/~chyrag/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/