On Tue, 21 Apr 2009 10:48:11 +0100, Peter Humphrey <pe...@humphrey.ukfsn.org> wrote: > Hello list, > > My box is trying to upgrade nvidia-drivers to version 180.51, but I get > this: > >>>> Compiling source > in > /tmp/portage/x11-drivers/nvidia-drivers-180.51/work/NVIDIA-Linux-x86_64-180.51-pkg2 > ... > * Preparing nvidia module > make -j3 -s HOSTCC=x86_64-pc-linux-gnu-gcc > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 > SYSSRC=skins/default/usr/src/linux SYSOUT=/lib/modules/2.6.29-gentoo-r1/build > HOST_CC=x86_64-pc-linux-gnu-gcc clean module > [...] > *** Unable to determine the target kernel version. *** > > make: *** [select_makefile] Error 1 > * > * ERROR: x11-drivers/nvidia-drivers-180.51 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 3792: Called linux-mod_src_compile > * environment, line 2799: Called die > * The specific snippet of code: > * eval "emake HOSTCC="$(tc-getBUILD_CC)" > CROSS_COMPILE=${CHOST}- > LDFLAGS="$(get_abi_LDFLAGS)" > > ${BUILD_FIXES} ${BUILD_PARAMS} > > ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" > CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} > ${BUILD_PARAMS} ${BUILD_TARGETS}"; > > Can anyone see what the problem is? I did the upgrade of X to 1.5 a few > weeks ago, and the /usr/src/linux link is correctly pointing to the current
I think the problem is from the SYSSRC make paremeter which is set to skins/default/usr/src/linux, which seems to be invalid. Maybe you can check to your environment for the variable KBUILD_OUTPUT if i remember correctly. HTH > kernel. > > This first happened yesterday, but I waited to see if it was still the same > > after the next daily sync. It is. I can't see a bugzilla entry for it; > perhaps I should raise one. -- Xavier Parizet YaGB : http://gentooist.com GPG : DC81 6FEE 6EBE FCE4 1C18 202F E575 4A5D 036D 1408