Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419775 - x11-drivers/nvidia-drivers-295.49 fail to compile with kernel 3.4
Summary: x11-drivers/nvidia-drivers-295.49 fail to compile with kernel 3.4
Status: RESOLVED DUPLICATE of bug 414645
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 14:58 UTC by Jan K
Modified: 2012-06-05 15:46 UTC (History)
0 users

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


Attachments
Patch (1/2) fixing the issue. (00_conftest_sh.patch,540 bytes, patch)
2012-06-05 15:00 UTC, Jan K
Details | Diff
Patch (2/2) fixing the issue. (00_nv-linux_h.patch,677 bytes, patch)
2012-06-05 15:02 UTC, Jan K
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan K 2012-06-05 14:58:35 UTC
Kernel sources for 3.4 miss a header required by nvidia-drivers.
Compilation fails with:

In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-295.49/work/kernel/nv.c:13:0:
/var/tmp/portage/x11-drivers/nvidia-drivers-295.49/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.

Solution and more info: http://weltall.heliohost.org/wordpress/2012/04/01/3-4-0-rc1-and-nvidia-drivers/

Reproducible: Always
Comment 1 Jan K 2012-06-05 15:00:31 UTC
Created attachment 314317 [details, diff]
Patch (1/2) fixing the issue.
Comment 2 Jan K 2012-06-05 15:02:11 UTC
Created attachment 314321 [details, diff]
Patch (2/2) fixing the issue.

Patches suggested by the link mentioned above.
The ebuild supports user patches, so one can simply place the patches in
/etc/portage/patches/x11-drivers/nvidia-drivers
Comment 3 Mike Gilbert gentoo-dev 2012-06-05 15:44:15 UTC
nvidia-drivers-295.53 works fine for me.
Comment 4 Mike Gilbert gentoo-dev 2012-06-05 15:46:12 UTC

*** This bug has been marked as a duplicate of bug 414645 ***