I am running the right script from nvidia:
Code:
sh NVIDIA-Linux-x86-100.14.09-pkg1.run
and get this error message:
nvidia.ko failed to build!
Code:
de/linux/autoconf.h -I/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s
rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
ed-stack-boundary=2 -march=i686
-ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI
_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.2/include/asm-i386/mach-default -Iin
clude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdecl
aration-after-statement -Wno-pointer-sign -I/tmp/selfgz3520/NVIDIA-Linux-x8
6-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.09\"
-UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGA
RT_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV
_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRES
ENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CH
ANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT
-DMODULE -D"KBUILD_STR(s)=#s" -D"K
BUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
-o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_nv-i2c.o
/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-i2c.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
c/nv/nv-i2c.c:8:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
cc -Wp,-MD,/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.nva
cpi.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KE
RNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.2/include -include inclu
de/linux/autoconf.h -I/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s
rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
ed-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args -D
CONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.2/inc
lude/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-poin
ter -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I
/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -W
no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -
DNV_VERSION_STRING=\"100.14.09\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUC
T_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_
SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_P
M_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESEN
T -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHAN
GE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -D
MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUIL
D_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.
09-pkg1/usr/src/nv/.tmp_nvacpi.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-
pkg1/usr/src/nv/nvacpi.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
c/nv/nvacpi.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.
09-pkg1/usr/src/nv/nvidia.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/
usr/src/nv/nv-kernel.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s
rc/nv/nv.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-vm.
o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-agp.o /tmp/s
elfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-interface.o /tmp/sel
fgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-registry.o /tmp/selfgz
3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz3520/NVI
DIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nvacpi.o
Building modules, stage 2.
make -f /usr/src/linux-2.6.21.2/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-2.6.21.2/Module.symvers -I /tmp/
selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Module.symvers -o /tmp
/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Module.symvers -w vml
inux /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nvidia.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
virt_ops'
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] 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.
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.