I am running linux 2.6.10. I created my makefile according to the example given on kernelnewbies side: KSRC=/lib/modules/2.6.10/build obj-m = sillymod.o build: make -C $(KSRC) SUBDIRS=`pwd` modules install: @#make -C $(KSRC) SUBDIRS=`pwd` modules_install @echo "Install it yourself ..." clean: @#make -C $(KSRC) SUBDIRS=`pwd` clean rm -f *.o *.ko *.mod.o *.mod.c .*.{cmd,flags} rm -rf config.status config.log autom4te*.cache A. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/