URL: https://linuxfr.org/forums/general-general/posts/compilation-nvidia-impossible Title: Compilation Nvidia impossible Authors: Maxime AD Date: 2005年08月05日T16:17:14+02:00 Tags: debian Score: 0 Bonjour, Je suis sous Debian 3.1. J'avais le noyau 2.6.8, et j'ai décidé d'aller vers un noyau plus récent 2.6.12 créé par moi-même. Mais je ne parviens pas à compiler les drivers Nvidia. Le problème semble venir du noyau 2.6.12 (dans mon cas), car il m'a fait ça avec le noyau 2.6.12 précompilé par Debian aussi. Voici le début de mon nvidia-installer.log -> Building kernel module: £spaces£ £/spaces£executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.12/source S £spaces£ £/spaces£YSOUT=/lib/modules/2.6.12/build'... £spaces£ £/spaces£Your kernel was configured to include rivafb support as £spaces£ £/spaces£a loadable kernel module. £spaces£ £/spaces£ £spaces£ £/spaces£The rivafb driver conflicts with the NVIDIA driver; the £spaces£ £/spaces£NVIDIA kernel module will still be built and installed, £spaces£ £/spaces£but be aware that the NVIDIA driver will not be able to £spaces£ £/spaces£function properly if the rivafb module is loaded! £spaces£ £/spaces£ £spaces£ £/spaces£*** Failed rivafb module sanity check, but continuing! *** £spaces£ £/spaces£ £spaces£ £/spaces£ £spaces£ £/spaces£NVIDIA: calling KBUILD... £spaces£ £/spaces£make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.12/build KBUILD_VERBOSE=1 -C /lib/ £spaces£ £/spaces£modules/2.6.12/source SUBDIRS=/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg £spaces£ £/spaces1ドル/usr/src/nv modules £spaces£ £/spaces£make -C /lib/modules/2.6.12/build \ £spaces£ £/spaces£KBUILD_SRC=/usr/src/linux-2.6.12 KBUILD_VERBOSE=1 \ £spaces£ £/spaces£KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1 £spaces£ £/spaces£/usr/src/nv" \ £spaces£ £/spaces£-f /usr/src/linux-2.6.12/Makefile modules £spaces£ £/spaces£mkdir -p /tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_ver £spaces£ £/spaces£sions £spaces£ £/spaces£ £spaces£ £/spaces£WARNING: Symbol version dump /usr/src/linux-2.6.12/Module.symvers £spaces£ £/spaces£is missing; modules will have no dependencies and modversions. £spaces£ £/spaces£ £spaces£ £/spaces£make -f /usr/src/linux-2.6.12/scripts/Makefile.build obj=/tmp/selfgz11866/NV £spaces£ £/spaces£IDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv £spaces£ £/spaces£echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz11866/NV £spaces£ £/spaces£IDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h £spaces£ £/spaces£cc -Wp,-MD,/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv. £spaces£ £/spaces£o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL £spaces£ £/spaces£__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.12/include -I/tmp/selfgz11866/ £spaces£ £/spaces£NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-tri £spaces£ £/spaces£graphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-poin £spaces£ £/spaces£ter -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i386 -I/usr/src/l £spaces£ £/spaces£inux-2.6.12/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default - £spaces£ £/spaces£I/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit £spaces£ £/spaces£-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar £spaces£ £/spaces£ith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_L £spaces£ £/spaces£OOSE_KERNEL_NAMES £spaces£ £/spaces£-D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL £spaces£ £/spaces£__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 - £spaces£ £/spaces£DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV £spaces£ £/spaces£_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -DKBUILD_ £spaces£ £/spaces£BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz11866/NVIDIA-Linux-x86- £spaces£ £/spaces1ドル.0-6629-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz11866/NVIDIA-Linux-x86-1.0-662 £spaces£ £/spaces9ドル-pkg1/usr/src/nv/nv.c £spaces£ £/spaces£Dans le fichier inclus à partir de include/linux/kernel.h:11, £spaces£ £/spaces£à partir de /tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr £spaces£ £/spaces£c/nv/nv-linux.h:51, £spaces£ £/spaces£à partir de /tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr £spaces£ £/spaces£c/nv/nv.c:14: £spaces£ £/spaces£include/linux/linkage.h:5:25: asm/linkage.h : Aucun fichier ou répertoire de £spaces£ £/spaces£ce type Et la fin £spaces£ £/spaces£include/linux/stat.h:69: error: storage size of `mtime' isn't known £spaces£ £/spaces£include/linux/stat.h:70: error: storage size of `ctime' isn't known £spaces£ £/spaces£include/linux/fs.h:279: error: storage size of `ia_atime' isn't known £spaces£ £/spaces£include/linux/fs.h:280: error: storage size of `ia_mtime' isn't known £spaces£ £/spaces£include/linux/fs.h:281: error: storage size of `ia_ctime' isn't known £spaces£ £/spaces£include/linux/quota.h:223: error: storage size of `dq_dqb' isn't known £spaces£ £/spaces£include/linux/fs.h:364: error: storage size of `bd_sem' isn't known £spaces£ £/spaces£include/linux/fs.h:365: error: storage size of `bd_mount_sem' isn't known £spaces£ £/spaces£include/linux/fs.h:440: error: storage size of `i_atime' isn't known £spaces£ £/spaces£include/linux/fs.h:441: error: storage size of `i_mtime' isn't known £spaces£ £/spaces£include/linux/fs.h:442: error: storage size of `i_ctime' isn't known £spaces£ £/spaces£include/linux/fs.h:449: error: storage size of `i_sem' isn't known £spaces£ £/spaces£include/linux/fs.h:450: error: storage size of `i_alloc_sem' isn't known £spaces£ £/spaces£include/linux/fs.h:586: error: storage size of `f_owner' isn't known £spaces£ £/spaces£include/linux/fs.h:772: error: storage size of `s_umount' isn't known £spaces£ £/spaces£include/linux/fs.h:773: error: storage size of `s_lock' isn't known £spaces£ £/spaces£include/linux/fs.h:802: error: storage size of `s_vfs_rename_sem' isn't know £spaces£ £/spaces£n £spaces£ £/spaces£/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:842: e £spaces£ £/spaces£rror: storage size of `tasklet' isn't known £spaces£ £/spaces£/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:853: e £spaces£ £/spaces£rror: storage size of `ldata_lock' isn't known £spaces£ £/spaces£/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:856: e £spaces£ £/spaces£rror: storage size of `at_lock' isn't known £spaces£ £/spaces£/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:208: error: £spaces£ £/spaces£storage size of `nv_fops' isn't known £spaces£ £/spaces£make[4]: *** [/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv. £spaces£ £/spaces£o] Erreur 1 £spaces£ £/spaces£make[3]: *** [_module_/tmp/selfgz11866/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr £spaces£ £/spaces£c/nv] Erreur 2 £spaces£ £/spaces£make[2]: *** [modules] Erreur 2 £spaces£ £/spaces£NVIDIA: left KBUILD. £spaces£ £/spaces£nvidia.ko failed to build! £spaces£ £/spaces£make[1]: *** [module] Erreur 1 £spaces£ £/spaces£make: *** [module] Erreur 2 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file £spaces£ £/spaces£'/var/log/nvidia-installer.log' for details. You may find suggestions £spaces£ £/spaces£on fixing installation problems in the README available on the Linux £spaces£ £/spaces£driver download page at www.nvidia.com. Je n'ai pas mis tout mon nvidia-installer.log car il fait plus que 7000 lignes et les erreurs se ressemblent. Merci beaucoup de vous attarder sur mon problème