?
Solved

trouble configuring kernel

Posted on 2000-03-07
5
Medium Priority
?
269 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 150 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

840 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