Click to See Complete Forum and Search --> : Help, can't recompile kernel.


lad24mx
12-15-2000, 12:27 AM
I've been rtying to recompile my kernel without much success.
Everytime I type and enter something like make xconfig, make menuconfig or make config. I'm greeted with the following message: make: *** No rule to make target 'xconfig'. Stop.


What does that mean? What's wrong and how do I fix it?

I run SuSE 7 and yes I do cd to /usr/src/linux before typing either of the command mentioned above and yes I have tried compiling from within X as well as without running X.

Thanks all

Frymaster
12-15-2000, 01:18 AM
if you're recompliling the kernel that came with yer distro, it may not actually be there! Check and make sure that you actually have everything there and not just some docs and headers... when in doubt, head to ftp.kernel.org and get a fresh version...

five40i
12-15-2000, 01:26 AM
You need to have the kernel source,utils, headers and docs installed, along with ncurses before you can compile the kernel. they all should be on the install CD, take a look.....

Good luck.....

lad24mx
12-15-2000, 08:55 PM
Originally posted by Frymaster:
if you're recompliling the kernel that came with yer distro, it may not actually be there! Check and make sure that you actually have everything there and not just some docs and headers... when in doubt, head to ftp.kernel.org and get a fresh version...


What do you mean make sure it's there?
What should be looking for?

Thanks again.

PLBlaze
12-15-2000, 09:16 PM
You need to have the kernel source in /usr/src , cd to /usr/src and do ls -al ...you should see either linux or linux-X.X.XX (where X is a kernel # eg. 2.2.18) or maybe both.If /usr/src has no directories then go to www.kernel.org (http://www.kernel.org) and get the latest stable kernel (2.2.18).And while youre at it read the kernel_compilation NHF.Hope this helps.