I am trying to make my kernel space program (I am using suse linux 11.0)
Here is my Makefile
obj -m:= new.o
default:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=pwd
modules
I am getting following Error
make[1]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/x86_64/default' make[1]: *** No rule to make target
modules’. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default’
make: *** [default] Error 2
please help me out.
I am trying to make my kernel space program (I am using suse linux 11.0)
Here is my Makefile
obj -m:= new.o
default:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=pwd
modules
I am getting following Error
make[1]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/x86_64/default' make[1]: *** No rule to make target
modules’. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default’
make: *** [default] Error 2
please help me out.