When I un the file I get the error:
ERROR: Unable to build the NVIDIA kernel module.
My log file:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr 16 23:05:32 2004
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/linux-2.4.25-gentoo
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site :
ftp://download.nvidia.com
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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/src/linux-2.4.25-gentoo' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.25-gentoo'
-> Performing cc_version_check with CC="gcc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.4.25-gentoo
'...
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
parentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DM
ODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__K
ERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
5336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/
src/linux-2.4.25-gentoo/include -Wno-cast-qual -Wno-error nv.c
In file included from nv.c:14:
nv-linux.h:48:31: linux/modversions.h: No such file or directory
In file included from /usr/src/linux-2.4.25-gentoo/include/linux/prefetch.h:
13,
from /usr/src/linux-2.4.25-gentoo/include/linux/list.h:6,
from /usr/src/linux-2.4.25-gentoo/include/linux/module.h:12
,
from nv-linux.h:52,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/processor.h:75: error: `CONFIG_NR_C
PUS' undeclared here (not in a function)
In file included from /usr/src/linux-2.4.25-gentoo/include/asm/smp.h:17,
from /usr/src/linux-2.4.25-gentoo/include/linux/smp.h:14,
from /usr/src/linux-2.4.25-gentoo/include/linux/sched.h:23,
from /usr/src/linux-2.4.25-gentoo/include/linux/mm.h:4,
from /usr/src/linux-2.4.25-gentoo/include/linux/slab.h:14,
from nv-linux.h:61,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/mpspec.h:205: error: `CONFIG_NR_CPU
S' undeclared here (not in a function)
In file included from /usr/src/linux-2.4.25-gentoo/include/asm/smp.h:21,
from /usr/src/linux-2.4.25-gentoo/include/linux/smp.h:14,
from /usr/src/linux-2.4.25-gentoo/include/linux/sched.h:23,
from /usr/src/linux-2.4.25-gentoo/include/linux/mm.h:4,
from /usr/src/linux-2.4.25-gentoo/include/linux/slab.h:14,
from nv-linux.h:61,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/apic.h:88: error: `CONFIG_NR_CPUS'
undeclared here (not in a function)
In file included from /usr/src/linux-2.4.25-gentoo/include/linux/smp.h:14,
from /usr/src/linux-2.4.25-gentoo/include/linux/sched.h:23,
from /usr/src/linux-2.4.25-gentoo/include/linux/mm.h:4,
from /usr/src/linux-2.4.25-gentoo/include/linux/slab.h:14,
from nv-linux.h:61,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/smp.h:66: error: `CONFIG_NR_CPUS' u
ndeclared here (not in a function)
/usr/src/linux-2.4.25-gentoo/include/asm/smp.h:66: confused by earlier error
s, bailing out
make[1]: *** [nv.o] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
Running Gentoo.
Anyone?