trouble configuring kernel

I am trying to configure a new kernel to compile.  When I run 'make config' or 'make xconfig' I get the error

no rule to make target 'config'. Stop.

What would cause this error?  I am using Mandrake dist of Linux version 7.0.  

I am in the /usr/src/linux directory when issuing this command.
LVL 1
maharustyAsked:
Who is Participating?
 
ReinierConnect With a Mentor Commented:
Do you actually have the kernel sources installed? Is there a file "Makefile" in that directory?
0
 
maharustyAuthor Commented:
No there was not a Makefile in the directory.  I downloaded the latest kernel source and it worked well.  Thanks.  I am not sure why Mandrake did not put that stuff in the directory but I got it working now.  The only thing is to get the new kernel working now.  But I guess that is just trial and error eh??
0
 
ReinierCommented:
Not just trial and error. It helps if you have a correct list describing your peripherals, including brand, chipsets, etc. It also helps to know which modules your present kernel uses to access your hardware. The rest is trial and error. Call it learning.
0
 
maharustyAuthor Commented:
I had succesfully put together one kernel and rebooted to it.  It worked but there was no sound support or support for supermounter (what ever that is).  I put together another kernel with sound support and the load dies.  Like you said it is learning.  I know that I have the right sound card but I must have done something wrong.  Oh well I will have to learn some more I guess.  At least I do not have to completely reinstall like I would have to with Winblows NT!!!!  ;-)
0
 
ReinierCommented:
Compile your sound support as a module. It is much easier to pass parameters to the driver that way. Probabely the parameters are still in /etc/conf.modules

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.