I got almost the same error when I was making the Lucent/Agere modem driver (winmodem):
mateus@AMD64:~/Linux/agrsmUb$ sudo make module make -C /lib/modules/2.6.24-16-generic/build SUBDIRS= modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic' CHK include/linux/version.h CHK include/linux/utsrelease.h make[2]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'. Stop. make[1]: *** [prepare0] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic' make: *** [module] Error 2
I think it is a bug
I got almost the same error when I was making the Lucent/Agere modem driver (winmodem):
mateus@ AMD64:~ /Linux/ agrsmUb$ sudo make module 2.6.24- 16-generic/ build SUBDIRS= modules linux-headers- 2.6.24- 16-generic' linux/version. h linux/utsreleas e.h kernel/ asm-offsets. c', needed by `arch/x86/ kernel/ asm-offsets. s'. Stop. linux-headers- 2.6.24- 16-generic'
make -C /lib/modules/
make[1]: Entering directory `/usr/src/
CHK include/
CHK include/
make[2]: *** No rule to make target `arch/x86/
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/
make: *** [module] Error 2
I think it is a bug