* Package: x11-drivers/nvidia-drivers-313.18  * Repository: gentoo  * Maintainer: cardoe@gentoo.org jer@gentoo.org,xarthisius@gentoo.org  * USE: X acpi amd64 elibc_glibc kernel_linux multilib tools userland_GNU  * FEATURES: sandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.7.6-gentoo/build * Found sources for kernel version: * 3.7.6-gentoo >>> Unpacking source... >>> Unpacking NVIDIA-Linux-x86_64-313.18.run to /var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ... * Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ... * Preparing nvidia module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.7.6-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean module If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on your system. If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the equivalent nvidia-installer command line option. Depending on where and how the kernel sources (or the kernel headers) were installed, you may need to specify their location with the SYSSRC environment variable or the equivalent nvidia-installer command line option. *** Unable to determine the target kernel version. *** make: *** [select_makefile] Error 1 * ERROR: x11-drivers/nvidia-drivers-313.18 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-313.18'`, * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-313.18'`. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/environment'. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work/kernel' * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work/'