View previous topic :: View next topic |
Author |
Message |
zbled Apprentice
Joined: 18 Jun 2002 Posts: 216 Location: Bukowski's Piano Bar
|
Posted: Tue Nov 12, 2002 6:28 pm Post subject: Probleme mit NVIDIA-Treibern |
|
|
Hallo zusammen,
ich bekomme bei "emerge nvidia_kernel" folgende fehlermeldung:
Quote: |
root@heisl # emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.3123-r1 to /
>>> md5 ;-) NVIDIA_kernel-1.0-3123.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-3123.tar.gz
* Applying page_alloc.c patch...
>>> Source unpacked.
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:24: linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux/include/linux/spinlock.h:254: warning: `read_unlock' redefined
/usr/include/asm/spinlock.h:204: warning: this is the location of the previous definition
/usr/src/linux/include/linux/spinlock.h:256: warning: `write_unlock' redefined
/usr/include/asm/spinlock.h:205: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/slab.h:14,
from nv-linux.h:56,
from nv.c:14:
/usr/src/linux/include/linux/mm.h:412: warning: `page_address' redefined
/usr/include/asm/pgtable.h:270: warning: this is the location of the previous definition
make: *** [nv.o] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -10, Exitcode 2
!!! (no error message)
|
Habt Ihr vielleicht eine Ahnung, was falsch ich mache? Ich verwende Gentoo 1.2 - und hatte eigentlich nie schwierigkeiten mit den NVIDIA-Treibern.
Danke im Voraus
Martin
P.S.: Die Fehlermeldung kommt auch, wenn ich mir die Treiber von der Nvidia-Homepage runterlade. |
|
Back to top |
|
|
Beforegod Bodhisattva
Joined: 10 Apr 2002 Posts: 1495 Location: Würzburg
|
Posted: Tue Nov 12, 2002 9:53 pm Post subject: |
|
|
Geh mal in Dein /usr/src/linux Verzeichnis,
mache ein
Code: |
make clean && make dep
|
und probiers nochmal danach! |
|
Back to top |
|
|
zbled Apprentice
Joined: 18 Jun 2002 Posts: 216 Location: Bukowski's Piano Bar
|
Posted: Tue Nov 12, 2002 9:57 pm Post subject: |
|
|
okay, hab ich gemacht.. .leider hat es nichts gebracht. kann es vielleicht daran liegen, dass ich einfach die module und das bzimage von von meiner damaligen installation verwende, ohne dass ich den kernel neu kompiliert habe? |
|
Back to top |
|
|
Beforegod Bodhisattva
Joined: 10 Apr 2002 Posts: 1495 Location: Würzburg
|
Posted: Tue Nov 12, 2002 10:06 pm Post subject: |
|
|
Ui..
das solltest Du nicht tun!
In Deinem Fall musst Du noch :
Code: |
make modules && make modules_install && make bzImage
|
machen und dann diesen Kernel verwenden! |
|
Back to top |
|
|
zbled Apprentice
Joined: 18 Jun 2002 Posts: 216 Location: Bukowski's Piano Bar
|
Posted: Tue Nov 12, 2002 10:49 pm Post subject: |
|
|
das bedeutet dann aber auch, dass ich meine alten module vergessen kann, und ich im prinzip gleich den neuen kernel kompilieren kann / muß :)
naja, hab ich wenigstens morgen abend wieder eine beschäftigung.
danke für deine hilfe |
|
Back to top |
|
|
|