nVIDIA显卡驱动问题各位老大来帮我看看
我是从硬盘全新安装的红帽9这是安装失败的日志
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr 25 15:19:27 2003
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
no OpenGL header files: false
no questions : false
silent : false
XFree86 install prefix: /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel include path: '/lib/modules/2.4.20-9/build/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.onv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.20-9/
build/include'...
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.
[1;31m*** Failed cc sanity check. Bailing out! ***
Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.Please see the file
'/var/log/nvidia-installer.log' for details.You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
他说编译器有问题,但我是全新安装的系统,应该不会右问题,而且我也试着编译了一个hello.c没有问题,求各位老大帮帮忙,看看怎么办 你装了本站提供的内核?
那是用gcc3.2编译的,结果你编译的nvidia驱动是用rh9的gcc3.2.2编译的,加载nvdiia.o时就产生内核所用gcc和模块所用gcc不一致的错误,要解决的话,两个方法:
1.使用官方的内核,这样gcc版本一致
2.保留内核,按上面信息提示,设置IGNORE_CC_MISMATCH标志编译nvidia驱动,见下面链接:
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&p=82883#82883 你估计的不错,多谢
页:
[1]