Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread] Rumen Yotov <rumen_yotov@×××.bg>