Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416351 - x11-drivers/nvidia-drivers-295.49 not compatible with linux-3.4
Summary: x11-drivers/nvidia-drivers-295.49 not compatible with linux-3.4
Status: RESOLVED DUPLICATE of bug 414645
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-17 07:21 UTC by Martin Jansa
Modified: 2012-05-18 14:47 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 Martin Jansa 2012-05-17 07:21:48 UTC
Current latest version in portage tree 295.49 as well as "highest" version 302.07 fails to find kernel headers.

Newest version 295.53 builds fine with 3.4-rc7.
http://www.nvidia.com/object/linux-display-amd64-295.53-driver.html

build error:
  x86_64-pc-linux-gnu-gcc -Wp,-MD,/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include -I/usr/src/linux-3/arch/x86/include -Iarch/x86/include/
generated -Iinclude  -I/usr/src/linux-3/include -include /usr/src/linux-3/include/linux/kconfig.h   -I/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str
ict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_A
S_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-s
et-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-  x86_64-pc-linux-gnu-gcc -Wp,-MD,/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/.nv-mlock.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux
-gnu/4.6.3/include -I/usr/src/linux-3/arch/x86/include -Iarch/x86/include/generated -Iinclude  -I/usr/src/linux-3/include -include /usr/src/linux-3/include/linux/kconfig.h   -I/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/ker
nel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kerne
l -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dno
w -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO   -I/tmp/tmpfs/portage/x1
1-drivers/nvidia-drivers-302.07/work/kernel -Wall -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"302.07\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DM
ODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/.tmp_nv-mlock.o /tmp/tmpfs/portage/x11-drivers/nvidia-driv
ers-302.07/work/kernel/nv-mlock.c
sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO   -I/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel -Wall -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"302.07\" -Wno-unuse
d-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/.tmp_nv-mempool.o /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-mempool.c
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv.c:13:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-acpi.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-i2c.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directoryIn file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-chrdev.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory

compilation terminated.
compilation terminated.
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-acpi.o] Error 1
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-chrdev.o] Error 1
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-i2c.o] Error 1
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-gvi.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-gvi.o] Error 1
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-cray.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-cray.o] Error 1
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-mlock.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
In file included from /tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-mempool.c:15:0:
/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-mlock.o] Error 1
make[4]: *** [/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel/nv-mempool.o] Error 1
make[3]: *** [_module_/tmp/tmpfs/portage/x11-drivers/nvidia-drivers-302.07/work/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
emake failed
 * ERROR: x11-drivers/nvidia-drivers-302.07 failed (compile phase):
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-18 14:47:17 UTC

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