LinuxQuestions.org
Help answer threads with 0 replies.
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 10-26-2004, 01:38 PM   #1
r00k2oo4
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
"make oldconfig" not working


I just installed kernel 2.6.4-52 in suse 9.0 using Yast but when i try doing make oldconfig i get the following error:

linux:~ # cd /usr/src/linux
linux:/usr/src/linux # make oldconfig
-include /var/adm/running-kernel.make

The .config file is a merged configuration; please remove it by hand before creating your own. You can use one of the files arch/i386/defconfig.* as a template.

make[1]: *** [check-meta] Error 1
make: *** [oldconfig] Error 2.

can anyone tell me why this is happening or how to fix it please, any help would be appreciated
 
Old 10-26-2004, 01:51 PM   #2
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: "make oldconfig" not working

Quote:
Originally posted by r00k2oo4
I just installed kernel 2.6.4-52 in suse 9.0 using Yast but when i try doing make oldconfig i get the following error:

linux:~ # cd /usr/src/linux
linux:/usr/src/linux # make oldconfig
-include /var/adm/running-kernel.make

The .config file is a merged configuration; please remove it by hand before creating your own. You can use one of the files arch/i386/defconfig.* as a template.

make[1]: *** [check-meta] Error 1
make: *** [oldconfig] Error 2.

can anyone tell me why this is happening or how to fix it please, any help would be appreciated
You forgot to copy the old config file to the /usr/src/linux?
 
Old 10-26-2004, 02:28 PM   #3
r00k2oo4
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
where is the old config file located.
 
Old 10-26-2004, 02:43 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
In your old kernels source directory?

Some distro's also put them in /boot/

You could e.g. try a (from the current source dir)
cp /boot/config-<kernel-version-mumble> .config


If you get the same error the config file that came
with that kernel is rubbish (as the error message
suggested, and you want to start with a clean one).



Cheers,
Tink
 
  


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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
change kernel configurations when use "make oldconfig" Gijet Red Hat 4 10-09-2006 08:23 PM
BLFS6.0: GCC3.4.1: "make -k check" no working StevePhM Linux From Scratch 5 08-10-2005 10:35 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
executables and "make" command not working blahboybang Linux - General 5 12-24-2004 08:57 PM


All times are GMT -5. The time now is 04:38 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