![]() |
|
|
|
#1 | |
|
Registered User
Join Date: Nov 2005
Posts: 1
|
Hi, I got problem compiling the driver for: nVidia Corporation NV5M64, RIVA TNT2 Model 64.
I downloaded "NVIDIA-Linux-x86-1.0-6629-pkg1.run", I use a kernel "2.6.12.3", with sources installed under /usr/src/linux, but as I compile I get those errors: from /var/log/nvidia-installer.log ------------------------------------------------------------- nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Nov 6 14:24:16 2005 [cut] 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: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Kernel source path: '/lib/modules/2.6.12.3/source' -> Performing CC test with CC="cc". -> Performing rivafb check. -> Performing rivafb module check. WARNING: Your kernel was configured to include rivafb support as a loadable kernel module. [cut useless text] -> Cleaning kernel module build directory. [cut > Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.12.3/source SYSOUT=/lib/modules/2.6.12.3/build'... [cut] *** Failed rivafb module sanity check, but continuing! *** NVIDIA: calling KBUILD... [cut] make -f /usr/src/linux-2.6.12.3/scripts/Makefile.build obj=/tmp/selfgz4496/N VIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4496/NVI DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o .d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include - D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.12.3/include -I/tmp/s elfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototype s -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit- frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -I/usr/src/linux-2.6.12.3/include/asm-i386/mach-default -Iinclude/asm-i386/m ach-default -I/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wa ll -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthese s -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -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_V ERS ION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -U DEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_P RESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV _PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv.o /t mp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-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/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-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:864, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-linux.h:75, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:253: warning: wrong type argument to increment /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function `_get_phys_address': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning : passing arg 1 of `pmd_offset' from incompatible pointer type /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function `nv_agp_init': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2991: warning : implicit declaration of function `inter_module_get' /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning : `inter_module_put' is deprecated (declared at include/linux/module.h:568) cc -Wp,-MD,/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v m.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/includ e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.12.3/include -I/tm p/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-protot ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fom it-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athl on -I/usr/src/linux-2.6.12.3/include/asm-i386/mach-default -Iinclude/asm-i38 6/mach-default -I/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qua l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURC E -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINO R_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_ X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ A TTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME =nvidia -c -o /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp _nv-vm.o /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-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/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-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:864, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-linux.h:75, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-vm.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:253: warning: wrong type argument to increment /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le vel: /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin g: `cache_flush' defined but not used cc -Wp,-MD,/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a gp.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/inclu de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.12.3/include -I/t mp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-proto types -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fo mit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=ath lon -I/usr/src/linux-2.6.12.3/include/asm-i386/mach-default -Iinclude/asm-i3 86/mach-default -I/tmp/selfgz4496/NVIDIA-Linux-x86-1.0 -6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha r-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-co mmon -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODU LE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJ OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRE SENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLAS S_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAM E=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz4496/NVIDIA-Linux-x86-1.0- 6629-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629 -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/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-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:864, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/nv-linux.h:75, from /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv/os-agp.c:24: include/asm/io.h: In function `check_signature': include/asm/io.h:253: warning: wrong type argument to increment /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top l evel: /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error : syntax error before '*' token /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni ng: type defaults to `int' in declaration of `drm_agp_p' /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni ng: data definition has no type or storage class /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct ion `KernInitAGP': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni ng: assignment discards qualifiers from pointer target type /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error : request for member `acquire' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni ng: `inter_module_put' is deprecated (declared at include/linux/module.h:568 ) /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: erro r: request for member `copy_info' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: erro r: request for member `enable' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: erro r: request for member `release' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct ion `KernTeardownAGP': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: erro r: request for member `release' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct ion `KernAllocAGPPages': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: erro r: request for member `allocate_memory' in something not a structure or unio n /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: erro r: request for member `bind_memory' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: erro r: request for member `unbind_memory' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: erro r: request for member `free_memory' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct ion `KernMapAGPPages': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: erro r: request for member `unbind_memory' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct ion `KernFreeAGPPages': /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: erro r: request for member `unbind_memory' in something not a structure or union /tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: erro r: request for member `free_memory' in something not a structure or union make[4]: *** [/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-a gp.o] Error 1 make[3]: *** [_module_/tmp/selfgz4496/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv] Error 2 make[2]: *** [modules] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 -> Error. ERROR: Unable to build the NVIDIA kernel module. ------------------------------------------------------------- Any Ideas? |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,573
|
Please install 1.0-7174, instead.
|
|
|
|
|
| Sponsored Ads - Guests Only | ||
|
|
![]() |
| Shop Online | |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|