Kod: Zaznacz cały
# rm /usr/bin/gcc
# ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
Kod: Zaznacz cały
# rm /usr/bin/gcc
# ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
Nie będę zaczynał nowego tematu, a ciekawi mnie kwestia ustawienia starszej wersji jako domyślnego kompilatora. Opisywana tu sytuacja zdarzyła mi sie na jednym systemów (na Lennym, któremu doinstalowałem jajko 2.6.22-2) i na jednym z for znalazłem też takie właśnie rozwiązanie problemu. Czy teraz mogę sobie w ten sam sposób bez problemu ustawić jako domyślny gcc-4.2 (czy jest sens? czy to w ogóle będzie lepiej?).ruun pisze:Gonzo, no to teraz zrób jako root:
(to ustawi Ci gcc 4.1 jako domyśly kompilator) i wystartuj instalator jeszcze raz (--uninstall nie używaj, instalator sam posprząta co trzeba przy instalacji).Kod: Zaznacz cały
# rm /usr/bin/gcc # ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
Kod: Zaznacz cały
/usr/src/linux-kbuild-2.6.22/scripts/mod does not exist or is not directory
Kod: Zaznacz cały
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Oct 12 16:45:58 2007
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : 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
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
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 : [url]ftp://download.nvidia.com[/url]
RPM file list : (not specified)
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 ([url]ftp://download.nvidia.com[/url])? (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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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-i2c.o nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.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 Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
rc/linux'...
sh ./conftest.sh "cc" "cc" /usr/src/linux /usr/src/linux cc_sanity_check ful
l_output
sh ./conftest.sh "cc" "cc" /usr/src/linux /usr/src/linux select_makefile ful
l_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz112555529/
usr/src/nv 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 /tmp/selfgz112555529/usr/src/nv/.tmp_versions
rm -f /tmp/selfgz112555529/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz112555529/usr/src/nv
cp /tmp/selfgz112555529/usr/src/nv/nv-kernel.o /tmp/selfgz112555529/usr/src/
nv/nv-kernel.o
cp: cannot stat `/tmp/selfgz112555529/usr/src/nv/nv-kernel.o': No such file
or directory
make[3]: *** [/tmp/selfgz112555529/usr/src/nv/nv-kernel.o] Error 1
make[2]: *** [_module_/tmp/selfgz112555529/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 [url]www.nvidia.com[/url].
Kod: Zaznacz cały
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Oct 13 19:53:12 2007
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : 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
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : /usr/src/linux-headers-2.6.22-2-486/
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : [url]ftp://download.nvidia.com[/url]
RPM file list : (not specified)
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 ([url]ftp://download.nvidia.com[/url])? (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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/usr/src/linux-headers-2.6.22-2-486/' as
specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-headers-2.6.22-2-486/'
-> Kernel output path: '/usr/src/linux-headers-2.6.22-2-486/'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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-i2c.o nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.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 Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-headers-2.6.2
2-2-486/ SYSOUT=/usr/src/linux-headers-2.6.22-2-486/'...
sh ./conftest.sh "cc" "cc" /usr/src/linux-headers-2.6.22-2-486/ /usr/src/lin
ux-headers-2.6.22-2-486/ cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /usr/src/linux-headers-2.6.22-2-486/ /usr/src/lin
ux-headers-2.6.22-2-486/ select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-headers-2.6.22-2-486/ SUBDIRS
=/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv 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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/.
tmp_versions
rm -f /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/.tmp
_versions/*
make -f scripts/Makefile.build obj=/home/cyberbob/Desktop/NVIDIA-Linux-x86-1
00.14.19-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /home/cyberbob/Desk
top/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D_
_KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstric
t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -mso
ft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -marc
h=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_
CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-
frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-point
er-sign -I/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
eses -Wpointer-arith -Wno-multichar -Werror -MD -W
sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -UDEBUG -U_DEBUG -DNDEBUG -D
NV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLAS
S_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_P
CI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPO
INT_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -D
NV_KMEM_CACHE_CREATE_6_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRE
SENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"K
BUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/cyberbob/Desktop/NVIDIA-Linux-
x86-100.14.19-pkg1/usr/src/nv/.tmp_nv.o /home/cyberbob/Desktop/NVIDIA-Linux-
x86-100.14.19-pkg1/usr/src/nv/nv.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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-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 a
rithmetic
cc -Wp,-MD,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -
msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_
AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fom
it-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-po
inter-sign -I/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.1
4.19-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar
-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsig
n-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMOD
ULE -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_
SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_P
RESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_
CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT
_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_
KMEM_CACHE_CREATE_6_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESEN
T -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"K
BUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/cyberbob/Desktop/NVIDIA-Linux-
x86-100.14.19-pkg1/usr/src/nv/.tmp_nv-vm.o /home/cyberbob/Desktop/NVIDIA-Lin
ux-x86-100.14.19-pkg1/usr/src/nv/nv-vm.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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-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 a
rithmetic
cc -Wp,-MD,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -
msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_
AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclud
e/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclara
tion-after-statement -Wno-pointer-sign -I/home/cyberbob/Desktop/NVIDIA-Linux
-x86-100.14.19-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfor
mat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -
MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERN
EL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -UDEBUG -U_DEBUG -DND
EBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_G
ET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
-DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_B
REAKPOINT_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_REMAP_PFN_RANGE_PRES
ENT -DNV_KMEM_CACHE_CREATE_6_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP
_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_a
gp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/cyberbob/Desktop/NVI
DIA-Linux-x86-100.14.19-pkg1/usr/sr
c/nv/.tmp_os-agp.o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/us
r/src/nv/os-agp.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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-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 a
rithmetic
cc -Wp,-MD,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/i
nclude -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os
-pipe -msoft-float -mregparm=3 -fre
g-struct-return -mpreferred-stack-boundary=2 -march=i486 -mtune=generic -ff
reestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIG
NAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack
-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/home/cyberbob/
Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn
-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno
-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -
UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGAR
T_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_PRESE
NT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV
_REMAP_PFN_RANGE_PRESENT -DNV_KMEM_CACHE_CREATE_6_PRESENT -DNV_CHANGE_PAGE_A
TTR_PRESENT -DNV_VMAP_4_PRESENT -DM
ODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"
KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/cyberbob/Desktop/NVIDIA-Linux
-x86-100.14.19-pkg1/usr/src/nv/.tmp_os-interface.o /home/cyberbob/Desktop/NV
IDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/os-interface.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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-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 a
rithmetic
cc -Wp,-MD,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/in
clude -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wunde
f -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -
pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary
=2 -march=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DC
ONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-defaul
t -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -
Wno-pointer-sign -I/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/us
r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -W
no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -
DNV_VERSION_STRING=\"100.14.19\" -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_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE
_PRESENT -DNV_VM_INSERT_PAG
E_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESE
NT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_KMEM_CACHE_CREATE_6_PRESENT -DNV_CHANGE
_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBU
ILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/.tmp
_os-registry.o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/sr
c/nv/os-registry.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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/os-registry.c:14:
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,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -
msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_
AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fom
it-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-po
inter-sign -I/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cas
t-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
RSION_STRING=\"100.14.19\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNA
L_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESEN
T -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOS
E_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRES
ENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_KMEM_
CACHE_CREATE_6_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -D
MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUIL
D_MODNAME=KBUILD_STR(nvidia)" -c -o /home/cyberbob/Desktop/NVIDIA-Linux-x86-
100.14.19-pkg1/usr/src/nv/.tmp_nv-i2c.o /home/cyberbob/Desktop/NVIDIA-Linux-
x86-100.14.19-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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/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,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.nvacpi.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -
msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_
AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fom
it-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-po
inter-sign -I/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL
__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -UDEBUG -U_DEBUG -DNDEB
UG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_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_PRESENT -DNV_OLD_MM_KGDB_BR
EAKPOINT_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_REMAP_PFN_RANGE_PRESE
NT -DNV_KMEM_CACHE_CREATE_6_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacp
i)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/cyberbob/Desktop/NVID
IA-Linux-x86-100.14.19-pkg1/usr/src/nv/.tmp_nvacpi.o /home/cyberbob/Desktop/
NVIDIA-Linux-x86-100.14.19-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 /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/nv/nv-linux.h:19,
from /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1
/usr/src/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 --defsym paravirt_ops=0xc0328e00 -r -o /home/c
yberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/nvidia.o /home/cy
berbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/nv-kernel.o /home/
cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/nv.o /home/cyber
bob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/nv-vm.o /home/cyberbo
b/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/os-agp.o /home/cyberbob
/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/os-interface.o /home/cyb
erbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/os-registry.o /home
/cyberbob/Desktop/NVIDIA-Linux-x86-10
0.14.19-pkg1/usr/src/nv/nv-i2c.o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100
.14.19-pkg1/usr/src/nv/nvacpi.o
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.22-2-486/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-headers-2.6.22-2-486/Module.symv
ers -I /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/Mod
ule.symvers -o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/sr
c/nv/Module.symvers -w
cc -Wp,-MD,/home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/
nv/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/inc
lude -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pi
pe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2
-march=i486 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONF
IG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -
fomit-frame-pointer -fno-stack-p
rotector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)
=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUILD_ST
R(nvidia)" -DMODULE -c -o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.19-
pkg1/usr/src/nv/nvidia.mod.o /home/cyberbob/Desktop/NVIDIA-Linux-x86-100.14.
19-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -m elf_i386 -r -o /home/cyberbob/Desktop/NVIDIA-Linux-x86-1
00.14.19-pkg1/usr/src/nv/nvidia.ko /home/cyberbob/Desktop/NVIDIA-Linux-x86-1
00.14.19-pkg1/usr/src/nv/nvidia.o /home/cyberbob/Desktop/NVIDIA-Linux-x86-10
0.14.19-pkg1/usr/src/nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).
Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new interface driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
EXT3 FS on sda8, internal journal
loop: module loaded
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[email]dm-devel@redhat.com[/email]
fuse init (API version 7.8)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
input: Power Button (FF) as /class/input/input4
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input5
ACPI: Power Button (CM) [PWRB]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
eth0: no IPv6 routers present
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (8190 buckets, 65520 max)
Linux agpgart interface v0.102 (c) Dave Jones
nvidia: disagrees about version of symbol struct_module
nvidia: disagrees about version of symbol struct_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 [url]www.nvidia.com[/url].