После обновления sys-kernel/gentoo-sources 3.6* на 3.7* не могу сделать module-rebuild.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ...
^[[32;01m*^[[0m Preparing nvidia module
make -j4 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.10-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] Ошибка 1
^[[31;01m*^[[0m ERROR: x11-drivers/nvidia-drivers-313.18 failed (compile phase):
^[[31;01m*^[[0m emake failedeselect kernel list
Available kernel symlink targets:
[1] linux-3.7.10-gentoo *
В гугле пока решения не нашёл, продолжаю искать. Не понимаю что драйвера пишут про KBUILD.
И вообще откуда эта проблема появилась. Когда она вылезла в первый раз то я просто размаскировал драйвера и они собрались. После очередного обновления ядра опять появились. Кто знает что делать ? Помогите.


