Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141749

Summary: nvidia-kernel-1.0.8762-r1 fails to compile on gentoo-sources-2.6.17-r4
Product: Gentoo Linux Reporter: Hanly <lableupunn>
Component: New packagesAssignee: Jeffrey Forman (RETIRED) <jforman>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full emerge errror output

Description Hanly 2006-07-25 19:40:47 UTC
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.
Comment 1 Hanly 2006-07-25 19:42:02 UTC
Created attachment 92752 [details]
full emerge errror output
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-26 04:05:38 UTC
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 ***