View Single Post
Old 01-12-04, 05:37 AM   #5
BlueAdept
Registered User
 
Join Date: Jan 2004
Posts: 4
Default

Quote:
Originally posted by zander
What's the exact error message you're getting?
I'll include the entire error if possible... it's long!

cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMODULE -D_
LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMOD
ULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5328 -DNV_UNIX
-DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.6.1/build/i
nclude -Wno-cast-qual -Wno-error nv.c
In file included from /lib/modules/2.6.1/build/include/asm/smp.h:18,
from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file
or directory
In file included from /lib/modules/2.6.1/build/include/asm/smp.h:18,
from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclar
ed here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclar
ed here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared
here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:20: error: conflicting types for `
mp_bus_id_to_type'
/lib/modules/2.6.1/build/include/asm/mpspec.h:8: error: previous declaration of
`mp_bus_id_to_type'
/lib/modules/2.6.1/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undec
lared here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:24: error: conflicting types for `
mp_bus_id_to_pci_bus'
/lib/modules/2.6.1/build/include/asm/mpspec.h:12: error: previous declaration of
`mp_bus_id_to_pci_bus'
/lib/modules/2.6.1/build/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared
here (not in a function)
In file included from /lib/modules/2.6.1/build/include/asm/smp.h:20,
from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' und
eclared here (not in a function)
/lib/modules/2.6.1/build/include/asm/io_apic.h:160: error: conflicting types for
`mp_irqs'
/lib/modules/2.6.1/build/include/asm/mpspec.h:22: error: previous declaration of
`mp_irqs'
In file included from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/smp.h:73:26: mach_apicdef.h: No such file o
r directory
In file included from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.1/build/include/asm/smp.h:77: warning: implicit 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!
In file included from /lib/modules/2.6.1/build/include/linux/irq.h:20,
from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or
directory
In file included from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.1/build/include/linux/irq.h: At top level:
/lib/modules/2.6.1/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared her
e (not in a function)
In file included from /lib/modules/2.6.1/build/include/linux/irq.h:72,
from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undecl
ared here (not in a function)
/lib/modules/2.6.1/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared he
re (not in a function)
In file included from nv.c:14:
nv-linux.h:420:2: #error "Couldn't determine number of arguments expected by rem
ap_page_range!"
In file included from nv.c:14:
nv-linux.h: In function `NV_IRQL_IS_RAISED':
nv-linux.h:478: warning: implicit declaration of function `__save_flags'
nv.c: In function `nv_kern_vma_open':
nv.c:1036: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_vma_release':
nv.c:1070: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:494)
nv.c: At top level:
nv.c:1164: warning: initialization from incompatible pointer type
nv.c: In function `nv_kern_open':
nv.c:1263: warning: passing arg 2 of `request_irq' from incompatible pointer typ
e
nv.c:1291: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_close':
nv.c:1384: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:494)
nv.c: In function `nv_kern_mmap':
nv.c:1430: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1552: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_ioctl':
nv.c:1651: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1795: warning: implicit declaration of function `mark_bh'
nv.c:1795: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c:1795: error: (Each undeclared identifier is reported only once
nv.c:1795: error: for each function it appears in.)
nv.c: In function `nv_kern_ctl_open':
nv.c:1917: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_ctl_close':
nv.c:1960: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:494)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:2095: error: structure has no member named `name'
make: *** [nv.o] Error 1
__________________
LINUX - World Domination Through World Cooperation.
BlueAdept is offline   Reply With Quote