Dear Hermant...everyone.... > >CFLAGS = -g -D__KERNEL__ -DMODULE -I$(KERNEL_SOURCE)/include -O > > -Wall Are you sure it is $(KERNEL_SOURCE), not ${KERNEL_SOURCE} ? :) Anyway, IMHO the source of this problem is...somehow, redefining the CFLAGS parameter is "dangerous". IMHO This will override the critical CFLAGS needed by kbuild system itself. The problem is, what if we want to add additional gcc parameter such as "-g" or "-Wall" ? From what I read, you can use EXTRA_CFLAGS. I just learn it from section 3.7 "Compilation flags" on Documentation/kbuild/makefiles.txt. Hope it helps regards Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/