Hi.. I give you my 2.4 makefile... I need to create a common makefile to use in 2.4 + 2.6 kernels... Can u plz help me? Assume that the module is compatible with both (2.4+2.6) kernels... In the makefile u can see my comments... These are my previous attempts.. # This makefile is created by me :P # WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes INCLUDE := -isystem /lib/modules/`uname -r`/build/include #INCLUDE := -isystem /usr/src/linux-`uname -r`/ #CFLAGS := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE} CFLAGS := -O2 ${WARN} ${INCLUDE} .PHONY: clean first: first.o gcc -c ${CFLAGS} first.c __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/