Hallo ich habe folgendes Problem,
und zwar habe ich ein OpenSuSE 11.2 installiert. Habe anschließend KDE4 deinstalliert und ein KDE3 installiert.
Jetzt möchte ich einen NVIDIA Treiber installieren. Habe auch schon alle nötigen Pakete installiert, aber es kommt immer die Meldung : ERROR: Unable to build the nvidia kernel module.
Das steht in dem Log File:
Code
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Mar 25 10:20:36 2010
installer version: 1.0.7
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 195.30.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> 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=/usr/src/linux SYSOUT=/usr/s
rc/linux'...
NVIDIA: calling KBUILD...
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/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/nv/.tmp_versio
ns ; rm -f /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/nv/.tmp_vers
ions/*
WARNING: Symbol version dump /usr/src/linux-2.6.31.12-0.2/Module.symvers
is missing; modules will have no dependencies and modversions.
make -f scripts/Makefile.build obj=/tmp/selfgz5012/NVIDIA-Linux-x86-195.30-p
kg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.4/include -Iinclude -I/u
sr/src/linux-2.6.31.12-0.2/arch/x86/include -include include/linux/autoconf.
h -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror
-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer
-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-st
ack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestandin
g -fstack-protector -fstack-protector-all -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_
SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dno
w -Wframe-larger-than=2048 -fno-omit-frame-pointer -fno-optimize-sibling-cal
ls -fasynchronous-unwind-tables -g -Wdeclaration-after-statement -Wno-pointe
r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -I/tmp/selfgz5012/NVIDIA-Lin
ux-x86-195.30-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wform
at -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -f
no-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMOD
ULE -DNVRM -DNV_VERSION_STRING=\"195.30\" -UDEBUG -U_DEBUG -DNDEBUG -DMODUL
E -D"KBUILD_STR(s)=#s" -D"KBUILD_BAS
ENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=1
2" -D"DEBUG_HASH2=16" -c -o /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr
/src/nv/.tmp_nv.o /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/nv/nv
.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:21,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:64: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:102: warning: pointer of type ‘void *’ used in arit
hmetic
include/asm/bitops.h: In function ‘change_bit’:
include/asm/bitops.h:178: warning: pointer of type ‘void *’ used in arit
hmetic
In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:21,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
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/mmzone.h:2,
from include/linux/mmzone.h:773,
from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/sched.h:75,
from include/linux/utsname.h:35,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:21,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
include/asm/mmzone_32.h: In function ‘pfn_valid’:
include/asm/mmzone_32.h:87: warning: comparison between signed and unsigned
integer expressions
In file included from include/linux/utsname.h:35,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:21,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2196: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/io.h:22,
from include/linux/pci.h:54,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:92,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
include/asm/io.h: In function ‘writeq’:
include/asm/io.h:70: warning: pointer of type ‘void *’ used in arithmeti
c
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:129,
from include/linux/pci.h:1129,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:92,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
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 include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:129,
from include/linux/pci.h:1129,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:92,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv-linux.h:119,
from /tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:151: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:151: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:151: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:151: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:154: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:154: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:154: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:154: warning: pointer of type ‘void *’ used in a
rithmetic
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[3]: *** [/tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/nv/nv.o]
Error 1
make[2]: *** [_module_/tmp/selfgz5012/NVIDIA-Linux-x86-195.30-pkg1/usr/src/n
v] 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.
Alles anzeigen
Was mache ich falsch? ![]()