|
|

楼主 |
发表于 2007-5-17 01:05:42
|
显示全部楼层
Ͱ下载了一遍,但是又出了新问题。我的系统是10。2,Linux 2.6.18.2-34-default,没更新过kernel,内核源码是安装光盘上的,版本是一致的。但编译好像还是提示找不到内核源码。最后/var/log/nvidia-installer.log内容是这样的:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu May 17 01:17:39 2007
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 : true
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: Yes)
ERROR: Unable to connect to download.nvidia.com (unknown host)
-> 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 source path: '/lib/modules/2.6.18.2-34-default/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> 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=/lib/modules/2.6.18.2-34-def
ault/source SYSOUT=/lib/modules/2.6.18.2-34-default/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
*** Failed rivafb module sanity check, but continuing! ***
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.18.2-34-default/build KBUILD_VERBO
SE=1 -C /lib/modules/2.6.18.2-34-default/source SUBDIRS=/tmp/selfgz4255/NVID
IA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.18.2-34-default/build \
KBUILD_SRC=/usr/src/linux-2.6.18.2-34 \
KBUILD_EXTMOD="/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv" -
f /usr/src/linux-2.6.18.2-34/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/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_version
s/*
make -f /usr/src/linux-2.6.18.2-34/scripts/Makefile.build obj=/tmp/selfgz425
5/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4255/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.2/include -D__KERNEL
__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.18.2-34/include -include includ
e/linux/autoconf.h -I/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
c/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-funct
ion-declaration -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mpr
eferred-stack-boundary=2 -march=i586 -mtune
=generic -mregparm=3 -ffreestanding -I/usr/src/linux-2.6.18.2-34/include/asm
-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/linux-2.6.18.2
-34/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-fra
me-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-a
fter-statement -Wno-pointer-sign -I/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-662
9-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-su
bscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common
-MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D
NTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VE
RSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_
INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT
-DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE
NAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg
z4255/NVIDIA-Linux-x86-1.0-6629-p
g1/usr/src/nv/.tmp_nv.o /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
rc/nv/nv.c
In file included from /usr/src/linux-2.6.18.2-34/include/linux/list.h:8,
from /usr/src/linux-2.6.18.2-34/include/linux/lockdep.h:12,
from /usr/src/linux-2.6.18.2-34/include/linux/spinlock_type
s.h:12,
from /usr/src/linux-2.6.18.2-34/include/linux/spinlock.h:78
,
from /usr/src/linux-2.6.18.2-34/include/linux/capability.h:
45,
from /usr/src/linux-2.6.18.2-34/include/linux/sched.h:44,
from /usr/src/linux-2.6.18.2-34/include/linux/module.h:9,
from /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
/usr/src/linux-2.6.18.2-34/include/linux/prefetch.h: In function ‘prefetch
_range’:
/usr/src/linux-2.6.18.2-34/include/linux/prefetch.h:62: warning: pointer of
type ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.18.2-34/include/linux/dmapool.h:14,
from /usr/src/linux-2.6.18.2-34/include/linux/pci.h:564,
from /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
include2/asm/io.h: In function ‘check_signature’:
include2/asm/io.h:245: warning: wrong type argument to increment
In file included from /tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:201: warning:
initialization from incompatible pointer type
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:223:5: warnin
g: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘nvos_get_agp_device_by_class’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:401: error: i
mplicit declaration of function ‘pci_find_class’
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:401: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:415: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: error: i
mplicit declaration of function ‘pm_register’
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘nvidia_exit_module’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1051: error:
implicit declaration of function ‘pm_unregister’
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1097:5: warni
ng: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_mmap’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1541: error:
implicit declaration of function ‘remap_page_range’
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘_get_phys_address’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning
: passing argument 1 of ‘pmd_offset’ from incompatible pointer type
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘nv_agp_init’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2991: error:
implicit declaration of function ‘inter_module_get’
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: error:
implicit declaration of function ‘inter_module_put’
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
‘nvos_count_devices’:
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:3134: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:3139: warning
: assignment makes pointer from integer without a cast
make[4]: *** [/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz4255/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv] Error 2
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.
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.
大家看看什么原因阿?郁闷死了,上次安装挺顺利的。这次却搞不定了 |
|