Now I have try to install with this script:
sh NVID.....run --kernel-include-path=/usr/src/kernel-2.5.73/include
And Now it try to compile the kernel, but it stop and says "Unable to build the NVIDIA kernel module"
Here is the log file nvidia-install.log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jun 30 15:18:37 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/src/linux-2.5.73/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.
-> There appears to already be a driver installed on your system (version: 1.0-
4363). As part of installing this driver (version: 1.0-4363), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Using the kernel include path '/usr/src/linux-2.5.73/include' as specified
by the '--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/src/linux-2.5.73/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/linux-2.5.73/
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/src/linux-2.5.73/include -Wno-cast-qual nv.c
In file included from /usr/src/linux-2.5.73/include/asm/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/sched.h:22,
from /usr/src/linux-2.5.73/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/mpspec.h:5:25: mach_mpspec.h: No such file
or directory
In file included from /usr/src/linux-2.5.73/include/asm/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/sched.h:22,
from /usr/src/linux-2.5.73/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/mpspec.h:7: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:11: error: `MAX_MP_BUSSES' undecl
ared here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared
here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undecl
ared here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:20: error: conflicting types for
`mp_bus_id_to_type'
/usr/src/linux-2.5.73/include/asm/mpspec.h:7: error: previous declaration of
`mp_bus_id_to_type'
/usr/src/linux-2.5.73/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' unde
clared here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undecl
ared here (not in a function)
/usr/src/linux-2.5.73/include/asm/mpspec.h:24: error: conflicting types for
`mp_bus_id_to_pci_bus'
/usr/src/linux-2.5.73/include/asm/mpspec.h:11: error: previous declaration o
f `mp_bus_id_to_pci_bus'
In file included from /usr/src/linux-2.5.73/include/asm/smp.h:19,
from /usr/src/linux-2.5.73/include/linux/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/sched.h:22,
from /usr/src/linux-2.5.73/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/io_apic.h:103: error: `MAX_IRQ_SOURCES' un
declared here (not in a function)
/usr/src/linux-2.5.73/include/asm/io_apic.h:103: error: conflicting types fo
r `mp_irqs'
/usr/src/linux-2.5.73/include/asm/mpspec.h:22: error: previous declaration o
f `mp_irqs'
In file included from /usr/src/linux-2.5.73/include/linux/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/sched.h:22,
from /usr/src/linux-2.5.73/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/smp.h:93:26: mach_apicdef.h: No such file
or directory
In file included from /usr/src/linux-2.5.73/include/linux/smp.h:17,
from /usr/src/linux-2.5.73/include/linux/sched.h:22,
from /usr/src/linux-2.5.73/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/smp.h: In function `hard_smp_processor_id'
:
/usr/src/linux-2.5.73/include/asm/smp.h:97: warning: implicit declaration of
function `GET_APIC_ID'
In file included from /usr/src/linux-2.5.73/include/asm/percpu.h:4,
from /usr/src/linux-2.5.73/include/linux/percpu.h:7,
from /usr/src/linux-2.5.73/include/linux/sched.h:30,
from /usr/src/linux-2.5.73/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm-generic/percpu.h: In function `percpu_modc
opy':
/usr/src/linux-2.5.73/include/asm-generic/percpu.h:24: warning: pointer of t
ype `void *' used in arithmetic
/usr/src/linux-2.5.73/include/asm-generic/percpu.h:24: warning: pointer of t
ype `void *' used in arithmetic
In file included from nv.c:14:
nv-linux.h:48:4: #error This driver does not support 2.5.x development kerne
ls!
In file included from /usr/src/linux-2.5.73/include/linux/irq.h:19,
from /usr/src/linux-2.5.73/include/asm/hardirq.h:6,
from /usr/src/linux-2.5.73/include/linux/interrupt.h:10,
from nv-linux.h:79,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/irq.h:16:25: irq_vectors.h: No such file o
r directory
In file included from /usr/src/linux-2.5.73/include/asm/hardirq.h:6,
from /usr/src/linux-2.5.73/include/linux/interrupt.h:10,
from nv-linux.h:79,
from nv.c:14:
/usr/src/linux-2.5.73/include/linux/irq.h: At top level:
/usr/src/linux-2.5.73/include/linux/irq.h:69: error: `NR_IRQS' undeclared he
re (not in a function)
In file included from /usr/src/linux-2.5.73/include/linux/irq.h:71,
from /usr/src/linux-2.5.73/include/asm/hardirq.h:6,
from /usr/src/linux-2.5.73/include/linux/interrupt.h:10,
from nv-linux.h:79,
from nv.c:14:
/usr/src/linux-2.5.73/include/asm/hw_irq.h:27: error: `NR_IRQS' undeclared h
ere (not in a function)
/usr/src/linux-2.5.73/include/asm/hw_irq.h:30: error: `NR_IRQS' undeclared h
ere (not in a function)
In file included from nv.c:14:
nv-linux.h:167: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:255: warning: implicit declaration of function `__save_flags'
nv.c: In function `nv_kern_vma_open':
nv.c:922: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/l
inux-2.5.73/include/linux/module.h:478)
nv.c: In function `nv_kern_vma_release':
nv.c:956: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/l
inux-2.5.73/include/linux/module.h:490)
nv.c: In function `nv_kern_open':
nv.c:1079: error: invalid operands to binary &
nv.c:1083: error: invalid operands to binary &
nv.c:1091: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/
linux-2.5.73/include/linux/module.h:478)
nv.c:1124: warning: passing arg 2 of `request_irq' from incompatible pointer
type
nv.c:1160: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/
linux-2.5.73/include/linux/module.h:490)
nv.c: In function `nv_kern_close':
nv.c:1182: error: invalid operands to binary &
nv.c:1185: error: invalid operands to binary &
nv.c:1249: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/
linux-2.5.73/include/linux/module.h:490)
nv.c: In function `nv_kern_mmap':
nv.c:1295: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1416: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/
linux-2.5.73/include/linux/module.h:478)
nv.c: In function `nv_kern_ioctl':
nv.c:1525: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1669: warning: implicit declaration of function `mark_bh'
nv.c:1669: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c:1669: error: (Each undeclared identifier is reported only once
nv.c:1669: error: for each function it appears in.)
nv.c: In function `nv_kern_ctl_open':
nv.c:1763: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/
linux-2.5.73/include/linux/module.h:478)
nv.c: In function `nv_kern_ctl_close':
nv.c:1828: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/
linux-2.5.73/include/linux/module.h:490)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1963: error: structure has no member named `name'
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.