LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1483|回复: 20

emerge nvidia-drivers error

[复制链接]
发表于 2009-8-27 22:59:19 | 显示全部楼层 |阅读模式
* Preparing nvidia 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
*
* ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3569:  Called linux-mod_src_compile
*             environment, line 2610:  Called die
* The specific snippet of code:
*               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
*  The die message:
*   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux         SYSOUT=/lib/modules/2.6.29/build HOST_CC=i686-pc-linux-gnu-gcc clean module.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.09-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.09-r1/temp/environment'.
*

* Messages for package sys-power/acpid-1.0.6-r1:

* As of version 1.0.6, acpid uses system log facility instead of custom log
* file. This means acpid messages will be usually located in
* /var/log/messages (and not in /var/log/acpid) for common setups.

* Messages for package x11-drivers/nvidia-drivers-169.09-r1:

*
* ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3569:  Called linux-mod_src_compile
*             environment, line 2610:  Called die
* The specific snippet of code:
*               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
*  The die message:
*   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux         SYSOUT=/lib/modules/2.6.29/build HOST_CC=i686-pc-linux-gnu-gcc clean module.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.09-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.09-r1/temp/environment'.
*


help me

thankS
发表于 2009-8-27 23:02:50 | 显示全部楼层
Unable to determine the target kernel version
这是重点,看看你的/usr/src
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-27 23:06:25 | 显示全部楼层
Post by flies;2021052
Unable to determine the target kernel version
这是重点,看看你的/usr/src

Linux localhost 2.6.29 #1 SMP Thu Aug 27 20:42:59 CST 2009 i686 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux


thank you

help me
回复 支持 反对

使用道具 举报

发表于 2009-8-27 23:11:30 | 显示全部楼层
我估计是你显卡驱动太旧了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-27 23:15:05 | 显示全部楼层
Post by zzwzzw;2021055
我估计是你显卡驱动太旧了。



essages for package x11-drivers/<nvidia-drivers-169.09-r1>

???
回复 支持 反对

使用道具 举报

发表于 2009-8-27 23:18:31 | 显示全部楼层
Post by l_s;2021058
essages for package x11-drivers/<nvidia-drivers-169.09-r1>

???


现在最新的已经是190版的了,你是有特别需要用旧版的吗?内核也已经2.6.30的了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-27 23:25:49 | 显示全部楼层
Post by zzwzzw;2021060
现在最新的已经是190版的了,你是有特别需要用旧版的吗?内核也已经2.6.30的了。

oh...

thank you prompt

回复 支持 反对

使用道具 举报

发表于 2009-8-28 09:56:56 | 显示全部楼层
安装nvidia-drivers时需要检查内核,如果内核没有编译或者.config信息不正确,就会提示错误的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-28 23:55:41 | 显示全部楼层
Post by zhou3345;2021157
安装nvidia-drivers时需要检查内核,如果内核没有编译或者.config信息不正确,就会提示错误的。



我直接跑到官方网去下了个 .run文件安起的

呵呵
不过不太理想,不能3D 加速
回复 支持 反对

使用道具 举报

发表于 2009-8-29 00:19:06 | 显示全部楼层
源里面的不能装?eselect opengl list后结果是什么?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表