把make和gcc装了以后还是报错。一下是报错的内容:
The CC version check faild:
The compiler used to compile the kernel (gcc 4.1) dose not exactly match the current compiler(gcc 4.3).The linux 2.6 kervel moduie loader rejects kernel modules build with a version of gcc that does not exactly match that of the compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check,select "NO" to continue installation.Otherwise,select "YES" to abort installation,set the cc environment variable to the name of the compiler used to compile you kernel ,and restart installation,abort now?
ERROR:Unable to find the kernel source tree for the currently running kernel.Please make sure you have installed the kernel source files for you kernel and that they are properly configured;on Red Hat Linux systems,for example, be sure you have the 'kernel-source' or 'kernel-devel'rpm installed.If you know the correct kernel source files are installed,you may specify the kernel source path with the '--kernel-source-path' command line option.
有什么解决办法吗?详细点的。谢谢了。


xiay 于 2009-09-26 21:51:34发表:
9# thungoder
没必要吗?
thungoder 于 2009-09-26 16:43:31发表:
有必要自己编译安装么?多麻烦
微宝贝 于 2009-09-26 13:25:33发表:
使用ubuntu自己编译安装显卡驱动?我以前试过8.04.1编译成功了也用不了,不知道ubuntu那里搞鬼。所以一直不用ubuntu,像arch suse fedora debian编译安装成功了就搞定了,甚至连设置都可以省略
xiay 于 2009-09-26 13:10:51发表:
6# 微宝贝
解决了 好像是缺少一个到kernel的链接 建了一个链接后就好了 -.-||
微宝贝 于 2009-09-26 13:03:49发表:
已经很明显的告诉你错误了。
第一段告诉你gcc版本不匹配需要4.1但是你是4.3(按说高版本的可以编译啊,你安装的什么2.6那个版本的内核啊?)
第二段告诉你,你可以选择yes或者no,选no的话就忽略gcc匹配了
下面那个error告诉你:没有安装必要的内核源码。不知道你什么版本。要是RedHat系列的你可以试试安装kernel-headers kernel-devel
......
su198902 于 2009-09-26 09:36:57发表:
也可能第4步是NO 偶不太记得了(o):tx
su198902 于 2009-09-26 09:34:59发表:
好像第3步是NO
xiay 于 2009-09-25 23:36:04发表:
晕 没人管 自己顶
xiay 于 2009-09-25 22:02:10发表:
这是截的图片