|
发表于 2003-5-7 18:41:35
|
显示全部楼层
最初由 北南南北 发表
本方法对所有NVIDIA的显卡都有效。前提是必须把kernel source安装上,如果弟兄们升级有错误可能就是gcc或者kernel source没有安装上。如果出现问题,就要把错误信息发上来,这样才能高效解决问题。发帖时不要忘记说自己的所用的版本,以及硬件信息等。多谢。
1]下载显卡的驱动tar包,只要是NVIDIA的,这两个包都适用:
www.linuxsir.cn/driver/nvidia/NVIDIA_GLX-1.0-3123.tar.gz
www.linuxsir.cn/driver/nvidia/NVIDIA_kernel-1.0-3123.tar.gz
安装:[经quanlinking兄指教,make时是有先后顺序的,要先make NVIDIA_kernel-1.0-3123]
# tar zxvf NVIDIA_GLX-1.0-3123.tar.gz
# tar zxvf NVIDIA_kernel-1.0-3123.tar.gz
# cd NVIDIA_kernel-1.0-3123
# make
# cd NVIDIA_GLX-1.0-3123
# make
把/etc/X11中的XF86Config-4文件中的nv改成nvidia。其它注销项目,请见我的XF86Config-4文件。有些版本没有这个文件,可以修改XF86Config文件.
最后一步make出错,请教!!!gcc或者kernel source 怎么装???
[root@ghcw NVIDIA_kernel-1.0-4191]# make
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
[root@ghcw NVIDIA_kernel-1.0-4191]# |
|