|
驱动程序版本:
NVIDIA-Linux-x86-1.0-6111-pkg1.run
显卡型号:nVidia Corporation NV15 [GeForce2 GTS/Pro]
我按照前面的帖子提供的方法在text模式下sh NV*,安装进行到build时程序提示出错,下面是
nvidia-install.log文件节录:
-> 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.
-> Using the kernel source path '/usr/src/linux' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux'
-> Performing cc_version_check 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 os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
rc/linux'...
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 -C /usr/src/linux \
KBUILD_SRC=/usr/src/linux-2.6.11.4-20a KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/
usr/src/nv" \
-f /usr/src/linux-2.6.11.4-20a/Makefile modules
mkdir -p /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
ions
WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is
missing; modules will have no modversions.
make -f /usr/src/linux-2.6.11.4-20a/scripts/Makefile.build obj=/tmp/selfgz75
30/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz7530/NVI
DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i586-suse-linux/3.3.5/include -D__KER
NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11.4-20a/include -I/tmp/sel
fgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-fr
ame-pointer -g -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-
a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.11.4-20a/include/asm-i38
6/mach-default -Iinclude/asm-i386/mach-default -I/tmp/selfgz7530/NVIDIA-Lin
ux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfo
rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
-O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
L__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODUL
E -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEB
UG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUILD
_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz7530/NVIDIA-Linux-x86-
1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111
-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:19,
from include/linux/module.h:10,
from /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-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:865,
from /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvos_find_agp_by_class':
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: warning
: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1279: warning
: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: warning
: `remap_page_range' is deprecated (declared at include/linux/mm.h:839)
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1784: warning
: `remap_page_range' is deprecated (declared at include/linux/mm.h:839)
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1902: warning
: `remap_page_range' is deprecated (declared at include/linux/mm.h:839)
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-pk*** [_module_/tmp/selfgz7530/NVIDIA-Linux-x86-1.0-6111-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.
前面一段说的是与rivafb模块有冲突,不知道忽略会不会造成什么问题,后面的我就看不懂了~~
我换用NVIDIA-Linux-x86-1.0-6111-pkg1.run时仍然如此。。。郁闷
请高手指点,先谢了! |
|