In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
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/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' 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: In function `nvos_malloc_pages':
nv.c:403: warning: implicit declaration of function `mem_map_reserve'
nv.c:416: warning: implicit declaration of function `mem_map_unreserve'
nv.c: In function `init_module':
nv.c:810: error: invalid use of undefined type `struct tq_struct'
nv.c:811: error: dereferencing pointer to incomplete type
nv.c:812: error: dereferencing pointer to incomplete type
nv.c:813: error: dereferencing pointer to incomplete type
nv.c: In function `nv_kern_vma_open':
nv.c:961: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
nv.c: In function `nv_kern_vma_release':
nv.c:995: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494)
nv.c: In function `nv_kern_open':
nv.c:1192: warning: passing arg 2 of `request_irq' from incompatible pointer type
nv.c:1213: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
nv.c: In function `nv_kern_close':
nv.c:1306: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494)
nv.c: In function `nv_kern_mmap':
nv.c:1352: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1473: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
nv.c: In function `nv_kern_poll':
nv.c:1515: warning: comparison of distinct pointer types lacks a cast
nv.c: In function `nv_kern_ioctl':
nv.c:1572: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1715: warning: implicit declaration of function `queue_task'
nv.c:1715: error: `tq_immediate' undeclared (first use in this function)
nv.c:1715: error: (Each undeclared identifier is reported only once
nv.c:1715: error: for each function it appears in.)
nv.c:1716: warning: implicit declaration of function `mark_bh'
nv.c:1716: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c: In function `nv_kern_ctl_open':
nv.c:1838: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
nv.c: In function `nv_kern_ctl_close':
nv.c:1881: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:2016: error: structure has no member named `name'
nv.c: In function `nv_post_event':
nv.c:2601: warning: comparison of distinct pointer types lacks a cast
nv.c:2618: warning: comparison of distinct pointer types lacks a cast
nv.c: In function `nv_get_event':
nv.c:2635: warning: comparison of distinct pointer types lacks a cast
nv.c:2656: warning: comparison of distinct pointer types lacks a cast
nv.c: At top level:
nv.c:41: error: storage size of `nv_bottom_halves' isn't known
make: *** [nv.o] Error 1 |