Ok, I got some help on the IGNORE_ argument and tried again. It didn't work, but here's the output of the nvidia-installer.log:
*************************************************
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Mar 6 20:53:58 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 include path : /usr/src/kernel-headers-2.6.0-test9-1/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 like the installer to attempt to download a kernel interface for your kernel from 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/src/kernel-headers-2.6.0-test9-1/include' as specified by the
'--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/src/kernel-headers-2.6.0-test9-1/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/src/kernel-header
s-2.6.0-test9-1/include'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 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=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/us
r/src/kernel-headers-2.6.0-test9-1/include -Wno-cast-qual nv.c
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/asm/smp.
h:18,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sm
p.h:17,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sc
hed.h:23,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/mo
dule.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:6:25: mach_mpspec
.h: No such file or directory
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/asm/smp.
h:18,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sm
p.h:17,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sc
hed.h:23,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/mo
dule.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:8: error: `MAX_MP
_BUSSES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:9: error: `MAX_MP
_BUSSES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:10: error: `MAX_M
P_BUSSES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:12: error: `MAX_M
P_BUSSES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:19: error: `MAX_A
PICS' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:20: error: `MAX_M
P_BUSSES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:20: error: confli
cting types for `mp_bus_id_to_type'
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:8: error: previou
s declaration of `mp_bus_id_to_type'
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:22: error: `MAX_I
RQ_SOURCES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:24: error: `MAX_M
P_BUSSES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:24: error: confli
cting types for `mp_bus_id_to_pci_bus'
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:12: error: previo
us declaration of `mp_bus_id_to_pci_bus'
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:54: error: `MAX_A
PICS' undeclared here (not in a function)
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/asm/smp.
h:20,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sm
p.h:17,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sc
hed.h:23,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/mo
dule.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/io_apic.h:120: error: `MAX
_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/io_apic.h:120: error: conf
licting types for `mp_irqs'
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/mpspec.h:22: error: previo
us declaration of `mp_irqs'
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sm
p.h:17,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sc
hed.h:23,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/mo
dule.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/smp.h:73:26: mach_apicdef.
h: No such file or directory
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sm
p.h:17,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/sc
hed.h:23,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/mo
dule.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/smp.h: In function `hard_s
mp_processor_id':
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/smp.h:77: warning: implici
t declaration of function `GET_APIC_ID'
In file included from nv.c:14:
nv-linux.h:51:4: #error This driver does not support 2.6.x or newer kernels!
nv-linux.h:69:75: linux/tqueue.h: No such file or directory
nv-linux.h:78:75: linux/wrapper.h: No such file or directory
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/ir
q.h:20,
from /usr/src/kernel-headers-2.6.0-test9-1/include/asm/hard
irq.h:6,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/in
terrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/irq.h:16:25: irq_vectors.h
: No such file or directory
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/asm/hard
irq.h:6,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/in
terrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/linux/irq.h: At top level:
/usr/src/kernel-headers-2.6.0-test9-1/include/linux/irq.h:70: error: `NR_IRQ
S' undeclared here (not in a function)
In file included from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/ir
q.h:72,
from /usr/src/kernel-headers-2.6.0-test9-1/include/asm/hard
irq.h:6,
from /usr/src/kernel-headers-2.6.0-test9-1/include/linux/in
terrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/hw_irq.h:28: error: `NR_IR
Q_VECTORS' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.0-test9-1/include/asm/hw_irq.h:31: error: `NR_IR
QS' undeclared here (not in a function)
In file included from nv.c:14:
nv-linux.h:402:2: #error "Couldn't determine number of arguments expected by
remap_page_range!"
In file included from nv.c:14:
nv-linux.h: In function `NV_IRQL_IS_RAISED':
nv-linux.h:490: warning: implicit declaration of function `__save_flags'
nv.c: At top level:
nv.c:48: error: parse error before "nv_dev_handle"
nv.c:48: warning: type defaults to `int' in declaration of `nv_dev_handle'
nv.c:48: warning: data definition has no type or storage class
nv.c:49: error: parse error before "nv_ctl_handle"
nv.c:49: warning: type defaults to `int' in declaration of `nv_ctl_handle'
nv.c:49: warning: data definition has no type or storage class
nv.c: In function `nvos_malloc_pages':
nv.c:400: warning: implicit declaration of function `mem_map_reserve'
nv.c:413: warning: implicit declaration of function `mem_map_unreserve'
nv.c: In function `init_module':
nv.c:772: warning: implicit declaration of function `devfs_register_chrdev'
nv.c:783: error: `devfs_handle_t' undeclared (first use in this function)
nv.c:783: error: (Each undeclared identifier is reported only once
nv.c:783: error: for each function it appears in.)
nv.c:787: warning: implicit declaration of function `devfs_register'
nv.c:788: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function)
nv.c:807: error: invalid use of undefined type `struct tq_struct'
nv.c:808: error: dereferencing pointer to incomplete type
nv.c:809: error: dereferencing pointer to incomplete type
nv.c:810: error: dereferencing pointer to incomplete type
nv.c:852: warning: implicit declaration of function `devfs_unregister_chrdev
'
nv.c: In function `cleanup_module':
nv.c:917: warning: implicit declaration of function `devfs_unregister'
nv.c: In function `nv_kern_vma_open':
nv.c:958: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/k
ernel-headers-2.6.0-test9-1/include/linux/module.h:482)
nv.c: In function `nv_kern_vma_release':
nv.c:992: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/k
ernel-headers-2.6.0-test9-1/include/linux/module.h:494)
nv.c: In function `nv_kern_open':
nv.c:1189: warning: passing arg 2 of `request_irq' from incompatible pointer
type
nv.c:1210: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/
kernel-headers-2.6.0-test9-1/include/linux/module.h:482)
nv.c: In function `nv_kern_close':
nv.c:1303: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/
kernel-headers-2.6.0-test9-1/include/linux/module.h:494)
nv.c: In function `nv_kern_mmap':
nv.c:1349: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1470: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/
kernel-headers-2.6.0-test9-1/include/linux/module.h:482)
nv.c: In function `nv_kern_ioctl':
nv.c:1568: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1711: warning: implicit declaration of function `queue_task'
nv.c:1711: error: `tq_immediate' undeclared (first use in this function)
nv.c:1712: warning: implicit declaration of function `mark_bh'
nv.c:1712: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c: In function `nv_kern_ctl_open':
nv.c:1834: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/
kernel-headers-2.6.0-test9-1/include/linux/module.h:482)
nv.c: In function `nv_kern_ctl_close':
nv.c:1877: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/
kernel-headers-2.6.0-test9-1/include/linux/module.h:494)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:2012: error: structure has no member named `name'
nv.c: At top level:
nv.c:41: error: storage size of `nv_bottom_halves' isn't known
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.
*************************************************
Is the problem because I just copied modversions.h to the .../include/linux directory) Is it because I'm using sarge?
Can anybody help, please?
Thanks
Joe