LinuxSir.cn,穿越时空的Linuxsir!

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

2.6.22-2-686 也无法安装Nvidia驱动

[复制链接]
发表于 2007-9-30 18:00:26 | 显示全部楼层 |阅读模式
2.6.22-2-686 lenny/sid  
错误信息:

The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.

不知道怎么解决啊
发表于 2007-9-30 18:49:29 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2007-9-30 19:08:35 | 显示全部楼层
文字描述,gcc版本不一致,你需要使用gcc4.1来编译。或者,你可以用gcc4.2自己编译一遍内核,升级用gcc4.2编译的内核后,再用gcc4.2来编译你要编译的东西。
回复 支持 反对

使用道具 举报

发表于 2007-9-30 20:08:04 | 显示全部楼层
  1. apt-get install gcc-4.1
  2. CC=/usr/bin/gcc-4.1 sh Nvidia....pkg.run
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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