论坛: UNIX系统 标题: 英文好的朋友帮看一下,这是什么意思 复制本贴地址    
作者: mtvmtvmtv [mtvmtvmtv]    论坛用户   登录
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine,but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. bailing out! ***
make:***[gcc-check] Error 1

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that wsa used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed CC sanity check. bailing out! ***
make: *** [gcc-check] Error 1
install" too few arguments
Try 'install --help' for more information.


地主 发表时间: 05-08-21 17:07

回复: SysHu0teR [syshunter]   版主   登录
我英文烂的很,猜大概意思是说你编译NVIDIA模块用的编译器可能不是编译内核时指定用的。说也许你现在用的这个编译器很完美,很酷。但在用于编译这个NVIDIA模块时可能导致系统以外情况或死机什么乱七八糟的。

如果你不理会这个警告,可以设置IGNORE_CC_MISMATCH强行接着搞。

还有一个办法是,设置Makefile里的CC参数为你平时编译内核用的编译器。

汗,我自己都读不通自己翻译的。

下面是我的建议:
比如原来Makefile里的CC=cc,你试着改成CC=gcc试试

B1层 发表时间: 05-08-21 21:29

回复: kert_t8 [kert_t8]   论坛用户   登录
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine,but there
are cases where this can lead to unexpected behaviour and
system crashes.

你正尝试使用一种新的编译器编译NVIDIA内核模块,用来编译目前运行中的内核程序的编译器并不是这个编译器。使用这种编译器可能不会造成任何危害,但是也有可能由于一些编译器的未知行为造成系统崩溃

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.
如果你很清楚你再做什么,你可以通过设置IGNORE_CCMISMATCH变量来跳过本检测

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.
否则的话,将CC环境变量设置成为用于编译本内核的编译器名

*** Failed cc sanity check. bailing out! ***
make:***[gcc-check] Error 1
// 这一句具体啥意思不太清楚,去查一下sanity啥意思,忘了。反正总的来说是什么检测失败,编译没有成功



-----------------

楼主在编译啥东西?显卡驱动?

我的显卡是 NVIDIA GeForce FX Go5200,我找不到for linux的驱动,能不能帮帮我啊?

B2层 发表时间: 05-08-22 00:01

回复: SysHu0teR [syshunter]   版主   登录

英语学好了就是不一样

B3层 发表时间: 05-08-22 12:11

回复: mtvmtvmtv [mtvmtvmtv]   论坛用户   登录

我是在装NVIDIA的显卡驱动.GeForce2 MX400
二楼的朋友可以到

ftp://download.nvidia.com/
http://www.nvidia.com/

好像你那个型号的我在上面看见过..
你找找看吧



[此贴被 残月(mtvmtvmtv) 在 08月23日13时02分 编辑过]

B4层 发表时间: 05-08-23 13:01

回复: kert_t8 [kert_t8]   论坛用户   登录
三楼开始翻译的都是对的啊

编译内核啊!!!!!!!!!!!!我啥时候才能学会?

B5层 发表时间: 05-08-23 22:18

论坛: UNIX系统

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号