>Hi I am a newbie to kernel module programming me too <;-) >here is the makefile
>CFLAGS := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE} add '-c' to this line as you want an elf object file not an elf executable. >${TARGET}.o: ${TARGET}.c alternately change above to /* use (GCC) not {GCC} (better this way)*/ .o: $(GCC) ${CFLAGS} -c $^.c regards samveen man (n). life support system for a c**k _______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/