Open SuSE 10.1: pb compil nvidia

Fermé
BLFL60 - 27 juil. 2006 à 22:29
 BLFL60 - 6 août 2006 à 22:02
Salut
Je veux installer les pilotes nvidia sous SuSE 10.1 (celui d'opensuse.org) mais il me fait des erreurs:

[quote]nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jul 27 18:59:49 2006

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 : true
no questions : false
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: 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 test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16.13-4-default/source'
-> Kernel output path: '/lib/modules/2.6.16.13-4-default/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> 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 -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16.13-4-def
ault/source SYSOUT=/lib/modules/2.6.16.13-4-default/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16.13-4-default/build KBUILD_VERBO
SE=1 -C /lib/modules/2.6.16.13-4-default/source SUBDIRS=/tmp/selfgz3371/NVID
IA-Linux-x86-1.0-8178-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.16.13-4-default/build \
KBUILD_SRC=/usr/src/linux-2.6.16.13-4 \
KBUILD_EXTMOD="/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv" -f
/usr/src/linux-2.6.16.13-4/Makefile modules
rm -rf /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_versio
ns
mkdir -p /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers
ions
make -f /usr/src/linux-2.6.16.13-4/scripts/Makefile.build obj=/tmp/selfgz337
1/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3371/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.0/include -D__KERNEL
__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.13-4/include -include /usr/s
rc/linux-2.6.16.13-4-obj/i386/default/include/linux/autoconf.h -I/tmp/selfg
z3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prot
otypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-alia
sing -fno-common -ffreestanding -Os -fomit-frame-pointer -pipe -msoft-float
-mpreferred-stack-boundary=2 -march=i586 -mtune=generic -mregparm=3 -Iinclud
e/asm-i386/mach-default -I/usr/src/linux-2.6.16.13-4/include/asm-i386/mach-d
efault -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3371/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswi
tch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
-Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_V
ERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRE
SENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KB
UILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-
8178-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg
1/usr/src/nv/nv.c
In file included from /usr/src/linux-2.6.16.13-4/include/linux/list.h:7,
from /usr/src/linux-2.6.16.13-4/include/linux/wait.h:23,
from include2/asm/semaphore.h:41,
from /usr/src/linux-2.6.16.13-4/include/linux/sched.h:20,
from /usr/src/linux-2.6.16.13-4/include/linux/module.h:10,
from /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
/usr/src/linux-2.6.16.13-4/include/linux/prefetch.h: In function ‘prefetch
_range’:
/usr/src/linux-2.6.16.13-4/include/linux/prefetch.h:62: warning: pointer of
type ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.16.13-4/include/linux/dmapool.h:14,
from /usr/src/linux-2.6.16.13-4/include/linux/pci.h:558,
from /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
include2/asm/io.h: In function ‘check_signature’:
include2/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296: warning:
initialization from incompatible pointer type
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvos_get_agp_device_by_class’:
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: error: i
mplicit declaration of function ‘pci_find_class’
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: error:
implicit declaration of function ‘pm_register’
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423: error:
implicit declaration of function ‘pm_unregister’
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_mmap’:
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979: error:
implicit declaration of function ‘remap_page_range’
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvos_count_devices’:
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: warning
: assignment makes pointer from integer without a cast
make[4]: *** [/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz3371/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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.[/quote]

Je précise que j'ai bien installé les sources kernel et entré la commande "init 3" avant...

help please!!!
A voir également:

3 réponses

Zempachi Messages postés 7472 Date d'inscription vendredi 14 octobre 2005 Statut Contributeur Dernière intervention 5 juin 2020 906
28 juil. 2006 à 10:55
Salut, déjà il faut verifier que tu as bien mis les sources de ton kernel.
On obtient la version de son kernel via la commande: uname -r

Ensuite, il est possible je crois d'installer le driver nvidia via le centre de configuration YAST: c'est plus propre et plus facile.
Il faut donc configurer ses depots etensuite passer par YAST pour installer le driver.
Tous les details sont données sur le site alionet.org:
http://wiki.alionet.org/doku.php?id=supports_d_installation_a_ajouter_dans_yast
0
Pour l'histoire des sources, elles sont déjà installés (je précise que j'ai réussi à installer les drivers sous mandriva 2006 mais pas sous suse).

Et pour l'installation par yast, j'ai essayé quelques supports mais je ne trouve pas les drivers.
0
C'est bon. Je viens de réussi avec l'installateur tiny.
Merci Zempachi pour tes conseils!!!
0