Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Unable to calculate Linux Kernel version
Date: Fri, 16 Sep 2005 10:28:14
Message-Id: 432A9C03.6060804@planet.nl
In Reply to: Re: [gentoo-user] Unable to calculate Linux Kernel version by Dave Nebinger
1 Dave Nebinger schreef:
2 >> "/usr/src/ -> linux-2.6.11-gentoo-r4"
3 >>
4 >> "/usr/src/linux-2.6.11-gentoo-r4" exists
5 >
6 >
7 > You need to link /usr/src/linux to /usr/src/linux-2.6.11-gentoo-r4,
8 > as in:
9 >
10 > # cd /usr/src # ln -sf linux-2.6.11-gentoo-r4 linux
11 >
12 > Dave
13 >
14
15 Or, dicing it down even further:
16
17 /usr/src/linux is not a folder. "linux" is a symlink in the /usr/src/
18 folder. This symlink, because it is targeted, either
19 manually or automatically, to the last-installed kernel source-- which is
20 not necessarily the same as the currently running kernel-- is used by
21 applications which need to know what version of the kernel to compile
22 against.
23
24 What your error is saying is that it cannot determine what kernel source
25 to compile against, because the 'linux' symlink in /usr/src
26 (/usr/src/linux, thus) does not exist, or is not valid (does not point
27 to a kernel source).
28
29 In your case, it does not seem to exist.
30
31 Holly
32 --
33 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Unable to calculate Linux Kernel version Glenn Enright <elinar@×××××××.nz>