写了hello .c 和Makefile
报错如下 大家帮忙看一下
make -C /work/linux-2.6.32.2/ M=/root/program/driver modules
make[1]: Entering directory `/work/linux-2.6.32.2'
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [include/config/auto.conf] 错误 1
make[1]: Leaving directory `/work/linux-2.6.32.2'
make: *** [modules] 错误 2
先谢大家了 现在无从入手!!
网上有人说按提示先 make oldconfig
make: *** 没有规则可以创建目标“oldconfig”。