LinuxSir.cn,穿越时空的Linuxsir!

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

装NVIDIA的时候出现以下提示.安装不了...

[复制链接]
发表于 2003-12-4 19:15:35 | 显示全部楼层 |阅读模式
就是运行
# sh ./NVIDIA-Linux-x86-1.0-4363.run
之后就出现出错.LOG提示是:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Dec  4 18:54:15 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
  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: Yes)
ERROR: Unable to connect to remote host download.nvidia.com (Network is
       unreachable)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Kernel include path: '/lib/modules/2.4.22-1.2115.nptl/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.o  nv-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.22-1.
   2115.nptl/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.  
                                                              
   *** Failed cc sanity check. Bailing out! ***
   make: *** [gcc-check] 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.
发表于 2003-12-4 21:36:49 | 显示全部楼层
你的linux内核安装包安装了没有?就是kernel-source的那个包,没有装的装上去。
 楼主| 发表于 2003-12-4 22:32:57 | 显示全部楼层
NVIDIA_kernel-1.0-4363.tar.gz
是不是这一个啊?
我已经安装了啊.
但是都不可以.
发表于 2003-12-6 16:32:25 | 显示全部楼层
nvidia的显卡就是怪,我也不行,只能认出4M
发表于 2003-12-8 11:05:38 | 显示全部楼层
你的内核与NVIDIA支持的版本不一致! 试一试以下方法:
第一步: sh NVIDIA*.run --extract-only
第二步: cd NVIDIA*
       export IGNORE_CC_MISMATCH=yes
第三步: make install
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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