when emerge nvidia-kernel [ebuild N ] media-video/nvidia-kernel-1.0.6629-r4, got the following error: make -rR -f /usr/src/linux-2.6.12-gentoo-r10/scripts/Makefile.modpost scripts/mod/modpost -m -i /usr/src/linux-2.6.12-gentoo-r10/Module.symvers /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o /bin/sh: scripts/mod/modpost: No such file or directory make[3]: *** [__modpost] Error 127 make[2]: *** [modules] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 !!! ERROR: media-video/nvidia-kernel-1.0.6629-r4 failed. !!! Function linux-mod_src_compile, Line 460, Exitcode 2 !!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module. !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
You need a configured kernel. *** This bug has been marked as a duplicate of 80221 ***