Solved

trouble configuring kernel

Posted on 2000-03-07
5
227 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now