LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2005, 03:21 PM   #1
Ezzy
Member
 
Registered: Apr 2005
Posts: 33

Rep: Reputation: 15
make: *** No rule to make target `menuconfig'


Hi,

After some re-compilations of my gentoo kernel suddenly my MAKE MENUCONFIG gives the following error: --> make: *** No rule to make target `menuconfig'. Stop.

I am logged in as root. I am in directory /usr/src/linux while I give make command.

Any ideas how to solve this?

Thx Ezzy
 
Old 04-20-2005, 04:00 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Maybe your "Makefile" got fubar'd. Have you tried re-extracting the kernel source files from the appropriate .tar.gz or .tar.bz2 file?
 
Old 04-21-2005, 01:13 AM   #3
Ezzy
Member
 
Registered: Apr 2005
Posts: 33

Original Poster
Rep: Reputation: 15
Sorry, you mean that the makeconfig is damaged? I used "emerge gentto-sources" to install a kernel.

You said Extracting: how can I do that? What to next than?

Thx in advance
 
Old 04-21-2005, 09:21 AM   #4
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Not necessarily "makeconfig", but the actual file "Makefile". "Menuconfig" is simply one of the options that is supported by the Makefile. Just like "make" and "make modules_install". Menuconfig and modules_install are called targets. The targets that are supported by a program are usually inside the "Makefile" (this is a physical file, by the way). If that file somehow got corrupted, then those targets may no longer be available.

Can you try re-emerging gentoo-sources? What I was referring to when I suggested re-extracting was going to www.kernel.org, downloading the particular kernel version you wanted (which comes as a .tar.gz or a .tar.bz2 file), and then using 'tar' to extract the sources. I'm using Slackware and this is how I download and extract a new kernel since "emerge" isn't available to me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make: *** No rule to make target 'menuconfig' yussef Debian 10 12-22-2005 09:23 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 08:41 PM
make: **** No rule to make target 'bzImage' qingjuan Linux - General 5 04-02-2002 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration