From mboxrd@z Thu Jan 1 00:00:00 1970 From: arunkr.linux@gmail.com (Arun M Kumar) Date: Sat, 11 Jan 2014 09:03:16 +0530 Subject: issue with compiling kernel module Message-ID: <52D0BB7C.5050407@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org I am facing the following error message when i try to compile my kernel module. it is a simple hello world module make: Entering directory `/usr/src/linux-3.4.6-2.10' ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. make: *** No rule to make target `Device'. Stop. make: Leaving directory `/usr/src/linux-3.4.6-2.10' I have tried the said option, of make oldconfig and prepare... I even recompiled the source using defconfig and am using that kernel, but still i get this error. Please help.