Gentoo Archives: gentoo-user-de

From: Daniel Pielmeier <billie@g.o>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] nvidia-drivers-190.42-r3/ compile fails
Date: Wed, 03 Mar 2010 09:28:27
Message-Id: 6142e6141003030128r711de2aah13d4c3b66667baff@mail.gmail.com
In Reply to: [gentoo-user-de] nvidia-drivers-190.42-r3/ compile fails by Thomas Bruns
1 2010/3/3 Thomas Bruns <gentoo@××××××××.de>:
2 > Hallo NG
3 >
4 > kann mir einer bei der Fehlermeldung helfen?
5 >
6 > mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-
7 > Linux-x86_64-190.42-pkg2/usr/src/nv/.tmp_versions ; rm -f
8 > /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
9 > x86_64-190.42-pkg2/usr/src/nv/.tmp_versions/*
10 >
11 >  WARNING: Symbol version dump /usr/src/linux-2.6.31-gentoo-r6/Module.symvers
12 >           is missing; modules will have no dependencies and modversions.
13 >
14 > make -f /usr/src/linux-2.6.31-gentoo-r6/scripts/Makefile.build
15 > obj=/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
16 > x86_64-190.42-pkg2/usr/src/nv
17 >  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
18 > r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/.nv.o.d  -nostdinc -isystem
19 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include -Iinclude -Iinclude2 -
20 > I/usr/src/linux-2.6.31-gentoo-r6/include -I/usr/src/linux-2.6.31-gentoo-
21 > r6/arch/x86/include -include include/linux/autoconf.h   -
22 > I/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
23 > x86_64-190.42-pkg2/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -
24 > Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-
25 > declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -
26 > mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-
27 > outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-
28 > sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -
29 > mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-
30 > statement -Wno-pointer-sign -fno-strict-overflow   -I/var/tmp/portage/x11-
31 > drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-x86_64-190.42-
32 > pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
33 > subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone
34 > -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -
35 > DNV_VERSION_STRING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -
36 > D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -
37 > D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-
38 > drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-x86_64-190.42-
39 > pkg2/usr/src/nv/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
40 > r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.c
41 > /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
42 > x86_64-190.42-pkg2/usr/src/nv/nv.c: In Funktion »nv_kern_open«:
43 > /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
44 > x86_64-190.42-pkg2/usr/src/nv/nv.c:2188: Warnung: Initialisierung von
45 > inkompatiblem Zeigertyp
46 > /bin/sh: scripts/genksyms/genksyms: Datei oder Verzeichnis nicht gefunden
47 > make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
48 > r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.o] Fehler 1
49 > make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
50 > r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv] Fehler 2
51 > make[2]: *** [sub-make] Fehler 2
52 > NVIDIA: left KBUILD.
53 > nvidia.ko failed to build!
54 > make[1]: *** [module] Fehler 1
55 > make: *** [module] Fehler 2
56 >  * ERROR: x11-drivers/nvidia-drivers-190.42-r3 failed:
57 >  *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-
58 > linux-gnu- LDFLAGS=  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
59 > SYSOUT=/lib/modules/2.6.31-gentoo-r6/build HOST_CC=x86_64-pc-linux-gnu-gcc
60 > clean module
61 >  *
62 >  * Call stack:
63 >  *     ebuild.sh, line   54:  Called src_compile
64 >  *   environment, line 4169:  Called linux-mod_src_compile
65 >  *   environment, line 3092:  Called die
66 >  * The specific snippet of code:
67 >  *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
68 > CROSS_COMPILE=${CHOST}-
69 > LDFLAGS=\"$(get_abi_LDFLAGS)\"
70 > ${BUILD_FIXES}                                          ${BUILD_PARAMS}
71 > ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)"
72 > CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES}
73 > ${BUILD_PARAMS} ${BUILD_TARGETS}";
74 >  *
75 >  * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-
76 > drivers-190.42-r3',
77 >  * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-
78 > drivers-190.42-r3'.
79 >  * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-
80 > drivers-190.42-r3/temp/build.log'.
81 >  * The ebuild environment file is located at '/var/tmp/portage/x11-
82 > drivers/nvidia-drivers-190.42-r3/temp/environment'.
83 >  * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-
84 > Linux-x86_64-190.42-pkg2'
85 >
86 >>>> Failed to emerge x11-drivers/nvidia-drivers-190.42-r3, Log file:
87 >
88 >>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/temp/build.log'
89 >
90 >  * GNU info directory index is up-to-date.
91
92 In so einem Fall lasse ich zuerst unter /usr/src/linux/ also dem
93 Quellverzeichnis des Kernels gegen den das Nvidia Modul gebaut wird
94 "make modules_prepare" laufen.
95 Wenn das nicht hilft, ist es bei den Nvidia Treibern sinnvoll einfach
96 neuere Versionen zu testen.
97
98 --
99 Daniel Pielmeier

Replies

Subject Author
Re: [gentoo-user-de] nvidia-drivers-190.42-r3/ compile fails Thomas Bruns <gentoo@××××××××.de>