Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] make: no rules to make target "menuconfig"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Aries97
n00b
n00b


Joined: 04 Nov 2005
Posts: 63

PostPosted: Wed Jan 16, 2013 8:10 pm    Post subject: [SOLVED] make: no rules to make target "menuconfig" Reply with quote

This is the second time I've had this problem. I don't actually know what's causing it, but I'm fairly sure it's me doing something stupid. (Like possibly killing a screen session in which "make menuconfig" was running?)

Code:
sexy ~ # cd /usr/src/
sexy src # ls -l
total 8
lrwxrwxrwx  1 root root   18 Jan 15 08:27 linux -> linux-3.5.7-gentoo
drwxr-xr-x 23 root root 4096 Jan 16 12:28 linux-3.3.8-gentoo
drwxr-xr-x 21 root root 4096 Jan 12 23:28 linux-3.5.7-gentoo
sexy src #


Code:
sexy src # cd linux
sexy linux # make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.
sexy linux # ls
Module.symvers  arch   crypto   firmware  include  ipc     lib  modules.builtin  net      security  usr   vmlinux
System.map      block  drivers  fs        init     kernel  mm   modules.order    scripts  sound     virt  vmlinux.o
sexy linux #


Notice how there is no Makefile? I don't know what happened to it. I don't suppose you know how I can get it back? I have a functional 3.5.7 kernel at the moment, but I need to make some changes to it for CUPS, and a VPN etc...

The 3.3.8 kernel is still intact:

Code:
sexy linux # cd ../linux-3.3.8-gentoo/
sexy linux-3.3.8-gentoo # ls
COPYING        Kbuild       Makefile        arch    drivers   include  kernel  net      security  usr
CREDITS        Kconfig      README          block   firmware  init     lib     samples  sound     virt
Documentation  MAINTAINERS  REPORTING-BUGS  crypto  fs        ipc      mm      scripts  tools
sexy linux-3.3.8-gentoo #


Last edited by Aries97 on Wed Jan 16, 2013 8:13 pm; edited 3 times in total
Back to top
View user's profile Send private message
Aries97
n00b
n00b


Joined: 04 Nov 2005
Posts: 63

PostPosted: Wed Jan 16, 2013 8:11 pm    Post subject: Reply with quote

Nevemind:

Code:
sexy src # emerge --oneshot =sys-kernel/gentoo-sources-3.5.7


Solved it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum