aionos
(usa Arch Linux)
Enviado em 20/01/2010 - 10:35h
Estou tentando instalar o driver da minha placa de video nvidia. Quando entro com o comando "emerge nvidia-drivers" recebo a seguinte saída do comando:
[32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found kernel object directory:
[32;01m*[0m /lib/modules/2.6.31-gentoo-r6/build
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 2.6.31-gentoo-r6
[32;01m*[0m Checking for MTRR support ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86-185.18.36-pkg0.run to /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0 ...
[32;01m*[0m Applying NVIDIA_glx-defines.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying NVIDIA_glx-glheader.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Converting NVIDIA-Linux-x86-185.18.36-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0 ...
[32;01m*[0m Preparing nvidia module
make -j2 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-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=i686-pc-linux-gnu-gcc clean module
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
[31;01m*[0m
[31;01m*[0m ERROR: x11-drivers/nvidia-drivers-185.18.36 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 3916: Called linux-mod_src_compile
[31;01m*[0m environment, line 2906: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m 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}";
[31;01m*[0m The die message:
[31;01m*[0m Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-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=i686-pc-linux-gnu-gcc clean module
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/temp/environment'.
[31;01m*[0m
Alguém aí tem uma noção de como resolver esse problema. Já procurei em vários sites pelo Google afora, mas até agora não vi nada que possa ajudar.