nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Mar 25 12:50:57 2008 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.24-zen4 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: 169. 12). As part of installing this driver (version: 169.12), the existing driv er will be uninstalled. Are you sure you want to continue? ('no' will abort 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 sanity check with CC="gcc-4.2". -> Performing CC version check with CC="gcc-4.2". -> The CC version check failed: The compiler used to compile the kernel (gcc 4.1) does not exactly match the current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects kern el modules built with a version of gcc that does not exactly match that of t he compiler used to build the running kernel. If you know what you are doing and want to ignore the gcc version check, sel ect "No" to continue installation. Otherwise, select "Yes" to abort install ation, set the CC environment variable to the name of the compiler used to c ompile your kernel, and restart installation. Abort now? (Answer: No) -> Using the kernel source path '/usr/src/linux-headers-2.6.24-zen4' as specified by the '--kernel-source-path' commandline option. -> Kernel source path: '/usr/src/linux-headers-2.6.24-zen4' -> Kernel output path: '/usr/src/linux-headers-2.6.24-zen4' -> Performing rivafb check. -> Performing nvidiafb check. -> Performing Xen check. -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-headers-2.6.2 4-zen4 SYSOUT=/usr/src/linux-headers-2.6.24-zen4'... NVIDIA: calling KBUILD... make CC=gcc-4.2 KBUILD_VERBOSE=1 -C /usr/src/linux-headers-2.6.24-zen4 SUBD IRS=/tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/usr/src/nv modules /usr/src/linux-headers-2.6.24-zen4/arch/x86/Makefile:15: /usr/src/linux-head ers-2.6.24-zen4/arch/x86/Makefile_32: No such file or directory 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/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/usr/src/nv/.tmp _versions ; rm -f /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/usr/sr c/nv/.tmp_versions/* make -f scripts/Makefile.build obj=/tmp/selfgz6379/NVIDIA-Linux-x86-169.12-p kg1-custom/usr/src/nv gcc-4.2 -Wp,-MD,/tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/usr/sr c/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.1/include - D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstr ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-impli cit-function-declaration -O2 -s -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz6379/NVIDIA-L inux-x86-169.12-pkg1-custom/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswit ch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar - Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE - D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KB UILD_STR(nvidia)" -c -o /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/ usr/src/nv/.tmp_nv.o /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/usr /src/nv/nv.c In file included from include/linux/list.h:8, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:19, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/linux/prefetch.h: In function ‘prefetch_range’: include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a rithmetic In file included from include/asm/mpspec.h:2, from include/asm/smp_32.h:15, from include/asm/smp.h:2, from include/linux/smp.h:19, from include/linux/sched.h:71, from include/linux/utsname.h:35, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:19, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/asm/mpspec_32.h:6:25: error: mach_mpspec.h: No such file or director y In file included from include/asm/mpspec.h:2, from include/asm/smp_32.h:15, from include/asm/smp.h:2, from include/linux/smp.h:19, from include/linux/sched.h:71, from include/linux/utsname.h:35, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:19, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/asm/mpspec_32.h: At top level: include/asm/mpspec_32.h:8: error: ‘MAX_MP_BUSSES’ undeclared here (not i n a function) include/asm/mpspec_32.h:22: error: ‘MAX_IRQ_SOURCES’ undeclared here (no t in a function) In file included from include/asm/smp.h:2, from include/linux/smp.h:19, from include/linux/sched.h:71, from include/linux/utsname.h:35, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:19, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/asm/smp_32.h:157:26: error: mach_apicdef.h: No such file or director y In file included from include/asm/smp.h:2, from include/linux/smp.h:19, from include/linux/sched.h:71, from include/linux/utsname.h:35, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:19, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/asm/smp_32.h: In function ‘hard_smp_processor_id’: include/asm/smp_32.h:161: error: implicit declaration of function ‘GET_API C_ID’ In file included from include/asm/dma-mapping_32.h:5, from include/asm/dma-mapping.h:2, from include/linux/dma-mapping.h:52, from include/asm-generic/pci-dma-compat.h:7, from include/asm/pci.h:88, from include/linux/pci.h:796, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:86, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/linux/scatterlist.h: In function ‘sg_virt’: include/linux/scatterlist.h:293: warning: pointer of type ‘void *’ used in arithmetic In file included from include/asm/irq.h:2, from include/linux/irq.h:23, from include/asm/hardirq_32.h:5, from include/asm/hardirq.h:2, from include/linux/hardirq.h:7, from include/linux/interrupt.h:11, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:87, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory In file included from include/asm/irq.h:2, from include/linux/irq.h:23, from include/asm/hardirq_32.h:5, from include/asm/hardirq.h:2, from include/linux/hardirq.h:7, from include/linux/interrupt.h:11, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:87, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/asm/irq_32.h: At top level: include/asm/irq_32.h:49: error: ‘NR_VECTORS’ undeclared here (not in a f unction) In file included from include/asm/hardirq_32.h:5, from include/asm/hardirq.h:2, from include/linux/hardirq.h:7, from include/linux/interrupt.h:11, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:87, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/linux/irq.h:180: error: ‘NR_IRQS’ undeclared here (not in a func tion) In file included from include/linux/interrupt.h:11, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv-linux.h:87, from /tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/src/nv/nv.c:14: include/linux/hardirq.h:40:27: warning: "NR_IRQS" is not defined make[3]: *** [/tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/usr/src/nv /nv.o] Error 1 make[2]: *** [_module_/tmp/selfgz6379/NVIDIA-Linux-x86-169.12-pkg1-custom/us r/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.