View previous topic :: View next topic |
Author |
Message |
boou32 n00b
Joined: 15 Mar 2006 Posts: 38
|
Posted: Wed Jul 18, 2007 2:45 am Post subject: Error kernel source directory "/usr/src/linux" was |
|
|
I performed #genkernel all the error message was ERROR KERNEL SOURCE DIRECTORY "/USR/SRC/LINUX" WAS NOT FOUND
Running with option all
ERROR KERNEL SOURCE DIRECTORY "/USR/SRC/LINUX" WAS NOT FOUND
END LOG |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Wed Jul 18, 2007 2:47 am Post subject: |
|
|
Hi.
Make sure you installed a kernel package and that /usr/src/linux points to a kernel tree. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
boou32 n00b
Joined: 15 Mar 2006 Posts: 38
|
Posted: Wed Jul 18, 2007 2:59 am Post subject: |
|
|
Hi I just did a # ls -l /usr/src/linux the return message was No such file or directory
HERE are my steps before the Error
1. # emerge genkernel
2. # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config2.6
3. #genkernel all |
|
Back to top |
|
|
Mantaar Apprentice
Joined: 17 May 2007 Posts: 219
|
Posted: Wed Jul 18, 2007 4:58 am Post subject: |
|
|
That means you probably did not enable the symlink USE-flag when you were emerging gentoo-sources. The most fool proof way to fix this is the following: add symlink to your USE-flags in /etc/make.conf and remerge gentoo-sources. However I would recommend just to look into /usr/src and determine the latest version of gentoo sources and symlink it there. Most likely you'll end up doing this:
Code: |
cd /usr/src
ln -s gentoo-sources-2.6.21-r3 linux
|
Then rerun genkernel. _________________ Error compiling committee.c: too many arguments to function. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon Jul 23, 2007 9:57 pm Post subject: |
|
|
boou32 wrote: | Hi I just did a # ls -l /usr/src/linux the return message was No such file or directory
Code: | 1. # emerge genkernel
2. # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config2.6
3. #genkernel all |
|
You didn't emerge any kernel tree. You need choose a kernel package. For gentoo-sources do emerge -av gentoo-sources _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
|