Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/12/2008, à 22:14

krodelabestiole

[résolu] erreur compilation nvidia legacy 96.43.07

jessaie d'obtenir l'acceleration graphique avec intrepid et ma GeForce4 Ti 4200
mais

Unable to build the NVIDIA kernel module.

voila mon var/log/nvidia-installer.log :

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Dec 13 21:04:16 2008
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : 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
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  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.
-> Installing NVIDIA driver version 96.43.07.
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27-9-generic/build'
-> Kernel output path: '/lib/modules/2.6.27-9-generic/build'
-> 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=/lib/modules/2.6.27-9-generi
   c/build SYSOUT=/lib/modules/2.6.27-9-generic/build'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-9-generic/build SUBDIRS=
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv 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/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07
   -pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
   _  -Iinclude  -I/usr/src/linux-headers-2.6.27-9-generic/arch/x86/include -in
   clude include/linux/autoconf.h -
   Iubuntu/include  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
   t-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft
   -float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i
   586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-
   unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-
   default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-c
   alls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz6521/N
   VIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw
   itch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
   -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -
   D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.07\" -UDEBUG -U_DEBU
   G -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" 
   -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6521/NVIDIA-Linux-x86
   -96.43.07-pkg1/usr/src/nv/.tmp_nv.
   o /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-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/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/bitops.h: In function ‘set_bit’:
   include/asm/bitops.h:60: attention : pointer of type ‘void *’ used in ar
   ithmetic
   include/asm/bitops.h: In function ‘clear_bit’:
   include/asm/bitops.h:97: attention : pointer of type ‘void *’ used in ar
   ithmetic
   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:57,
                    from include/linux/sched.h:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: attention : pointer of type ‘void *’ used i
   n arithmetic
   In file included from include/linux/utsname.h:35,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:1971: attention : pointer of type ‘void *’ used in
   arithmetic
   In file included from include/asm/dma-mapping.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:94,
                    from include/linux/pci.h:983,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:85,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: attention : pointer of type ‘void *’ us
   ed in arithmetic
   In file included from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h:106:27:
   error: asm/semaphore.h: Aucun fichier ou dossier de ce type
   In file included from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv-linux.h:108,
                    from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:134: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:134: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:134: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:134: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:137: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:137: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:137: attention : pointer of type ‘void *’ used i
   n arithmetic
   include/linux/highmem.h:137: attention : pointer of type ‘void *’ used i
   n arithmetic
   In file included from /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h: In fun
   ction ‘nv_execute_on_all_cpus’:
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv-linux.h:627: er
   reur: too many arguments to function ‘on_each_cpu’
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: In function 
   ‘__nv_setup_pat_entries’:
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:836: attentio
   n : comparaison entre élément signé et élément non signé
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: In function 
   ‘__nv_restore_pat_entries’:
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:862: attentio
   n : comparaison entre élément signé et élément non signé
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c: In function 
   ‘nv_kern_cpu_callback’:
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1188: attenti
   on : comparaison entre élément signé et élément non signé
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1191: erreur:
   too many arguments to function ‘smp_call_function’
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1195: attenti
   on : comparaison entre élément signé et élément non signé
   /tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.c:1198: erreur:
   too many arguments to function ‘smp_call_function’
   make[3]: *** [/tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src/nv/nv.o
   ] Erreur 1
   make[2]: *** [_module_/tmp/selfgz6521/NVIDIA-Linux-x86-96.43.07-pkg1/usr/src
   /nv] Erreur 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Erreur 1
   make: *** [module] Erreur 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.

left kbuild ?
je pige plus rien là ...
si quelqu'un peut dépanner c'est merci

Dernière modification par krodelabestiole (Le 15/12/2008, à 14:17)

Hors ligne

#2 Le 13/12/2008, à 22:55

lykhead

Re : [résolu] erreur compilation nvidia legacy 96.43.07

salut
comment t'y est tu pris pour installer ces drivers???

il te suffit d'installer le paquet nvidia-glx-96 par synaptic

Dernière modification par lykhead (Le 13/12/2008, à 22:55)


il n'y a jamais de bon ou de mauvais choix, uniquement des directions qui diffèrent.
Fedora 35
MSI A320M pro / A10-9700 AMD APU w/ Radeon R7 3,8 GHz / 8Ghz
SSD 120Go / HDD 4To

Hors ligne

#3 Le 14/12/2008, à 16:51

krodelabestiole

Re : [résolu] erreur compilation nvidia legacy 96.43.07

nope ya un probleme avec ces drivers : http://forum.ubuntu-fr.org/viewtopic.php?id=263854
mais bon déjà je crois que j'essaie d'installer le 96.43.07 au lieu du 96.43.09 beta...
faudra que je reteste

mais merci

Dernière modification par krodelabestiole (Le 14/12/2008, à 16:52)

Hors ligne

#4 Le 15/12/2008, à 14:17

krodelabestiole

Re : [résolu] erreur compilation nvidia legacy 96.43.07

probleme résolu en installant les 96.43.09 (effectivement dans les dépots) avec synaptic (et pas le truc de pilote de péripherique)
et pas mal de bidouillage du xorg.conf pour mon cathodique et aussi :

sudo nvidia-xconfig --allow-glx-with-composite --add-argb-glx-visuals -d 24

Dernière modification par krodelabestiole (Le 15/12/2008, à 14:19)

Hors ligne