Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133696 - nvidia-kernel doesn't compile under 2.6.17-rc4-mm1
Summary: nvidia-kernel doesn't compile under 2.6.17-rc4-mm1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: X11 External Driver Maintainers
URL: http://www.nvnews.net/vbulletin/showt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 08:06 UTC by Simon Cooper
Modified: 2006-07-07 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 
Comment 1 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
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-18 08:10:45 UTC
Unsupported kernel...

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3
Comment 3 Grégoire Favre 2006-05-19 09:42:34 UTC
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...
Comment 4 Ziga Mlinar 2006-07-03 05:35:13 UTC
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
Comment 5 Kris Kersey (RETIRED) gentoo-dev 2006-07-07 11:58:28 UTC
The official patch has been added to x11-drivers/nvidia-drivers-1.0.8762-r1.