pumpkin 发表于 2005-4-15 17:42:38

ML1.2安装后无法安装NVidia驱动,出现错误了

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Mar 28 17:35:19 2005

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
no backup               : false
kernel module only      : false
sanity                  : false
add this kernel         : false
no runlevel check       : false
no network            : false
no ABI note             : false
no RPMs               : false
force tls               : (not specified)
force compat32 tls      : (not specified)
X install prefix      : /usr/X11R6
OpenGL install prefix   : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix: /usr
kernel name             : (not specified)
kernel include path   : (not specified)
kernel source path      : (not specified)
kernel output path      : (not specified)
kernel install path   : (not specified)
proc mount point      : /proc
ui                      : (not specified)
tmpdir                  : /tmp
ftp mirror            : ftp://download.nvidia.com
RPM file list         : (not specified)

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 source path: '/usr/src/linux-2.6.9'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.6.9 SYSOUT=
   /usr/src/linux-2.6.9'...
   
   NVIDIA: calling KBUILD...
   make CC=ccKBUILD_VERBOSE=1 -C /usr/src/linux-2.6.9 SUBDIRS=/tmp/NVIDIA-Lin
   ux-x86-1.0-7174-pkg1/usr/src/nv modules
   Makefile:461: .config: 没有那个文件或目录
   mkdir -p /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_versions
   make -f scripts/Makefile.build obj=/tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/s
   rc/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/NVIDIA-Linux-x
   86-1.0-7174-pkg1/usr/src/nv/nv_compiler.h
   cc -Wp,-MD,/tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.nv.o.d -nostdin
   c -iwithprefix include -D__KERNEL__ -Iinclude-Wall -Wstrict-prototypes -Wn
   o-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -Wdecl
   aration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -fno
   -unit-at-a-time-Iinclude/asm-i386/mach-default -I/tmp/NVIDIA-Linux-x86-1.0
   -7174-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
   r-subscripts -Wparentheses -Wpointer-arith-Wno-multichar-Werror -O -fno-
   common -MD   -Wsign-compare -Wno-cas
   t-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE-DNTRM -D_GNU
   _SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE-DNV_MAJOR_VERSION=1 -D
   NV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7174-DNV_UNIX   -DNV_LINUX   -DNV_INT64
   _OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5_PRE
   SENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLAS
   S_SIMPLE_CREATE_PRESENT -DNV_VMAP_4_PRESENT-DMODULE -DKBUILD_BASENAME=nv -
   DKBUILD_MODNAME=nvidia -c -o /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/
   nv.o /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                  from include/linux/wait.h:23,
                  from include/asm/semaphore.h:41,
                  from include/linux/sched.h:18,
                  from include/linux/module.h:10,
                  from /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linu
   x.h:46,
                  from /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:14
   :
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic
   In file included from include/linux/dmapool.h:14,
                  from include/linux/pci.h:821,
                  from /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linu
   x.h:69,
                  from /tmp/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:14
   :
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:240: warning: wrong type argument to increment
   /bin/sh: scripts/basic/fixdep: 没有那个文件或目录
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   make: *** 错误 1
   make: *** 错误 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make: *** 错误 1
   make: *** 错误 2
-> 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.


scripts/basic/fixdep: 没有那个文件或目录
为什么会有这个问题啊?新安装的ML1.2。

rainli 发表于 2005-4-15 17:55:14

看 置顶: @ML 1.2 版疑难解答汇编(2005.04.12)@

绝对不会有问题。我昨天刚刚装了nv7174的驱动。

dinkey 发表于 2005-4-15 22:10:26

编译安装硬件驱动的必备工作:
cd /usr/src/linux
ln -sf /boot/config-2.6.9 .config
make clean
make oldconfig
make scripts
make prepare-all
页: [1]
查看完整版本: ML1.2安装后无法安装NVidia驱动,出现错误了