[gentoo-user-de] nvidia-drivers-190.42-r3/ compile fails

03/03/2010 - 10:20 von Thomas Bruns | Report spam
Hallo NG

kann mir einer bei der Fehlermeldung helfen?

mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-
Linux-x86_64-190.42-pkg2/usr/src/nv/.tmp_versions ; rm -f
/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv/.tmp_versions/*

WARNING: Symbol version dump /usr/src/linux-2.6.31-gentoo-r6/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f /usr/src/linux-2.6.31-gentoo-r6/scripts/Makefile.build
obj=/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv
cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/.nv.o.d -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include -Iinclude -Iinclude2 -
I/usr/src/linux-2.6.31-gentoo-r6/include -I/usr/src/linux-2.6.31-gentoo-
r6/arch/x86/include -include include/linux/autoconf.h -
I/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv -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 -
mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-
outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-
sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -
mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-
statement -Wno-pointer-sign -fno-strict-overflow -I/var/tmp/portage/x11-
drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-x86_64-190.42-
pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone
-fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -
DNV_VERSION_STRING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -
D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -
D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-
drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-x86_64-190.42-
pkg2/usr/src/nv/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.c
/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv/nv.c: In Funktion »nv_kern_open«:
/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv/nv.c:2188: Warnung: Initialisierung von
inkompatiblem Zeigertyp
/bin/sh: scripts/genksyms/genksyms: Datei oder Verzeichnis nicht gefunden
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.o] Fehler 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv] Fehler 2
make[2]: *** [sub-make] Fehler 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Fehler 1
make: *** [module] Fehler 2
* ERROR: x11-drivers/nvidia-drivers-190.42-r3 failed:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-
linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
SYSOUT=/lib/modules/2.6.31-gentoo-r6/build HOST_CC=x86_64-pc-linux-gnu-gcc
clean module
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4169: Called linux-mod_src_compile
* environment, line 3092: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
CROSS_COMPILE=${CHOST}-
LDFLAGS=\"$(get_abi_LDFLAGS)\"
${BUILD_FIXES} ${BUILD_PARAMS}
${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)"
CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES}
${BUILD_PARAMS} ${BUILD_TARGETS}";
*
* If you need support, post the output of 'emerge --info =x11-drivers/nvidia-
drivers-190.42-r3',
* the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-
drivers-190.42-r3'.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-
drivers-190.42-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-
drivers/nvidia-drivers-190.42-r3/temp/environment'.
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-
Linux-x86_64-190.42-pkg2'




Failed to emerge x11-drivers/nvidia-drivers-190.42-r3, Log file:

'/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/temp/build.log'







* GNU info directory index is up-to-date.

Gruß
Thomas

CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
CXXFLAGS="-march=core2 -O2 -msse4.1 -msse4.2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
 

Lesen sie die antworten

#1 Daniel Pielmeier
03/03/2010 - 10:30 | Warnen spam
2010/3/3 Thomas Bruns :
Hallo NG

kann mir einer bei der Fehlermeldung helfen?

mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-
Linux-x86_64-190.42-pkg2/usr/src/nv/.tmp_versions ; rm -f
/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv/.tmp_versions/*

 WARNING: Symbol version dump /usr/src/linux-2.6.31-gentoo-r6/Module.symvers
          is missing; modules will have no dependencies and modversions.

make -f /usr/src/linux-2.6.31-gentoo-r6/scripts/Makefile.build
obj=/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv
 cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/.nv.o.d  -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include -Iinclude -Iinclude2 -
I/usr/src/linux-2.6.31-gentoo-r6/include -I/usr/src/linux-2.6.31-gentoo-
r6/arch/x86/include -include include/linux/autoconf.h   -
I/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv -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 -
mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-
outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-
sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -
mno-3dnow -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-
statement -Wno-pointer-sign -fno-strict-overflow   -I/var/tmp/portage/x11-
drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-x86_64-190.42-
pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-
subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone
-fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -
DNV_VERSION_STRING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -
D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -
D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-
drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-x86_64-190.42-
pkg2/usr/src/nv/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.c
/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv/nv.c: In Funktion »nv_kern_open«:
/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-Linux-
x86_64-190.42-pkg2/usr/src/nv/nv.c:2188: Warnung: Initialisierung von
inkompatiblem Zeigertyp
/bin/sh: scripts/genksyms/genksyms: Datei oder Verzeichnis nicht gefunden
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.o] Fehler 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-
r3/work/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv] Fehler 2
make[2]: *** [sub-make] Fehler 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Fehler 1
make: *** [module] Fehler 2
 * ERROR: x11-drivers/nvidia-drivers-190.42-r3 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-
linux-gnu- LDFLAGS=  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
SYSOUT=/lib/modules/2.6.31-gentoo-r6/build HOST_CC=x86_64-pc-linux-gnu-gcc
clean module
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4169:  Called linux-mod_src_compile
 *   environment, line 3092:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
CROSS_COMPILE=${CHOST}-
LDFLAGS=\"$(get_abi_LDFLAGS)\"
${BUILD_FIXES}                                          ${BUILD_PARAMS}
${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)"
CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES}
${BUILD_PARAMS} ${BUILD_TARGETS}";
 *
 * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-
drivers-190.42-r3',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-
drivers-190.42-r3'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-
drivers-190.42-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-
drivers/nvidia-drivers-190.42-r3/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/work/NVIDIA-
Linux-x86_64-190.42-pkg2'

Failed to emerge x11-drivers/nvidia-drivers-190.42-r3, Log file:







 '/var/tmp/portage/x11-drivers/nvidia-drivers-190.42-r3/temp/build.log'







 * GNU info directory index is up-to-date.



In so einem Fall lasse ich zuerst unter /usr/src/linux/ also dem
Quellverzeichnis des Kernels gegen den das Nvidia Modul gebaut wird
"make modules_prepare" laufen.
Wenn das nicht hilft, ist es bei den Nvidia Treibern sinnvoll einfach
neuere Versionen zu testen.

Daniel Pielmeier

Ähnliche fragen