Gentoo Archives: gentoo-user

From: Rumen Yotov <rumen_yotov@×××.bg>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]
Date: Thu, 06 Oct 2005 04:49:25
Message-Id: 20051006075027.31154bc6@mach.qrypto.org
In Reply to: [gentoo-user] Unable to calculate Linux Kernel version [New Thread] by Bogo Mipps
1 On Thu, 6 Oct 2005 17:17:59 +1300
2 Bogo Mipps <bogo-mipps@××××××.nz> wrote:
3
4 > Hi - have re-compiled as indicated, but it hasn't helped. Now
5 > running 2.6.12-gentoo-r10 without problems, but still have the
6 > previous error on *some* ebuilds i.e. svgalib & lm_sensors.
7 >
8 > As established earlier correct links are all in place, the
9 > correct .config is in the source, directory, as is Makefile -
10 > and /include/linux/verion.h exists.
11 >
12 > I have googled extensively, including gentoo forums, where similar
13 > errors have been produced, but nothing suggested solved my problem.
14 > Most were related to non-existent .config and/or Makefile.
15 >
16 > Following is the error message:
17 > <snip>
18 > !!! ERROR: media-libs/svgalib-1.9.21-r1 failed.
19 > !!! Function linux-info_pkg_setup, Line 526, Exitcode 1
20 > !!! Unable to calculate Linux Kernel version
21 > <snip>
22 >
23 > When I look at Line 526 in /usr/portage/eclass/linux-info.eclass I
24 > find the following:
25 >
26 > <snip>
27 > 525 linux-info_pkg_setup() {
28 > 526 get_version || die "Unable to calculate Linux Kernel version"
29 > 527 [ -n "${CONFIG_CHECK}" ] && check_extra_config;
30 > <snip>
31 >
32 > >From here on in - I'm struggling with bash and can't make sense of
33 > >it: any
34 > pointers would be appreciated.
35 >
36 > Bogo
37 >
38 >
39 Hi,
40 Check to make sure that "/usr/src/linux" link point to your
41 current/working kernel. svgalib depends on kernel link to build.
42 HTH.Rumen

Replies

Subject Author
Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread] Bogo Mipps <bogo-mipps@××××××.nz>