Bonjour, tous, je vien de compiler un noyau 2.6.16. Et voulant compiler
le module nvidia j'ai eu des erreurs de compilation, j'ai essayer aussi
avec l'installeur nvidia, même soucis :-(.
Je met le log defois que quelqu'un a eu ce soucis la et connaisse une
soluce.
Code:
nvidia-installer
creation time: Fri Mar 24 14:42:31 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.
-> There appears to already be a driver installed on your system
(version: 1.0-
8178). As part of installing this driver (version: 1.0-8178), the
existing driver will be uninstalled. Are you sure you want to
continue? ('no' will a
bort installation) (Answer: Yes)
-> 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/source'
-> Kernel output path: '/lib/modules/2.6.16/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/source S
YSOUT=/lib/modules/2.6.16/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16/build KBUILD_VERBOSE=1
-C /lib/
modules/2.6.16/source
SUBDIRS=/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1
/usr/src/nv modules
make -C /lib/modules/2.6.16/build \
KBUILD_SRC=/home/bloodaxe/Documents/Kernel/linux-2.6.16 \
KBUILD_EXTMOD="/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv" -
f /home/bloodaxe/Documents/Kernel/linux-2.6.16/Makefile modules
mkdir -p
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers
ions
make -f
/home/bloodaxe/Documents/Kernel/linux-2.6.16/scripts/Makefile.build
obj=/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
/tmp/selfgz6340/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h
cc
-Wp,-MD,/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include
-D__KERNEL_
_ -Iinclude -Iinclude2
-I/home/bloodaxe/Documents/Kernel/linux-2.6.16/includ
e -include include/linux/autoconf.h
-I/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-
8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-s
trict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer
-pipe -ms
oft-float -mpreferred-stack-boundary=2 -march=athlon
-I/home/bloodaxe/Docume
nts/Kernel/linux-2.6.16/include/asm-i386/mach-default
-Iinclude/asm-i386/mac
h-default -Wdeclaration-after-statement -Wno-pointer-sign
-I/tmp/selfgz6340
/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit
-Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multich
ar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual
-Wno-error -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI
-DNV_MAJO
R_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG
-U_DEBUG -DNDE
BUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT
-DNV_CHANGE_PAGE_ATTR_PRESENT -DMOD
ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
-D"KBUILD_MODNA
ME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6340/NVID
IA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv.o
/tmp/selfgz6340/NVIDIA-Linux
-x86-1.0-8178-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used
in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz6340/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/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: At
top level
:
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296:
warning:
initialization from incompatible pointer type
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In
function 'nvos_get_agp_device_by_class':
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502:
warning:
implicit declaration of function 'pci_find_class'
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502:
warning:
assignment makes pointer from integer without a cast
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516:
warning:
assignment makes pointer from integer without a cast
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In
function 'nvidia_init_module':
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305:
warning
: implicit declaration of function 'pm_register'
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305:
warning
: assignment makes pointer from integer without a cast
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423:
warning
: implicit declaration of function 'pm_unregister'
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In
function 'nv_kern_mmap':
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979:
warning
: implicit declaration of function 'remap_page_range'
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In
function 'nvos_count_devices':
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641:
warning
: assignment makes pointer from integer without a cast
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647:
warning
: assignment makes pointer from integer without a cast
cc
-Wp,-MD,/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include
-D__KERN
EL__ -Iinclude -Iinclude2
-I/home/bloodaxe/Documents/Kernel/linux-2.6.16/inc
lude -include include/linux/autoconf.h
-I/tmp/selfgz6340/NVIDIA-Linux-x86-1
.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fn
o-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=athlon -I/home/bloodaxe/Doc
uments/Kernel/linux-2.6.16/include/asm-i386/mach-default
-Iinclude/asm-i386/
mach-default -Wdeclaration-after-statement -Wno-pointer-sign
-I/tmp/selfgz6
340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit
-Wreturn-type
-Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multi
char -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual
-Wno-error -D_
LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI
-DNV_MA
JOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHL
EVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DN
V_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=
KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/tmp/selfgz6
340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv-vm.o
/tmp/selfgz6340/N
VIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used
in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
/tmp/selfgz6340/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)!"
cc
-Wp,-MD,/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include
-D__KER
NEL__ -Iinclude -Iinclude2
-I/home/bloodaxe/Documents/Kernel/linux-2.6.16/in
clude -include include/linux/autoconf.h
-I/tmp/selfgz6340/NVIDIA-Linux-x86-
1.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -f
no-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe
-msoft-float -mpreferred-stack-boundar
y=2 -march=athlon
-I/home/bloodaxe/Documents/Kernel/linux-2.6.16/include/asm
-i386/mach-default -Iinclude/asm-i386/mach-default
-Wdeclaration-after-state
ment -Wno-pointer-sign
-I/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr
/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -
Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common
-MD -Wsig
n-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMOD
ULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -D
NV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG
-DNV_MULTIPLE_BRIDGE_AGPGART_PR
ESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_
BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /t
mp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_os-agp.o
/tmp/s
elfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-agp.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used
in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz6340/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)!"
cc
-Wp,-MD,/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.0.3/include -
D__KERNEL__ -Iinclude -Iinclude2
-I/home/bloodaxe/Documents/Kernel/linux-2.6
.16/include -include include/linux/autoconf.h
-I/tmp/selfgz6340/NVIDIA-Linu
x-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes
-Wno-trigra
phs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer
-pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon
-I/home/blooda
xe/Documents/Kernel/linux-2.6.16/include/asm-i386/mach-default
-Iinclude/asm
-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign
-I/tmp/s
elfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit
-Wretur
n-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wpointer-arith -Wn
o-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual
-Wno-er
ror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNV
RM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=8
178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT
-DNV_CHAN
GE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD
_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/tmp/selfgz
6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_os-interface.o
/tmp/self
gz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used
in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
/tmp/selfgz6340/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/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:
In
function 'os_set_mlock_capability':
/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137
5: error: 'struct task_struct' has no member named 'rlim'
make[4]: ***
[/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i
nterface.o] Erreur 1
make[3]: ***
[_module_/tmp/selfgz6340/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv] Erreur 2
make[2]: *** [modules] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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
merci
driver download page at www.nvidia.com.