Nvidia kernel package fails to build the description of the problem is disponible here http://www.nvnews.net/vbulletin/showthread.php?t=46559 and another possible solution is here http://www.nvnews.net/vbulletin/showthread.php?t=42964. Reproducible: Always Steps to Reproduce: 1.Emerge nvidia-kernel under a 2.6.xx Kernel. 2. 3. Actual Results: Compilation fails reporting that nvidia.ko failed to build! Expected Results: Compiled.
What version of nvidia-kernel are you trying to emerge? Can you post the output of "emerge info"?
I was trying to emerge the lastest nvidia kernel for x86 not sure wich version it is. I cant paste emerge -info since I gave up from that install since X wouldnt work in the box. But as ive pointed nvidia has a report about it as a sticky in their official forum.
Looks like it's nvidia-kernel-1.0.6629 (see http://www.nvnews.net/vbulletin/showthread.php?t=42964)
Closing as this is an old issue. Please reopen if you are still experiencing problems.