On 02/14/2011 04:03 PM, Fzinc wrote: > Hi. > > 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 > but when i tried to compile it got this message: > > ---------------------------------------------------------- > > localhost linux # make && make modules_install > scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig > /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: > command not found
My guess: somehow the CROSS_COMPILE configuration option got set to Y. This is the second option in menuconfig under General Setup. This value gets prepended to $CC during a build -- it's meant to hold a cross prefix, like "i686-pc-linux-gnu-", for cases where you're building a kernel for a different architecture. You almost certainly don't want this set to anything, since it sounds like you're building a kernel for the same machine. Go clear it out and try again. --K