Pilote Nvidia
Bonjour,
Je sais que cette question à été posé nombre de fois mais voila, j'ai bien regardé partout et j'ai fait ce qui été dis mais ca ne marche toujours pas.
Après les downloads pilote et tout le reste qui va bien, ainsi que la vérification du kernel-source, lors de l'installation j'ai le message d'erreur: Unable to build the NVIDIA kernel module. Voici le log:
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.
-> Kernel source path: '/lib/modules/2.6.25.4-1mdvcustom/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25.4-1mdvcu
stom/build SYSOUT=/lib/modules/2.6.25.4-1mdvcustom/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
*** Failed rivafb module sanity check, but continuing! ***
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.25.4-1mdvcustom/build \
KBUILD_SRC=/usr/src/kernel-linus-2.6.25.4-1mdv \
KBUILD_EXTMOD="/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/
nv" -f /usr/src/kernel-linus-2.6.25.4-1mdv/Makefile \
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 /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp
_versions ; rm -f /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/.tmp_versions/*
WARNING: Symbol version dump /usr/src/kernel-linus-2.6.25.4-1mdv/Module.sy
mvers
is missing; modules will have no dependencies and modversions.
make -f /usr/src/kernel-linus-2.6.25.4-1mdv/scripts/Makefile.build obj=/root
/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz859
8/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-manbo-linux-gnu/4.2.3/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernel-linus-2.6.25.4-1mdv/incl
ude -include include/linux/autoconf.h -I/root/tmp/selfgz8598/NVIDIA-Linux-x
86-1.0-6111-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -
fno-stack-protector -m32
-msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i586 -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SI
GNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-ss
e -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/kernel-linus-2.6.25.4-1mdv/includ
e/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fno-omit-frame-pointe
r -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sig
n -I/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -W
implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-e
rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOO
SE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSIO
N=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDE
BUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s
)=#s" -D"KBUILD_BASENAME=KBUILD_STR
nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/tmp/selfgz8598/NVIDI
A-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /root/tmp/selfgz8598/NVIDIA-L
inux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
Dans le fichier inclus à partir de /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.
0-6111-pkg1/usr/src/nv/nv.c:14:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:17
:26: erreur: linux/config.h : Aucun fichier ou répertoire de ce type
In file included from include/linux/list.h:8,
from include/linux/module.h:9,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv-linux.h:52,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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/asm/dma-mapping_32.h:5,
from include/asm/dma-mapping.h:2,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:90,
from include/linux/pci.h:945,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv-linux.h:75,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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 /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv-linux.h:96,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:17
9:5: attention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:20
7:5: attention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
In file included from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv.c:14:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h: I
n function ‘NV_SET_PAGE_ATTRIB_UNCACHED’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:85
2: attention : ‘change_page_attr’ is deprecated (declared at include/asm
/cacheflush.h:28)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h: I
n function ‘NV_SET_PAGE_ATTRIB_CACHED’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:86
4: attention : ‘change_page_attr’ is deprecated (declared at include/asm
/cacheflush.h:28)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: Hors de
toute fonction :
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:220: att
ention : initialization from incompatible pointer type
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:242:5: a
ttention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvos_find_agp_by_class’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: err
eur: implicit declaration of function ‘pci_find_class’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: att
ention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:646: att
ention : ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:
508)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: att
ention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_find_pci_dev’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:667: att
ention : ‘pci_find_device’ is deprecated (declared at include/linux/pci.
h:506)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvidia_init_module’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: er
reur: implicit declaration of function ‘pm_register’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: at
tention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1212: er
reur: valeur void n'a pas été ignorée comme elle aurait dû l'être
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvidia_exit_module’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1248: er
reur: valeur void n'a pas été ignorée comme elle aurait dû l'être
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1279: er
reur: implicit declaration of function ‘pm_unregister’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1325:5:
attention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_kern_open’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: ‘SA_INTERRUPT’ undeclared (first use in this function)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: (Each undeclared identifier is reported only once
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: for each function it appears in.)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: ‘SA_SHIRQ’ undeclared (first use in this function)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1598: at
tention : passing argument 2 of ‘request_irq’ from incompatible pointer
type
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_kern_mmap’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: er
reur: implicit declaration of function ‘remap_page_range’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘_get_phys_address’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:2731: at
tention : passing argument 1 of ‘pmd_offset’ from incompatible pointer t
ype
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_agp_init’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3332: er
reur: implicit declaration of function ‘inter_module_get’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3333: er
reur: implicit declaration of function ‘inter_module_put’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvos_count_devices’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3486: at
tention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3491: at
tention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_acpi_event’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
reur: ‘PM_SAVE_STATE’ undeclared (first use in this function)
make[4]: *** /nv.o Erreur 1
make[3]: *** [_module_/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv] Erreur 2
make[2]: *** [sub-make] 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.
Merci d'avance.
Je sais que cette question à été posé nombre de fois mais voila, j'ai bien regardé partout et j'ai fait ce qui été dis mais ca ne marche toujours pas.
Après les downloads pilote et tout le reste qui va bien, ainsi que la vérification du kernel-source, lors de l'installation j'ai le message d'erreur: Unable to build the NVIDIA kernel module. Voici le log:
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.
-> Kernel source path: '/lib/modules/2.6.25.4-1mdvcustom/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25.4-1mdvcu
stom/build SYSOUT=/lib/modules/2.6.25.4-1mdvcustom/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
*** Failed rivafb module sanity check, but continuing! ***
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.25.4-1mdvcustom/build \
KBUILD_SRC=/usr/src/kernel-linus-2.6.25.4-1mdv \
KBUILD_EXTMOD="/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/
nv" -f /usr/src/kernel-linus-2.6.25.4-1mdv/Makefile \
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 /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp
_versions ; rm -f /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/.tmp_versions/*
WARNING: Symbol version dump /usr/src/kernel-linus-2.6.25.4-1mdv/Module.sy
mvers
is missing; modules will have no dependencies and modversions.
make -f /usr/src/kernel-linus-2.6.25.4-1mdv/scripts/Makefile.build obj=/root
/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz859
8/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-manbo-linux-gnu/4.2.3/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernel-linus-2.6.25.4-1mdv/incl
ude -include include/linux/autoconf.h -I/root/tmp/selfgz8598/NVIDIA-Linux-x
86-1.0-6111-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -
fno-stack-protector -m32
-msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i586 -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SI
GNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-ss
e -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/kernel-linus-2.6.25.4-1mdv/includ
e/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fno-omit-frame-pointe
r -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sig
n -I/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -W
implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-e
rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOO
SE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSIO
N=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDE
BUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s
)=#s" -D"KBUILD_BASENAME=KBUILD_STR
nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/tmp/selfgz8598/NVIDI
A-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /root/tmp/selfgz8598/NVIDIA-L
inux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
Dans le fichier inclus à partir de /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.
0-6111-pkg1/usr/src/nv/nv.c:14:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:17
:26: erreur: linux/config.h : Aucun fichier ou répertoire de ce type
In file included from include/linux/list.h:8,
from include/linux/module.h:9,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv-linux.h:52,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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/asm/dma-mapping_32.h:5,
from include/asm/dma-mapping.h:2,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:90,
from include/linux/pci.h:945,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv-linux.h:75,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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 /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv-linux.h:96,
from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/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
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:17
9:5: attention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:20
7:5: attention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
In file included from /root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv/nv.c:14:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h: I
n function ‘NV_SET_PAGE_ATTRIB_UNCACHED’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:85
2: attention : ‘change_page_attr’ is deprecated (declared at include/asm
/cacheflush.h:28)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h: I
n function ‘NV_SET_PAGE_ATTRIB_CACHED’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:86
4: attention : ‘change_page_attr’ is deprecated (declared at include/asm
/cacheflush.h:28)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: Hors de
toute fonction :
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:220: att
ention : initialization from incompatible pointer type
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:242:5: a
ttention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvos_find_agp_by_class’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: err
eur: implicit declaration of function ‘pci_find_class’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: att
ention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:646: att
ention : ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:
508)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: att
ention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_find_pci_dev’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:667: att
ention : ‘pci_find_device’ is deprecated (declared at include/linux/pci.
h:506)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvidia_init_module’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: er
reur: implicit declaration of function ‘pm_register’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: at
tention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1212: er
reur: valeur void n'a pas été ignorée comme elle aurait dû l'être
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvidia_exit_module’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1248: er
reur: valeur void n'a pas été ignorée comme elle aurait dû l'être
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1279: er
reur: implicit declaration of function ‘pm_unregister’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1325:5:
attention : « NV_ENABLE_MEM_TRACKING » n'est pas défini
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_kern_open’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: ‘SA_INTERRUPT’ undeclared (first use in this function)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: (Each undeclared identifier is reported only once
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: for each function it appears in.)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1597: er
reur: ‘SA_SHIRQ’ undeclared (first use in this function)
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1598: at
tention : passing argument 2 of ‘request_irq’ from incompatible pointer
type
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_kern_mmap’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: er
reur: implicit declaration of function ‘remap_page_range’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘_get_phys_address’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:2731: at
tention : passing argument 1 of ‘pmd_offset’ from incompatible pointer t
ype
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_agp_init’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3332: er
reur: implicit declaration of function ‘inter_module_get’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3333: er
reur: implicit declaration of function ‘inter_module_put’
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nvos_count_devices’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3486: at
tention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3491: at
tention : assignment makes pointer from integer without a cast
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion ‘nv_acpi_event’:
/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
reur: ‘PM_SAVE_STATE’ undeclared (first use in this function)
make[4]: *** /nv.o Erreur 1
make[3]: *** [_module_/root/tmp/selfgz8598/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv] Erreur 2
make[2]: *** [sub-make] 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.
Merci d'avance.
A voir également:
- Pilote Nvidia
- Pilote son windows 10 - Télécharger - Pilotes & Matériel
- Télécharger pilote imprimante hp - Télécharger - Pilotes & Matériel
- Pilote hdmi windows 10 - Télécharger - Pilotes & Matériel
- Pilote webcam logitech - Télécharger - Pilotes & Matériel
- Pilote canon lbp 2900 - Télécharger - Pilotes & Matériel
1 réponse
Il y a plusieurs choses qui ne vont pas. Apparemment tu as un conflit entre riva et nvidia, donc est ce ta carte est bien une nvidia ou pas ? De plus il faut installer au préalable tes linux-headers (ou kernel-headers) pour que l'installation fonctionne correctement. Je t'invite enfin à regarder dans ton gestionnaire de paquet s'il n'y a pas déjà un paquet nvidia tout prêt (genre nvidia-glx, nvidia-kernel etc... ou nom voisin).
Bonne chance
Bonne chance