...............
-Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LO
OSE_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=7174 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
-UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_P
AGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=
#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvi
dia)" -c -o /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_o
s-agp.o /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-agp.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-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:564,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
In file included from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:241:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:269:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -
D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstr
ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -ms
oft-float -mpreferred-stack-boundary=2 -march=i486 -mregparm=3 -ffreestand
ing -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protect
or -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5653/NVIDIA-
Linux-x86-1.0-7174-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -
Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-
multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-e
rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERS
ION=0 -DNV_PATCHLEVEL=7174 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU
_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DN
V_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUI
LD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAM
E=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/u
sr/src/nv/.tmp_os-interface.o /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1
/usr/src/nv/os-interface.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:12,
from include/linux/spinlock_types.h:12,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-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:564,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/nv-linux.h:69,
from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
In file included from /tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv/os-interface.c:26:
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:241:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:269:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c:667
:5: warning: "DEBUG" is not defined
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c:679
:5: warning: "DEBUG" is not defined
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c: In
function 'os_set_mlock_capability':
/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c:126
2: error: 'struct task_struct' has no member named 'rlim'
make[3]: *** [/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-i
nterface.o] Error 1
make[2]: *** [_module_/tmp/selfgz5653/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
/nv] 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.
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.