Gentoo Archives: gentoo-user

From: Mike Edenfield <kutulu@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Kernel upgrade
Date: Tue, 15 Feb 2011 01:23:42
Message-Id: 1297732425.8526.4.camel@platypus
In Reply to: [gentoo-user] Re: Kernel upgrade by walt
1 On 02/14/2011 04:03 PM, Fzinc wrote:
2 > Hi.
3 >
4 > Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a make oldconfig as i usually do
5 > but when i tried to compile it got this message:
6 >
7 > ----------------------------------------------------------
8 >
9 > localhost linux # make && make modules_install
10 > scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
11 > /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: command not found
12
13 My guess: somehow the CROSS_COMPILE configuration option got set to Y.
14 This is the second option in menuconfig under General Setup. This value
15 gets prepended to $CC during a build -- it's meant to hold a cross
16 prefix, like "i686-pc-linux-gnu-", for cases where you're building a
17 kernel for a different architecture.
18
19 You almost certainly don't want this set to anything, since it sounds
20 like you're building a kernel for the same machine. Go clear it out and
21 try again.
22
23 --K