LinuxSir.cn,穿越时空的Linuxsir!

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

nforce编译失败求助

[复制链接]
发表于 2006-12-7 22:36:42 | 显示全部楼层 |阅读模式
内核是2.6.17-2-amd64的
是不是少了什么,或是其他什么错误,谢谢!
以下是nvidia-nforce-installer.log
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Thu Dec  7 22:00:45 2006

option status:
  license pre-accepted      : false
  expert                    : false
  uninstall                 : false
  driver info               : false
  no precompiled interface  : true
  no ncurses color          : false
  no questions              : false
  silent                    : false
  Installer install prefix  : /usr
  kernel source path        : /usr/src/linux-headers-2.6.17-2-amd64/
  net kernel install path   : (not specified)
  audio kernel install path : (not specified)
  proc mount point          : /proc
  ui                        : (not specified)
  tmpdir                    : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86_64
-> Found package NVIDIA network driver for Linux-x86_64
-> Please select packages for installation:
   Selections:
   NVIDIA network driver for Linux-x86_64 (1.0-11)
-> Starting install of NVIDIA network driver for Linux-x86_64
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> Trying to remove loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> Not probing for precompiled kernel interfaces.
-> Using the kernel source path '/usr/src/linux-headers-2.6.17-2-amd64/' as
   specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-headers-2.6.17-2-amd64/'
-> Kernel output path: '/lib/modules/2.6.17-2-amd64/build'
-> running command /bin/grep "^PATCHLEVEL ="
   /usr/src/linux-headers-2.6.17-2-amd64//Makefile | /usr/bin/cut -d " " -f 3
-> Kernel module filename is nvnet.ko
   Cleaning kernel module build directory.
   executing: 'cd ./nvnet; make clean'...
   rm -f *.ko *mod.* *.cmd nvenet.o nvenetif.o nvnet.o *~ core
-> Building kernel module:
   executing: 'cd ./nvnet; make module SYSSRC=/usr/src/linux-headers-2.6.17-2-a
   md64/ SYSOUT=/lib/modules/2.6.17-2-amd64/build'...
   make -C /lib/modules/2.6.17-2-amd64/build \
           KBUILD_SRC=/usr/src/linux-headers-2.6.17-2-amd64 \
           KBUILD_EXTMOD="/tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet" -f
   /usr/src/linux-headers-2.6.17-2-amd64/Makefile modules
   mkdir -p /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/.tmp_versio
   ns
   rm -f /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/.tmp_versions/
   *
   make -f /usr/src/linux-headers-2.6.17-2-amd64/scripts/Makefile.build obj=/tm
   p/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet
     cc -Wp,-MD,/tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/.nvenet
   .o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__KER
   NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.17-2-amd64/include -
   include include/linux/autoconf.h  -I/tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-
   0301-pkg1/nvnet -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict
   -aliasing -fno-common -Os -fomit-frame-pointer -m64 -mno-red-zone -mcmodel=k
   ernel -pipe -ffunction-sections -fno-reorder-blocks -W
   no-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -m
   no-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno-pointer-sign
   -DDRIVERVER=\"9999\"  -I/tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nv
   net -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpar
   entheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-e
   rror -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvenet)"  -
   D"KBUILD_MODNAME=KBUILD_STR(nvnet)" -c -o /tmp/selfgz3765/NFORCE-Linux-x86_6
   4-1.0-0301-pkg1/nvnet/.tmp_nvenet.o /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-
   0301-pkg1/nvnet/nvenet.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:42,
                    from include/linux/sched.h:20,
                    from include/linux/module.h:10,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.h:20,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.c:22:
   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/asm/elf.h:11,
                    from include/linux/elf.h:6,
                    from include/linux/module.h:17,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.h:20,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.c:22:
   include/asm/compat.h: In function 'compat_alloc_user_space':
   include/asm/compat.h:202: warning: pointer of type 'void *' used in arithmet
   ic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.h:32,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.c:22:
   include/asm/io.h: In function 'check_signature':
   include/asm/io.h:276: warning: wrong type argument to increment
   In file included from include/asm/pci.h:93,
                    from include/linux/pci.h:685,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.h:32,
                    from /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t/nvenet.c:22:
   include/asm-generic/pci-dma-compat.h: In function 'pci_map_page':
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type 'void *' u
   sed in arithmetic
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c: At top lev
   el:
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:217: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:220: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:223: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:226: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:229: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:232: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:235: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:238: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:241: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:244: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:247: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:250: error:
   expected ')' before string constant
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:334: warnin
   g: initialization from incompatible pointer type
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c: In functio
   n 'nvenet_ioctl':
   /tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet.c:990: error:
   'struct pci_dev' has no member named 'slot_name'
   make[4]: *** [/tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvnet/nvenet
   .o] Error 1
   make[3]: *** [_module_/tmp/selfgz3765/NFORCE-Linux-x86_64-1.0-0301-pkg1/nvne
   t] Error 2
   make[2]: *** [modules] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the network driver has failed.  Please see the file
       '/var/log/nvidia-nforce-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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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