kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: arunkr.linux@gmail.com (Arun M Kumar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: issue with compiling kernel module
Date: Sat, 11 Jan 2014 09:03:16 +0530	[thread overview]
Message-ID: <52D0BB7C.5050407@gmail.com> (raw)

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.

             reply	other threads:[~2014-01-11  3:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-11  3:33 Arun M Kumar [this message]
2014-01-17 10:07 ` issue with compiling kernel module Prabhakar Lad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52D0BB7C.5050407@gmail.com \
    --to=arunkr.linux@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).