LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "make oldconfig" not working (https://www.linuxquestions.org/questions/linux-newbie-8/make-oldconfig-not-working-247535/)

r00k2oo4 10-26-2004 12:38 PM

"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

WhiteChedda 10-26-2004 12:51 PM

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?

r00k2oo4 10-26-2004 01:28 PM

where is the old config file located.

Tinkster 10-26-2004 01:43 PM

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


All times are GMT -5. The time now is 07:49 PM.