LinuxSir.cn,穿越时空的Linuxsir!

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

fedora装nvidia驱动错误

[复制链接]
发表于 2003-10-9 20:53:25 | 显示全部楼层 |阅读模式
自己编译nvidia的驱动,出现错误:
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
是编译器的问题,不知道怎么解决,你们怎么装的讶
发表于 2003-10-10 01:01:33 | 显示全部楼层
bywind编译kernel时与编译nvidia driver时所用的GCC版本不同

export IGNORE_CC_MISMATCH=yes
然后安装nvidia driver就可以了
 楼主| 发表于 2003-10-10 07:53:37 | 显示全部楼层
多谢sd44的指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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