Solved

trouble configuring kernel

Posted on 2000-03-07
5
236 Views
Last Modified: 2013-12-16
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.
0
Comment
Question by:maharusty
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
Reinier earned 50 total points
ID: 2592354
Do you actually have the kernel sources installed? Is there a file "Makefile" in that directory?
0
 
LVL 1

Author Comment

by:maharusty
ID: 2592686
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
 
LVL 2

Expert Comment

by:Reinier
ID: 2593698
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
 
LVL 1

Author Comment

by:maharusty
ID: 2595744
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
 
LVL 2

Expert Comment

by:Reinier
ID: 2595928
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

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question