[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

drivers nvidia sur une sarge 2.6.8-2-k7



bonjour à tous !

Voila, j'eesaie de compiler les drivers nvidia, mais ça ne marche pas.
Au début il disait qu'il manquait modversions.h
je l'ai trouvé dans un répertoire fils par rapport à celui ou il devait être.
Il a alors trouvé le fichier .h
mais après il se plante sur un bon nombre d'erreurs. Ca me parait bizarre qu'il y ai autant d'erreurs.

(mauvaise version de gcc, il faut absolument utiliser gcc-2.95 ?)

en PJ, le fichier de log de nvidia

(je ne peux pas non plus compiler les source du package nvidia-kernel-source.deb)

merci de votre aide !

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct 10 22:31:24 2005

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: true
  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             : 2.6.8-2-k7
  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.
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/lib/modules/2.6.8-2-k7/build'
-> Performing rivafb 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 -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8-2-k7/buil
   d SYSOUT=/lib/modules/2.6.8-2-k7/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/tmp/s
   elfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv modules
   mkdir -p /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/.tmp_ver
   sions
   make -f scripts/Makefile.build obj=/tmp/selfgz10246/NVIDIA-Linux-x86-1.0-767
   6-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz10246/NV
   IDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/.nv.
   o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-pr
   ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float 
   -mpreferred-stack-boundary=2  -march=athlon -Iinclude/asm-i386/mach-default 
   -O2 -fomit-frame-pointer  -I/tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/
   usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscript
   s -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 -D
   _GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=
   1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -UDEBUG -U_DEBUG -DNDEBUG -DNV_
   CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT  -DMODULE -DKBUILD_
   BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz10246/NVIDIA-Linux-x86-
   1.0-7676-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-767
   6-pkg1/usr/src/nv/nv.c
   In file included from include/linux/capability.h:45,
                    from include/linux/sched.h:7,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/spinlock.h: Dans la fonction « bit_spin_lock »:
   include/linux/spinlock.h:415: attention : implicit declaration of function `
   preempt_disable'
   include/linux/spinlock.h: Dans la fonction « bit_spin_unlock »:
   include/linux/spinlock.h:453: attention : implicit declaration of function `
   preempt_enable'
   include/linux/spinlock.h: Dans la fonction « bit_spin_is_locked »:
   include/linux/spinlock.h:464: attention : implicit declaration of function `
   preempt_count'
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: Dans la fonction « prefetch_range »:
   include/linux/prefetch.h:62: attention : usage en arithmétique d'un pointeur
   de type « void * »
   In file included from include/linux/module.h:10,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/sched.h: Dans la fonction « cond_resched_lock »:
   include/linux/sched.h:1048: attention : implicit declaration of function `pr
   eempt_enable_no_resched'
   In file included from include/linux/module.h:19,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/kobject.h: Hors de toute fonction :
   include/linux/kobject.h:224: error: field `attr' has incomplete type
   In file included from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/module.h:214: error: field `attr' has incomplete type
   include/linux/module.h:232: error: field `attr' has incomplete type
   include/linux/module.h: Dans la fonction « __module_get »:
   include/linux/module.h:370: attention : implicit declaration of function `ge
   t_cpu'
   include/linux/module.h:371: attention : implicit declaration of function `pu
   t_cpu'
   In file included from include/linux/mm.h:15,
                    from include/linux/poll.h:11,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:58,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/fs.h: Hors de toute fonction :
   include/linux/fs.h:449: error: `MAXQUOTAS' undeclared here (not in a functio
   n)
   In file included from include/linux/mm.h:15,
                    from include/linux/poll.h:11,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:58,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/fs.h:760: error: field `s_dquot' has incomplete type
   In file included from include/linux/irq.h:72,
                    from include/asm/hardirq.h:6,
                    from include/linux/interrupt.h:12,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv-linux.h:70,
                    from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/hw_irq.h: Dans la fonction « x86_do_profile »:
   include/asm/hw_irq.h:96: attention : implicit declaration of function `smp_p
   rocessor_id'
   Dans le fichier inclus à partir de /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-767
   6-pkg1/usr/src/nv/nv.c:14:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-linux.h:646:2:
   attention : #warning "conftest.sh failed, assuming remap_page_range(4)!"
   In file included from /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/nv/nv.c:14:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-linux.h: Dans 
   la fonction « NV_SET_PAGE_ATTRIB_UNCACHED »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-linux.h:983: a
   ttention : implicit declaration of function `change_page_attr'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_verify_pci_config »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:147: attenti
   on : implicit declaration of function `pci_read_config_word'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:147: error: 
   `PCI_COMMAND' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:147: error: 
   (Each undeclared identifier is reported only once
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:147: error: 
   for each function it appears in.)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:148: error: 
   `PCI_COMMAND_MASTER' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:155: error: 
   `PCI_COMMAND_MEMORY' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:163: attenti
   on : implicit declaration of function `pci_write_config_word'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Hors de tou
   te fonction :
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:219: error: 
   erreur de syntaxe before "pm_request_t"
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:219: attenti
   on : function declaration isn't a prototype
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:232: attenti
   on : `struct pci_device_id' declared inside parameter list
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:232: attenti
   on : its scope is only this definition or declaration, which is probably not
   what you want
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:242: error: 
   elements of array `nv_pci_table' have incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:244: error: 
   unknown field `vendor' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:244: error: 
   `PCI_VENDOR_ID_NVIDIA' undeclared here (not in a function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:244: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:244: attenti
   on : (près de l'initialisation de « nv_pci_table[0] »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:245: error: 
   unknown field `device' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:245: error: 
   `PCI_ANY_ID' undeclared here (not in a function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:245: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:245: attenti
   on : (près de l'initialisation de « nv_pci_table[0] »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:246: error: 
   unknown field `subvendor' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:246: error: 
   `PCI_ANY_ID' undeclared here (not in a function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:246: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:246: attenti
   on : (près de l'initialisation de « nv_pci_table[0] »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:247: error: 
   unknown field `subdevice' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:247: error: 
   `PCI_ANY_ID' undeclared here (not in a function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:247: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:247: attenti
   on : (près de l'initialisation de « nv_pci_table[0] »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:248: error: 
   unknown field `class' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:248: error: 
   `PCI_CLASS_DISPLAY_VGA' undeclared here (not in a function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:248: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:248: attenti
   on : (près de l'initialisation de « nv_pci_table[0] »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:249: error: 
   unknown field `class_mask' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:249: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:249: attenti
   on : (près de l'initialisation de « nv_pci_table[0] »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:254: error: 
   storage size of `__mod_pci_device_table' isn't known
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:256: error: 
   variable `nv_pci_driver' has initializer but incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:257: error: 
   unknown field `name' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:257: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:257: attenti
   on : (près de l'initialisation de « nv_pci_driver »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:258: error: 
   unknown field `id_table' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:258: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:258: attenti
   on : (près de l'initialisation de « nv_pci_driver »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:259: error: 
   unknown field `probe' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:259: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:259: attenti
   on : (près de l'initialisation de « nv_pci_driver »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:261: error: 
   unknown field `suspend' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:261: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:261: attenti
   on : (près de l'initialisation de « nv_pci_driver »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:262: error: 
   unknown field `resume' specified in initializer
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:262: attenti
   on : éléments en excès dans l'initialisation de la structure
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:262: attenti
   on : (près de l'initialisation de « nv_pci_driver »)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nvos_find_agp_capability »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:407: error: 
   `PCI_STATUS' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:408: error: 
   `PCI_STATUS_CAP_LIST' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:412: error: 
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:413: error: 
   `PCI_HEADER_TYPE_NORMAL' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:414: error: 
   `PCI_HEADER_TYPE_BRIDGE' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:415: attenti
   on : implicit declaration of function `pci_read_config_byte'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:415: error: 
   `PCI_CAPABILITY_LIST' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:423: error: 
   `PCI_CAP_LIST_ID' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:424: error: 
   `PCI_CAP_ID_AGP' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:426: error: 
   `PCI_CAP_LIST_NEXT' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nvos_find_pci_express_capability »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:437: error: 
   `PCI_STATUS' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:438: error: 
   `PCI_STATUS_CAP_LIST' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:442: error: 
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:443: error: 
   `PCI_HEADER_TYPE_NORMAL' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:444: error: 
   `PCI_HEADER_TYPE_BRIDGE' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:445: error: 
   `PCI_CAPABILITY_LIST' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:453: error: 
   `PCI_CAP_LIST_ID' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:456: error: 
   `PCI_CAP_LIST_NEXT' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nvos_get_agp_device_by_class »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:467: attenti
   on : implicit declaration of function `pci_find_class'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:467: attenti
   on : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:469: attenti
   on : implicit declaration of function `PCI_SLOT'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:469: error: 
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:471: attenti
   on : implicit declaration of function `PCI_DEVFN'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:472: attenti
   on : implicit declaration of function `pci_find_slot'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:472: error: 
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:472: attenti
   on : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:481: attenti
   on : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_get_pci_device »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:491: attenti
   on : implicit declaration of function `pci_find_device'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:491: attenti
   on : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:493: error: 
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:494: error: 
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:496: attenti
   on : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nvidia_init_module »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:999: attenti
   on : implicit declaration of function `pci_register_driver'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1001: attent
   ion : implicit declaration of function `pci_unregister_driver'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1073: attent
   ion : implicit declaration of function `pm_register'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1073: error:
   `PM_PCI_DEV' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1073: error:
   `PM_SYS_VGA' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1073: attent
   ion : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1170: attent
   ion : implicit declaration of function `pm_unregister'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1181: attent
   ion : implicit declaration of function `release_mem_region'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1181: attent
   ion : implicit declaration of function `pci_resource_start'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1182: attent
   ion : implicit declaration of function `pci_resource_len'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nvidia_exit_module »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1211: attent
   ion : implicit declaration of function `pci_disable_device'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_mmap »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1711: attent
   ion : passage de l'argument n°1 de « remap_page_range » transforme un entier
   en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1711: error:
   incompatible type for argument 4 of `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1711: error:
   too few arguments to function `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1736: attent
   ion : passage de l'argument n°1 de « remap_page_range » transforme un entier
   en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1736: error:
   incompatible type for argument 4 of `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1736: error:
   too few arguments to function `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1780: attent
   ion : passage de l'argument n°1 de « remap_page_range » transforme un entier
   en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1780: error:
   incompatible type for argument 4 of `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1780: error:
   too few arguments to function `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1844: attent
   ion : passage de l'argument n°1 de « remap_page_range » transforme un entier
   en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1844: error:
   incompatible type for argument 4 of `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1844: error:
   too few arguments to function `remap_page_range'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Hors de tou
   te fonction :
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2169: error:
   erreur de syntaxe before "pm_request_t"
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2172: attent
   ion : function declaration isn't a prototype
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_apm_event »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2178: error:
   `rqst' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2178: error:
   `data' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2182: error:
   `dev' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2202: error:
   `PM_RESUME' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2207: error:
   `PM_SUSPEND' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_read_cardinfo »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2377: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_read_agpinfo »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2438: error:
   `PCI_CLASS_BRIDGE_HOST' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2445: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2455: attent
   ion : implicit declaration of function `pci_read_config_dword'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_read_status »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2495: error:
   `PCI_CLASS_BRIDGE_HOST' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:2504: error:
   `PCI_CLASS_DISPLAY_VGA' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nvos_count_devices »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3449: error:
   `PCI_CLASS_DISPLAY_VGA' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3449: attent
   ion : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3452: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3452: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3453: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3455: attent
   ion : affectation transforme un entier en pointeur sans transtypage
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Hors de tou
   te fonction :
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3467: error:
   conflicting types for `nv_kern_probe'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:232: error: 
   previous declaration of `nv_kern_probe'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_probe »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3472: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3472: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3473: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3473: error:
   `PCI_CLASS_DISPLAY_VGA' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3474: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3488: attent
   ion : implicit declaration of function `pci_enable_device'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3495: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3513: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3513: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3513: attent
   ion : implicit declaration of function `PCI_FUNC'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3513: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3514: attent
   ion : implicit declaration of function `pci_resource_flags'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3514: error:
   `PCI_BASE_ADDRESS_MEM_TYPE_64' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3533: attent
   ion : implicit declaration of function `request_mem_region'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3544: attent
   ion : implicit declaration of function `pci_set_master'
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3551: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3552: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3554: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3555: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3562: error:
   `PCI_BASE_ADDRESS_SPACE' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3562: error:
   `PCI_BASE_ADDRESS_SPACE_MEMORY' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3573: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3595: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3599: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_acpi_event »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3665: error:
   `PM_SUSPEND_MEM' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3670: error:
   `PM_SUSPEND_ON' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Dans la fon
   ction « nv_kern_acpi_resume »:
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3702: error:
   `PM_SUSPEND_ON' undeclared (first use in this function)
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: Hors de tou
   te fonction :
   /tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:256: error: 
   storage size of `nv_pci_driver' isn't known
   make[3]: *** [/tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.
   o] Erreur 1
   make[2]: *** [_module_/tmp/selfgz10246/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/sr
   c/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.

Reply to: