Ok I've gotten a little farther and it can find the kernel.h file but now it says
unable to build NVIDIA kernel module
here is my nvidia-installer.log if that helps
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jul 21 16:35:50 2003
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 include path : /usr/include
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 include path '/usr/include' as specified by the
'--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/include'
-> 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 nvidia.o SYSINCLUDE=/usr/include'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -
DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
_KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
L=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/us
r/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from nv-linux.h:28,
from nv.c:14:
/usr/include/linux/version.h:2:2: #error "==================================
====================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/includ
e/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation
of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files
from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recomme
nded by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and
may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They sho
uld only be"
/usr/include/linux/version.h:10:2: #error "included via other system header
files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly incl
ude <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do
the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources instal
led"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic li
nk"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build
exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source dir
ectory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version
.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/
include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to u
se the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the cor
rect include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/buil
d/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile acc
ordingly."
/usr/include/linux/version.h:35:2: #error "=================================
======================"
In file included from nv-linux.h:28,
from nv.c:14:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this funct
ion)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported onl
y once
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from nv-linux.h:29,
from nv.c:14:
/usr/include/linux/version.h:2:2: #error "==================================
====================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/includ
e/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation
of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files
from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recomme
nded by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and
may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They sho
uld only be"
/usr/include/linux/version.h:10:2: #error "included via other system header
files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly incl
ude <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do
the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources instal
led"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic li
nk"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build
exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source dir
ectory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version
.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/
include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to u
se the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the cor
rect include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/buil
d/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile acc
ordingly."
/usr/include/linux/version.h:35:2: #error "=================================
======================"
In file included from nv.c:14:
nv-linux.h:31:40: missing binary operator before '('
nv-linux.h:33:42: missing binary operator before '('
nv-linux.h:43:42: missing binary operator before '('
nv-linux.h:45:42: missing binary operator before '('
nv-linux.h:47:42: missing binary operator before '('
nv-linux.h:51:4: #error This driver does not support 2.6.x or newer kernels!
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from nv-linux.h:79,
from nv.c:14:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no
t in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from nv-linux.h:79,
from nv.c:14:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (
not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:79,
from nv.c:14:
/usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h
ere (not in a function)
/usr/include/linux/interrupt.h:129: requested alignment is not a constant
nv-linux.h:135:40: missing binary operator before '('
nv-linux.h:167:2: #error "Couldn't determine number of arguments expected by
remap_page_range!"
nv-linux.h:228:64: missing binary operator before '('
nv.c: In function `nv_kern_mmap':
nv.c:1295: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1351:65: missing binary operator before '('
nv.c:1354: warning: implicit declaration of function `pgprot_writecombine'
nv.c:1354: incompatible types in assignment
make: *** [nv.o] Error 1
-> 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.