I have written a simple makefile for a simple module , I am getting the following error
make -C /lib/modules/2.6.15-28-amd64-xeon/build M= modules
make: Entering directory `/usr/src/linux-headers-2.6.15-28-amd64-xeon'
make: *** No rule to make target `arch/x86_64/kernel/../../i386/kernel/cpuid.o', needed by `arch/x86_64/kernel/msr.o'. Stop.make: *** [arch/x86_64/kernel] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.15-28-amd64-xeon'
make: *** [all] Error 2
Any help would be appreciated .......
Thanks in advance.
I have solved the problem .
How did you solve it?
I have the same problem.
Just check the spelling mistake in your source file or Makefile.
Because I had the same problem , I corrected it , it worked.