| Summary: | nvidia-kernel doesn't compile under 2.6.17-rc4-mm1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Simon Cooper <thecoop> |
| Component: | Current packages | Assignee: | X11 External Driver Maintainers <x11-drivers> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.nvnews.net/vbulletin/showthread.php?t=70252 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Simon Cooper
2006-05-18 08:06:11 UTC
The patch in the nvnews thread in the url fixes the following problem compiling nvidia-kernel against 2.6.17-rc4-mm1: In file included from /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c:15: /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-linux.h:711: error: conflicting types for pm_message_t include/linux/pm.h:142: error: previous declaration of pm_message_t was here /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c:307: warning: initialization from incompatible pointer type make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.o] Error 1 forum thread at http://forums.gentoo.org/viewtopic.php?p=3325279 Unsupported kernel... http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3 For me the mm are the only kernels on which my ide/sata works good (via sata together with via pata all under scsi) so OK it's not a supported kernel, but it could be cool to have a patch for it :-) The one that could be found under the nv forum don't works for me... In this link the second topic gives the patch for >=2.6.17-rc4-mm1 and Linux >=2.6.17-git7. Direct link to patch (NVIDIA_kernel-1.0-8762-1544019.diff.txt): http://www.nvnews.net/vbulletin/attachment.php?attachmentid=19005&d=1151343206 The official patch has been added to x11-drivers/nvidia-drivers-1.0.8762-r1. |