View previous topic :: View next topic |
Author |
Message |
ighost n00b
Joined: 28 Jun 2004 Posts: 8
|
Posted: Tue Jun 29, 2004 8:23 pm Post subject: menuconfig woes |
|
|
i'm trying to follow this howto, but i can't get menuconfig to work so i can configure the kernel.
Code: |
bash-2.05b# ls -l /usr/src/linux
lrwxrwxrwx 1 root root 30 Jun 26 20:18 /usr/src/linux -> /usr/src/linux-2.6.5-gentoo-r1
bash-2.05b# uname -r
2.6.5-gentoo-r1
bash-2.05b# cd /usr/src/linux
bash-2.05b# make menuconfig
make: *** No rule to make target `menuconfig'. Stop.
|
i googled the error message but couldn't find solution. i used genkernel to install originally, in case that matters. |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Tue Jun 29, 2004 8:32 pm Post subject: |
|
|
Well I would suggest to make sure that you have the /usr/src/linux linked to the proper source folder.
*I have seen a few posts on this issue so there maybe a problem here... _________________ Come and play in my land |
|
Back to top |
|
|
dhurt Apprentice
Joined: 14 May 2003 Posts: 278 Location: Davis, CA
|
Posted: Tue Jun 29, 2004 8:36 pm Post subject: |
|
|
Looks like the link might be setup right. Could you post the results of a ls in these two directories:
Code: |
# ls -l /usr/src
# ls /usr/src/linux
|
_________________ "And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick |
|
Back to top |
|
|
ighost n00b
Joined: 28 Jun 2004 Posts: 8
|
Posted: Tue Jun 29, 2004 9:01 pm Post subject: |
|
|
Code: |
bash-2.05b# ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 30 Jun 26 20:18 linux -> /usr/src/linux-2.6.5-gentoo-r1
drwxr-xr-x 16 root root 4096 Jun 29 10:43 linux-2.4.26-gentoo-r3
drwxr-xr-x 18 root root 4096 Jun 29 10:43 linux-2.6.5-gentoo-r1
drwxr-xr-x 18 root root 4096 Jun 29 15:04 linux-2.6.7-gentoo-r6
bash-2.05b# ls /usr/src/linux
System.map crypto fs init kernel mm scripts sound vmlinux
arch drivers include ipc lib net security usr
|
|
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Tue Jun 29, 2004 9:08 pm Post subject: |
|
|
For the hell of it try to change your link to linux-2.4.26-gentoo-r3
Code: | rm /usr/src/linux
ln -sf /usr/src/linux-2.4.26-gentoo-r3 /usr/src/linux |
then
and post the output of
_________________ Come and play in my land |
|
Back to top |
|
|
ighost n00b
Joined: 28 Jun 2004 Posts: 8
|
Posted: Tue Jun 29, 2004 11:53 pm Post subject: |
|
|
Code: |
bash-2.05b# rm /usr/src/linux
bash-2.05b# ln -sf /usr/src/linux-2.4.26-gentoo-r3/ /usr/src/linux
bash-2.05b# cd /usr/src/linux
bash-2.05b# ls -l
total 316
-rw-r--r-- 1 root root 18691 Jun 29 10:42 COPYING
-rw-r--r-- 1 root root 82270 Jun 29 10:42 CREDITS
drwxr-xr-x 33 root root 4096 Jun 29 10:43 Documentation
-rw-r--r-- 1 root root 48637 Jun 29 10:42 MAINTAINERS
-rw-r--r-- 1 root root 48611 Jun 29 10:42 MAINTAINERS.orig
-rw-r--r-- 1 root root 19171 Jun 29 10:42 Makefile
-rw-r--r-- 1 root root 14287 Jun 29 10:42 README
-rw-r--r-- 1 root root 2818 Jun 29 10:42 REPORTING-BUGS
-rw-r--r-- 1 root root 9635 Jun 29 10:42 Rules.make
drwxr-xr-x 20 root root 4096 Jun 29 10:43 arch
drwxr-xr-x 2 root root 4096 Jun 29 10:42 crypto
drwxr-xr-x 40 root root 4096 Jun 29 10:42 drivers
drwxr-xr-x 50 root root 4096 Jun 29 10:42 fs
drwxr-xr-x 2 root root 4096 Jun 29 10:43 grsecurity
drwxr-xr-x 28 root root 4096 Jun 29 10:42 include
drwxr-xr-x 2 root root 4096 Jun 29 10:42 init
drwxr-xr-x 2 root root 4096 Jun 29 10:42 ipc
drwxr-xr-x 2 root root 4096 Jun 29 10:42 kernel
drwxr-xr-x 4 root root 4096 Jun 29 10:42 lib
drwxr-xr-x 2 root root 4096 Jun 29 10:42 mm
drwxr-xr-x 30 root root 4096 Jun 29 10:42 net
-rw-r--r-- 1 root root 52 Jun 29 10:42 patches.txt
drwxr-xr-x 4 root root 4096 Jun 29 10:43 scripts
|
|
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Wed Jun 30, 2004 12:08 am Post subject: |
|
|
ighost wrote: | Code: |
bash-2.05b# ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 30 Jun 26 20:18 linux -> /usr/src/linux-2.6.5-gentoo-r1
drwxr-xr-x 16 root root 4096 Jun 29 10:43 linux-2.4.26-gentoo-r3
drwxr-xr-x 18 root root 4096 Jun 29 10:43 linux-2.6.5-gentoo-r1
drwxr-xr-x 18 root root 4096 Jun 29 15:04 linux-2.6.7-gentoo-r6
bash-2.05b# ls /usr/src/linux
System.map crypto fs init kernel mm scripts sound vmlinux
arch drivers include ipc lib net security usr
|
|
The result of ls /usr/src/linux looks like the kernel you're trying to configure was unmerged, there are only the remains of compilation in there, but not the source and not the Makefile, so make fails.
If you really want to compile kernel 2.6.5, you'll need to remerge it. Otherwise go to /usr/src/linux-2.6.7-gentoo-r6 and make menuconfig et al. there. After that change the symlink to point to that directory.
You can also remove the remains of 2.6.5-r1, then. |
|
Back to top |
|
|
ighost n00b
Joined: 28 Jun 2004 Posts: 8
|
Posted: Wed Jun 30, 2004 12:14 am Post subject: |
|
|
thanks hepta_sean, i guess i'll use 2.6.7. |
|
Back to top |
|
|
|