LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-13-2013, 01: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, 04:17 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,683

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
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:

Code:
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.
 
  


Reply


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 12: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 08:45 AM
insmod: error inserting 'kernel.ko': -1 Invalid parameters rachilmeth Programming 4 01-16-2010 11:49 PM
Getting error in Hellow World Kernel: Error 13: Invalid or unsupported executable for piyush.kansal Programming 3 08-04-2007 01:26 AM
Invalid or Corrupted Kernel error on multiple distro cds significants Linux - Distributions 1 01-19-2007 02:24 AM


All times are GMT -5. The time now is 06:10 PM.

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