|
|
用的是testing系统,安装了unstable的2.6.20内核和glibc-2.5。安装nvidia的驱动出现了错误。
- $ cat nvidia-installer.log
- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Thu Apr 19 09:32:50 2007
- option status:
- license pre-accepted : false
- update : false
- force update : false
- expert : false
- uninstall : false
- driver info : false
- precompiled interfaces : true
- no ncurses color : false
- query latest version : false
- OpenGL header files : true
- no questions : false
- silent : false
- no recursion : 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
- no kernel module : false
- force SELinux : default
- no X server check : false
- force tls : (not specified)
- X install prefix : (not specified)
- X library install path : (not specified)
- X module install path : (not specified)
- OpenGL install prefix : (not specified)
- OpenGL install libdir : (not specified)
- utility install prefix : (not specified)
- utility install libdir : (not specified)
- doc install prefix : (not specified)
- 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.
- -> There appears to already be a driver installed on your system (version: 1.0-
- 9755). As part of installing this driver (version: 1.0-9755), the existing
- driver will be uninstalled. Are you sure you want to continue? ('no' will a
- bort installation) (Answer: Yes)
- -> 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)
- -> 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.
- -> Performing CC sanity check with CC="cc".
- -> Performing CC version check with CC="cc".
- -> Kernel source path: '/lib/modules/2.6.20-1-686/build'
- -> Kernel output path: '/lib/modules/2.6.20-1-686/build'
- -> Performing rivafb check.
- -> Performing nvidiafb check.
- -> Performing Xen 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-i2c.o nv.o nv
- -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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 -f stprof stprof.o symtab.h Modules.symvers
- rm -f -rf .tmp_versions
- rm -f Makefile
- -> Building kernel module:
- executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.20-1-686/bu
- ild SYSOUT=/lib/modules/2.6.20-1-686/build'...
- sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20-1-686/build /lib/modules/2.6.
- 20-1-686/build cc_sanity_check full_output
- sh ./conftest.sh "cc" "cc" /lib/modules/2.6.20-1-686/build /lib/modules/2.6.
- 20-1-686/build select_makefile full_output
- make --no-print-directory -f Makefile module
-
- NVIDIA: calling KBUILD...
- make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-1-686/build SUBDIRS=/tmp
- /selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv modules
- test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
- echo; \
- echo " ERROR: Kernel configuration is invalid."; \
- echo " include/linux/autoconf.h or include/config/auto.conf are mis
- sing."; \
- echo " Run 'make oldconfig && make prepare' on kernel src to fix it
- ."; \
- echo; \
- /bin/false)
- mkdir -p /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_vers
- ions
- rm -f /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_version
- s/*
- make -f scripts/Makefile.build obj=/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755
- -pkg1/usr/src/nv
- echo \#define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz4812/NVI
- DIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv_compiler.h
- cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv.o
- .d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
- _ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
- ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float
- -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccum
- ulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclu
- de/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclar
- ation-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x86-1
- .0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
- har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
- no-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error
- -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU
- LE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -
- UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGAR
- T_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_
- PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESE
- NT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHA
- NGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"
- KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_nv.o /tmp/sel
- fgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c
- In file included from include/linux/list.h:8,
- from include/linux/wait.h:22,
- from include/asm/semaphore.h:41,
- from include/linux/sched.h:59,
- from include/linux/utsname.h:35,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-linux.h:19,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-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 a
- rithmetic
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: At top level
- :
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:110: warning:
- ‘kmem_cache_t’ is deprecated
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
- ‘__nv_setup_pat_entries’:
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:955: warning:
- comparison between signed and unsigned
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
- ‘__nv_restore_pat_entries’:
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:981: warning:
- comparison between signed and unsigned
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function
- ‘nv_kern_cpu_callback’:
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1287: warning
- : comparison between signed and unsigned
- /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1294: warning
- : comparison between signed and unsigned
- cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-v
- m.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERN
- EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
- totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-flo
- at -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -mac
- cumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iin
- clude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdec
- laration-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x8
- 6-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
- -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O
- -fno-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-erro
- r -D_LOOSE_KERNEL_NAMES -D__
- KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PAT
- CHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPL
- E_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUN
- T_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_IN
- SERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_P
- RESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD
- _STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_
- STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv
- /.tmp_nv-vm.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-v
- m.c
- In file included from include/linux/list.h:8,
- from include/linux/wait.h:22,
- from include/asm/semaphore.h:41,
- from include/linux/sched.h:59,
- from include/linux/utsname.h:35,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-linux.h:19,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-vm.c:14:
- include/linux/prefetch.h: In function ‘prefetch_range’:
- include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
- rithmetic
- cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-a
- gp.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
- NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
- ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-fl
- oat -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -ma
- ccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Ii
- nclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wde
- claration-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x
- 86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
- -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O
- -fno-common -msoft-float
- -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
- -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV
- _PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MUL
- TIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_
- COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_V
- M_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RAN
- GE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KB
- UILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KB
- UILD_STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/s
- rc/nv/.tmp_os-agp.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/n
- v/os-agp.c
- In file included from include/linux/list.h:8,
- from include/linux/wait.h:22,
- from include/asm/semaphore.h:41,
- from include/linux/sched.h:59,
- from include/linux/utsname.h:35,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-linux.h:19,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/os-agp.c:24:
- include/linux/prefetch.h: In function ‘prefetch_range’:
- include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
- rithmetic
- cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-i
- nterface.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -
- D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstr
- ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -ms
- oft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -ffreestandi
- ng -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME
- =1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protecto
- r -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-L
- inux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -W
- format -Wchar-subs
- cripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-commo
- n -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
- _KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_
- VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT
- _RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_S
- YSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_
- PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV
- _REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT
- -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"
- -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86
- -1.0-9755-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz4812/NVIDIA-Linux-x
- 86-1.0-9755-pkg1/usr/src/nv/os-interface.c
- In file included from include/linux/list.h:8,
- from include/linux/wait.h:22,
- from include/asm/semaphore.h:41,
- from include/linux/sched.h:59,
- from include/linux/utsname.h:35,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-linux.h:19,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/os-interface.c:26:
- include/linux/prefetch.h: In function ‘prefetch_range’:
- include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
- rithmetic
- cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.os-r
- egistry.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D
- __KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstri
- ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -mso
- ft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -ffreestandin
- g -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=
- 1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector
- -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/
- selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv -Wall -Wimplicit -Wretu
- rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -
- Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compa
- re -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D
- NVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9755 -UDEBUG
- -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESE
- NT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESS
- AGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV
- _OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAG
- E_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_
- BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
- -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.tmp_os-registr
- y.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-registry.c
- In file included from include/linux/list.h:8,
- from include/linux/wait.h:22,
- from include/asm/semaphore.h:41,
- from include/linux/sched.h:59,
- from include/linux/utsname.h:35,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-linux.h:19,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/os-registry.c:14:
- include/linux/prefetch.h: In function ‘prefetch_range’:
- include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
- rithmetic
- cc -Wp,-MD,/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/.nv-i
- 2c.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
- NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
- ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-fl
- oat -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -ma
- ccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Ii
- nclude/asm-i386/mach-de
- fault -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-stateme
- nt -Wno-pointer-sign -I/tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/sr
- c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
- rentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-fl
- oat -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
- ES -D__KERNEL__ -DMODULE -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -
- DNV_PATCHLEVEL=9755 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_
- MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_M
- AP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DN
- V_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_
- RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D
- "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME
- =KBUILD_STR(nvidia)" -c -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/us
- r/src/nv/.tmp_nv-i2c.o /tmp/selfgz48
- 12/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-i2c.c
- In file included from include/linux/list.h:8,
- from include/linux/wait.h:22,
- from include/asm/semaphore.h:41,
- from include/linux/sched.h:59,
- from include/linux/utsname.h:35,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-linux.h:19,
- from /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
- /nv/nv-i2c.c:8:
- include/linux/prefetch.h: In function ‘prefetch_range’:
- include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
- rithmetic
- ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-975
- 5-pkg1/usr/src/nv/nvidia.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/us
- r/src/nv/nv-kernel.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/
- nv/nv.o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-vm.o /t
- mp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
- 4812/NVIDIA-Linu
- x-x86-1.0-9755-pkg1/usr/src/nv/os-interface.o /tmp/selfgz4812/NVIDIA-Linux-x
- 86-1.0-9755-pkg1/usr/src/nv/os-registry.o /tmp/selfgz4812/NVIDIA-Linux-x86-1
- .0-9755-pkg1/usr/src/nv/nv-i2c.o
- Building modules, stage 2.
- make -f /usr/src/linux-headers-2.6.20-1-686/scripts/Makefile.modpost
- scripts/mod/modpost -m -i /usr/src/linux-headers-2.6.20-1-686/Module.symv
- ers -I /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symv
- ers -o /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/Module.symv
- ers -w /tmp/selfgz4812/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nvidia.o
- FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
- virt_ops'
- make[3]: *** [__modpost] Error 1
- make[2]: *** [modules] Error 2
- NVIDIA: left KBUILD.
- nvidia.ko failed to build!
- make[1]: *** [module] Error 1
- make: *** [module] Error 2
- -> Error.
- ERROR: Unable to build the NVIDIA kernel module.
复制代码 |
|