Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-13-2013, 02:41 PM   #1
disha patel
LQ Newbie
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Unhappy error: kernel configuration is invalid.

I m trying to install nistnet bt in make comand i found error: kernel configuration is invalid.
include/linux/autoconf.h file missing...
how can i solve this error???
i tried make oldconfig && make prepare command....
Old 03-13-2013, 05:17 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,844

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
I THINK you misread the directions. (I suspect your "make prepare" was actually "make mrproper", The "mrproper" target is a "delete all configurations, temporary files, and intermediate files, leave source code as a totally clean installation of source").

If you have a installation and a pre-existing configuration file, then the following can be used:

make menuconfig        - this will verify your configuration file, remove options that
                         have been deleted, AND query any new options that were not defined
                         (I suggest taking the default offered on these - it is very rare that
                         any have to be answered other than the default).
make                   - this will build the kernel
sudo make modules_install install
                       --- this does the of installing driver modules, AND installs the kernel,
                          creates the initrd (with drivers)
This information is in the "README" in the root of the source code.

side note: (and this is documented somewhere, not sure where though) The term "mrproper" is European and is a play on the "Mr Clean" US based cleaning and sanitizing kitchen detergent product used for cleaning floors, counter tops, sinks... The "Mr Clean" usage was restricted in Europe (already used for something else). It is used the same way a "make clean" is used.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded kernel to 3.2.2-1, Error "Kernel configuration is invalid" CalvinZA Fedora 3 01-30-2012 01:11 AM
[SOLVED] Trying to install Fedora 13 VM on CentOS 5.5 with xen: Invalid kernel error ncsuapex Linux - Virtualization and Cloud 5 09-16-2010 09:45 AM
insmod: error inserting 'kernel.ko': -1 Invalid parameters rachilmeth Programming 4 01-17-2010 12:49 AM
Getting error in Hellow World Kernel: Error 13: Invalid or unsupported executable for piyush.kansal Programming 3 08-04-2007 02:26 AM
Invalid or Corrupted Kernel error on multiple distro cds significants Linux - Distributions 1 01-19-2007 03:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration