nvidia-kernel emerged without errors when installed alongside Xorg-7.0, I installed xgl following the steps listed in the xgl howto found in the gentoo-wiki, and when I went to recompile nvidia-kernel as per the instructions I get the following error: (see attatched file for full output) Building modules, stage 2. make -rR -f /usr/src/linux-2.6.17-gentoo-r4/scripts/Makefile.modpost scripts/mod/modpost -m -i /usr/src/linux-2.6.17-gentoo-r4/Module.symvers -I /var/tmp/portage/nvidia-kernel-1.0.8762-r1/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/Modules.symvers -o /var/tmp/portage/nvidia-kernel-1.0.8762-r1/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/Modules.symvers /var/tmp/portage/nvidia-kernel-1.0.8762-r1/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/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]: *** [mdl] Error 1 make: *** [module] Error 2 !!! ERROR: media-video/nvidia-kernel-1.0.8762-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called linux-mod_src_compile linux-mod.eclass, line 469: Called die !!! 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, and the call stack if relevant.
Created attachment 92752 [details] full emerge errror output
Has exactly zero in common with Gentoo Bugzilla product. Why don't you read the descriptions? You need a _configured_ kernel (run make modules_prepare at least). *** This bug has been marked as a duplicate of 80221 ***