|
楼主 |
发表于 2008-5-20 10:14:48| 字数 10,538| - 中国–广东–深圳 电信
|
显示全部楼层
昨晚加上了livna源后胡乱的install、update一阵后,可以进行编译了,但过程报错,下面是日志,麻烦您看一下
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue May 20 10:03:47 2008
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
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.25.3-18.fc9.i686/source'
-> Kernel output path: '/lib/modules/2.6.25.3-18.fc9.i686/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25.3-18.fc9
.i686/source SYSOUT=/lib/modules/2.6.25.3-18.fc9.i686/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.25.3-18.fc9.i686/build KBUILD_VERB
OSE=1 -C /lib/modules/2.6.25.3-18.fc9.i686/source SUBDIRS=/tmp/selfgz4120/NV
IDIA-Linux-x86-169.12-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.25.3-18.fc9.i686/build \
KBUILD_SRC=/usr/src/kernels/2.6.25.3-18.fc9.i686 \
KBUILD_EXTMOD="/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv" -f
/usr/src/kernels/2.6.25.3-18.fc9.i686/Makefile \
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/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_versio
ns ; rm -f /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_vers
ions/*
make -f /usr/src/kernels/2.6.25.3-18.fc9.i686/scripts/Makefile.build obj=/tm
p/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.3.0/include -D__KERNEL_
_ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.25.3-18.fc9.i686/include -incl
ude include/linux/autoconf.h -I/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1
/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-ali
asing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-prote
ctor -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-bou
ndary=2 -march=i686 -mtune=generic -mtune=generic -ffreestanding -DCONFIG_AS
_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchron
ous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/kernels/
2.6.25.3-18.fc9.i686/include/asm-x86/mach-generic -Iinclude/asm-x86/mach-gen
eric -I/usr/src/kernels/2.6.25.3-18.fc9.i686/include/asm-x86/mach-default -I
include/asm-x86/mach-default -fno-omit-frame-po
inter -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-poin
ter-sign -I/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wall -W
implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-e
rror -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEBUG -U_
DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(n
v)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4120/NVIDIA-Linu
x-x86-169.12-pkg1/usr/src/nv/nv.o /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pk
g1/usr/src/nv/nv.c
In file included from include/linux/list.h:9,
from include/linux/preempt.h:12,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:30,
from include/linux/time.h:9,
from include/linux/timex.h:58,
from include/linux/sched.h:55,
from include/linux/utsname.h:36,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-linux.h:20,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/asm/dma-mapping_32.h:6,
from include/asm/dma-mapping.h:3,
from include/linux/dma-mapping.h:53,
from include/asm-generic/pci-dma-compat.h:8,
from include/asm/pci.h:91,
from include/linux/pci.h:946,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-linux.h:87,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv.c:15:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-linux.h:110,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
cc -Wp,-MD,/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.nv-vm.
o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.3.0/include -D__KER
NEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.25.3-18.fc9.i686/include -
include include/linux/autoconf.h -I/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-
pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict
-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-p
rotector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack
-boundary=2 -march=i686 -mtune=generic -mtune=generic -ffreestanding -DCONFI
G_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-async
hronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/kern
els/2.6.25.3-18.fc9.i686/include/asm-x86/mach-generic -Iinclude/asm-x86/mach
-generic -I/usr/src/kernels/2.6.25.3-18.fc9.i686/include/asm-x86/mach-defaul
t -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibli
ng-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz41
20/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparenthe
ses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual
-Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEB
UG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD
_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4120/NV
IDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz4120/NVIDIA-Linux-x
86-169.12-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:9,
from include/linux/preempt.h:12,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:30,
from include/linux/time.h:9,
from include/linux/timex.h:58,
from include/linux/sched.h:55,
from include/linux/utsname.h:36,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-linux.h:20,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-vm.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/asm/dma-mapping_32.h:6,
from include/asm/dma-mapping.h:3,
from include/linux/dma-mapping.h:53,
from include/asm-generic/pci-dma-compat.h:8,
from include/asm/pci.h:91,
from include/linux/pci.h:946,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-linux.h:87,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-vm.c:15:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-linux.h:110,
from /tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v/nv-vm.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
‘nv_flush_caches’:
/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c:364: error:
implicit declaration of function ‘global_flush_tlb’
make[4]: *** [/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.
o] Error 1
make[3]: *** [_module_/tmp/selfgz4120/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v] Error 2
make[2]: *** [sub-make] 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.
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. |
|