Click to See Complete Forum and Search --> : no config - no kernel


cbfunky
07-10-2001, 04:09 PM
Hi,

I would like to compile my kernel and the only ways I know are

make config
make xconfig or
make menuconfig

However, when I enter one of these (let's say make xconfig) at the shell, I get
"make: *** No rule to make target 'xconfig'. Stop."

My distribution is SuSE 7.0, my kernel is 2.2.16

thanks,
cbfunky

godot
07-10-2001, 04:13 PM
you're in /usr/src/linux ?

cbfunky
07-10-2001, 04:16 PM
yes...

bdg1983
07-10-2001, 05:19 PM
The kernel sources and any other necessary files are installed?

What steps did you do prior to make xconfig?

cbfunky
07-10-2001, 06:20 PM
yes, I just checked the "All packages" listing and except for two 3D grafics card drivers (which I don't need) everything is installed.

I didn't do anything prior to make xconfig except to change my working directory to /usr/src/linux.

godot
07-10-2001, 06:23 PM
try make menuconfig

cbfunky
07-11-2001, 12:05 PM
I tried all of the above; NONE of them worked.

bdg1983
07-11-2001, 05:34 PM
These are the steps that I follow...

copy linux-2.4.6.tar.gz to /usr/src

cd /usr/src

rm linux

tar xvzf linux-2.4.6.tar.gz

mv linux linux-2.4.6

ln -s linux-2.4.6 linux

cd linux

make mrproper

make menuconfig or make xconfig or make config

make dep

make clean

make bzImage

make modules

mv /lib/modules/2.2.14 /lib/modules/2.2.14.old ????? whatever the old version is

make modules_install

depmod -a

Then the copying of bzImage and others plus the setup of the bootloader for the new kernel.