On Tue, 2006-02-21 at 11:35 +0900, Gowri Satish Adimulam wrote: > gcc -c -O2 -DMODULE -D__KERNEL__ -W -Wall -Wstrict-prototypes > -Wmissing-prototypes -isystem /lib/modules/'uname -r'/build/include > -c > -o hello-1.o hello-1.c you didn't use the Makefile from the example I showed, and as a result your gcc options are incorrect. Also it's not pointing correctly at the right include path, there is an -I missing (but that's not all that's missing, a lot more is missing with the result that even if it would compile your module will not function) With 2.6 kernels you HAVE to use a makefile like the example in the URL I gave you. Not doing that is going to get you oopsing and crashing modules at best. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/