Avatar billede noem Nybegynder
14. november 2002 - 16:19 Der er 2 kommentarer og
1 løsning

fejl ved nvidia og redhat 8.0

jeg er ved at compile en nvidia driver på min redhat 8.0 kværn.. problemer er bare jeg får fejl ?

nogle der kan se hvad jeg skulle
[thomas@localhost nvidia]$ make
make: *** No targets specified and no makefile found.  Stop.
[thomas@localhost nvidia]$ cd NVIDIA_kernel-1.0-3123
[thomas@localhost NVIDIA_kernel-1.0-3123]$ make
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123  -DNV_UNIX  -DNV_LINUX  -DNVCPU_X86      -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/tqueue.h:18,
                from nv-linux.h:54,
                from nv.c:14:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from nv-linux.h:54,
                from nv.c:14:
/usr/include/linux/tqueue.h:94: parse error before "tqueue_lock"
In file included from nv.c:14:
nv-linux.h:57:75: linux/vmalloc.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                from /usr/include/linux/capability.h:17,
                from /usr/include/linux/binfmts.h:5,
                from /usr/include/linux/sched.h:9,
                from /usr/include/linux/delay.h:12,
                from nv-linux.h:60,
                from nv.c:14:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
                from /usr/include/linux/delay.h:12,
                from nv-linux.h:60,
                from nv.c:14:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/signal.h:4,
                from /usr/include/linux/sched.h:25,
                from /usr/include/linux/delay.h:12,
                from nv-linux.h:60,
                from nv.c:14:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
                from /usr/include/linux/delay.h:12,
                from nv-linux.h:60,
                from nv.c:14:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from nv-linux.h:60,
                from nv.c:14:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nv-linux.h:64,
                from nv.c:14:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from nv-linux.h:64,
                from nv.c:14:
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:77: parse error before '(' token
/usr/include/linux/interrupt.h:78: parse error before '(' token
/usr/include/linux/interrupt.h:106: parse error before "atomic_t"
/usr/include/linux/interrupt.h:109: parse error before '}' token
/usr/include/linux/interrupt.h:127: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:127: requested alignment is not a constant
/usr/include/linux/interrupt.h:154: parse error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_schedule':
/usr/include/linux/interrupt.h:158: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:162: parse error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_hi_schedule':
/usr/include/linux/interrupt.h:166: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_disable_nosync':
/usr/include/linux/interrupt.h:173: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_enable':
/usr/include/linux/interrupt.h:187: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: In function `tasklet_hi_enable':
/usr/include/linux/interrupt.h:193: dereferencing pointer to incomplete type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:224: parse error before "global_bh_lock"
/usr/include/linux/interrupt.h: In function `mark_bh':
/usr/include/linux/interrupt.h:228: invalid use of undefined type `struct tasklet_struct'
In file included from nv.c:14:
nv-linux.h:68:75: asm/uaccess.h: No such file or directory
In file included from nv-linux.h:70,
                from nv.c:14:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv-linux.h:70,
                from nv.c:14:
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:24: parse error before "swapper_pg_dir"
In file included from /usr/include/asm/pgtable.h:115,
                from nv-linux.h:70,
                from nv.c:14:
/usr/include/asm/pgtable-2level.h:32: parse error before "pgd"
/usr/include/asm/pgtable-2level.h:33: parse error before "pgd"
/usr/include/asm/pgtable-2level.h:34: parse error before "pgd"
/usr/include/asm/pgtable-2level.h:53: parse error before '*' token
/usr/include/asm/pgtable-2level.h:53: parse error before '*' token
/usr/include/asm/pgtable-2level.h: In function `pmd_offset':
/usr/include/asm/pgtable-2level.h:55: `pmd_t' undeclared (first use in this function)
/usr/include/asm/pgtable-2level.h:55: (Each undeclared identifier is reported only once
/usr/include/asm/pgtable-2level.h:55: for each function it appears in.)
/usr/include/asm/pgtable-2level.h:55: parse error before ')' token
In file included from nv-linux.h:70,
                from nv.c:14:
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:277: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_read':
/usr/include/asm/pgtable.h:277: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:278: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_exec':
/usr/include/asm/pgtable.h:278: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:279: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_dirty':
/usr/include/asm/pgtable.h:279: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:280: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_young':
/usr/include/asm/pgtable.h:280: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:281: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_write':
/usr/include/asm/pgtable.h:281: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:283: parse error before "pte_rdprotect"
/usr/include/asm/pgtable.h:283: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_rdprotect':
/usr/include/asm/pgtable.h:283: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:284: parse error before "pte_exprotect"
/usr/include/asm/pgtable.h:284: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_exprotect':
/usr/include/asm/pgtable.h:284: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:285: parse error before "pte_mkclean"
/usr/include/asm/pgtable.h:285: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkclean':
/usr/include/asm/pgtable.h:285: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:286: parse error before "pte_mkold"
/usr/include/asm/pgtable.h:286: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkold':
/usr/include/asm/pgtable.h:286: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:287: parse error before "pte_wrprotect"
/usr/include/asm/pgtable.h:287: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_wrprotect':
/usr/include/asm/pgtable.h:287: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:288: parse error before "pte_mkread"
/usr/include/asm/pgtable.h:288: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkread':
/usr/include/asm/pgtable.h:288: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:289: parse error before "pte_mkexec"
/usr/include/asm/pgtable.h:289: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkexec':
/usr/include/asm/pgtable.h:289: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:290: parse error before "pte_mkdirty"
/usr/include/asm/pgtable.h:290: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkdirty':
/usr/include/asm/pgtable.h:290: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:291: parse error before "pte_mkyoung"
/usr/include/asm/pgtable.h:291: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkyoung':
/usr/include/asm/pgtable.h:291: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:292: parse error before "pte_mkwrite"
/usr/include/asm/pgtable.h:292: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkwrite':
/usr/include/asm/pgtable.h:292: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:294: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_test_and_clear_dirty':
/usr/include/asm/pgtable.h:294: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:295: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_test_and_clear_young':
/usr/include/asm/pgtable.h:295: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:296: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_set_wrprotect':
/usr/include/asm/pgtable.h:296: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:297: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_mkdirty':
/usr/include/asm/pgtable.h:297: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:309: parse error before "pte_modify"
/usr/include/asm/pgtable.h:309: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_modify':
/usr/include/asm/pgtable.h:311: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h:311: `PTE_MASK' undeclared (first use in this function)
/usr/include/asm/pgtable.h:312: `newprot' undeclared (first use in this function)
In file included from /usr/include/linux/highmem.h:5,
                from nv-linux.h:75,
                from nv.c:14:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
                from nv-linux.h:75,
                from nv.c:14:
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:57: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: parse error before ')' token
/usr/include/asm/pgalloc.h:62: `PAGE_OFFSET' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:70: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:80: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:83: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:90: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_slow':
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:103: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:109: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:118: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:127: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:130: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:137: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_slow':
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_range':
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this function)
In file included from nv-linux.h:75,
                from nv.c:14:
/usr/include/linux/highmem.h: In function `kmap':
/usr/include/linux/highmem.h:68: dereferencing pointer to incomplete type
In file included from nv-linux.h:111,
                from nv.c:14:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from nv.c:14:
nv-linux.h: At top level:
nv-linux.h:206: parse error before "spinlock_t"
nv-linux.h:206: warning: no semicolon at end of struct or union
nv-linux.h:211: parse error before "ldata_lock"
nv-linux.h:211: warning: type defaults to `int' in declaration of `ldata_lock'
nv-linux.h:211: warning: data definition has no type or storage class
nv-linux.h:216: parse error before "at_lock"
nv-linux.h:216: warning: type defaults to `int' in declaration of `at_lock'
nv-linux.h:216: warning: data definition has no type or storage class
nv-linux.h:220: parse error before "bh_lock"
nv-linux.h:220: warning: type defaults to `int' in declaration of `bh_lock'
nv-linux.h:220: warning: data definition has no type or storage class
nv-linux.h:234: parse error before '}' token
nv-linux.h:234: warning: type defaults to `int' in declaration of `nv_linux_state_t'
nv-linux.h:234: warning: data definition has no type or storage class
nv.c:23: parse error before "nv_linux_devices"
nv.c:23: warning: type defaults to `int' in declaration of `nv_linux_devices'
nv.c:23: warning: braces around scalar initializer
nv.c:23: warning: (near initialization for `nv_linux_devices[0]')
nv.c:23: warning: braces around scalar initializer
nv.c:23: warning: (near initialization for `nv_linux_devices[0]')
nv.c:23: warning: data definition has no type or storage class
nv.c:34: parse error before "nv_ctl_device"
nv.c:34: warning: type defaults to `int' in declaration of `nv_ctl_device'
nv.c:34: warning: braces around scalar initializer
nv.c:34: warning: (near initialization for `nv_ctl_device')
nv.c:34: warning: data definition has no type or storage class
nv.c:85: warning: `struct pci_dev' declared inside parameter list
nv.c:95: parse error before '*' token
nv.c:96: parse error before '*' token
nv.c:97: parse error before '*' token
nv.c:128: warning: `struct file' declared inside parameter list
nv.c:128: warning: `struct inode' declared inside parameter list
nv.c:129: warning: `struct file' declared inside parameter list
nv.c:129: warning: `struct inode' declared inside parameter list
nv.c:130: warning: `struct file' declared inside parameter list
nv.c:131: parse error before "poll_table"
nv.c:131: warning: `struct file' declared inside parameter list
nv.c:132: warning: `struct file' declared inside parameter list
nv.c:132: warning: `struct inode' declared inside parameter list
nv.c:144: warning: `struct file' declared inside parameter list
nv.c:144: warning: `struct inode' declared inside parameter list
nv.c:145: warning: `struct file' declared inside parameter list
nv.c:145: warning: `struct inode' declared inside parameter list
nv.c:146: parse error before "poll_table"
nv.c:146: warning: `struct file' declared inside parameter list
nv.c:155: variable `nv_fops' has initializer but incomplete type
nv.c:156: unknown field `poll' specified in initializer
nv.c:156: warning: excess elements in struct initializer
nv.c:156: warning: (near initialization for `nv_fops')
nv.c:157: unknown field `ioctl' specified in initializer
nv.c:157: warning: excess elements in struct initializer
nv.c:157: warning: (near initialization for `nv_fops')
nv.c:158: unknown field `mmap' specified in initializer
nv.c:158: warning: excess elements in struct initializer
nv.c:158: warning: (near initialization for `nv_fops')
nv.c:159: unknown field `open' specified in initializer
nv.c:159: warning: excess elements in struct initializer
nv.c:159: warning: (near initialization for `nv_fops')
nv.c:160: unknown field `release' specified in initializer
nv.c:160: warning: excess elements in struct initializer
nv.c:160: warning: (near initialization for `nv_fops')
nv.c:174: parse error before "va_list"
nv.c: In function `NV_iMSG':
nv.c:182: `kernel_message_level' undeclared (first use in this function)
nv.c:183: warning: implicit declaration of function `sprintf'
nv.c:185: `nv' undeclared (first use in this function)
nv.c:193: warning: implicit declaration of function `vsprintf'
nv.c:193: `printf_format' undeclared (first use in this function)
nv.c:193: `arglist' undeclared (first use in this function)
nv.c:194: warning: implicit declaration of function `printk'
nv.c: In function `NV_iDMSG':
nv.c:204: `va_list' undeclared (first use in this function)
nv.c:204: parse error before "arglist"
nv.c:206: warning: implicit declaration of function `va_start'
nv.c:206: `arglist' undeclared (first use in this function)
nv.c:207: `KERN_INFO' undeclared (first use in this function)
nv.c:208: warning: implicit declaration of function `va_end'
nv.c: In function `NV_EMSG':
nv.c:217: `va_list' undeclared (first use in this function)
nv.c:217: parse error before "arglist"
nv.c:219: `arglist' undeclared (first use in this function)
nv.c:220: `KERN_ERR' undeclared (first use in this function)
nv.c: In function `nvos_set_primary_card':
nv.c:233: request for member `nv_state' in something not a structure or union
nv.c: At top level:
nv.c:239: warning: `struct pci_dev' declared inside parameter list
nv.c:240: conflicting types for `nvos_is_nv_device'
nv.c:85: previous declaration of `nvos_is_nv_device'
nv.c: In function `nvos_is_nv_device':
nv.c:244: dereferencing pointer to incomplete type
nv.c:249: dereferencing pointer to incomplete type
nv.c:255: dereferencing pointer to incomplete type
nv.c:255: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:262: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_get_pci_size':
nv.c:266: warning: implicit declaration of function `pci_read_config_dword'
nv.c:267: warning: implicit declaration of function `pci_write_config_dword'
nv.c: In function `nvos_probe_devices':
nv.c:295: `nvl' undeclared (first use in this function)
nv.c:300: warning: implicit declaration of function `pci_find_class'
nv.c:300: warning: assignment makes pointer from integer without a cast
nv.c:302: warning: passing arg 1 of `nvos_is_nv_device' from incompatible pointer type
nv.c:309: dereferencing pointer to incomplete type
nv.c:310: dereferencing pointer to incomplete type
nv.c:312: dereferencing pointer to incomplete type
nv.c:313: dereferencing pointer to incomplete type
nv.c:317: warning: implicit declaration of function `pci_read_config_word'
nv.c:323: warning: implicit declaration of function `pci_write_config_word'
nv.c:326: warning: passing arg 1 of `nvos_get_pci_size' from incompatible pointer type
nv.c:327: warning: passing arg 1 of `nvos_get_pci_size' from incompatible pointer type
nv.c:329: dereferencing pointer to incomplete type
nv.c:354: warning: assignment makes pointer from integer without a cast
nv.c: In function `nvos_malloc':
nv.c:392: warning: implicit declaration of function `vmalloc'
nv.c:392: warning: assignment makes pointer from integer without a cast
nv.c:406: warning: implicit declaration of function `__get_free_pages'
nv.c:406: `GFP_KERNEL' undeclared (first use in this function)
nv.c:410: warning: implicit declaration of function `virt_to_phys'
nv.c:413: `PG_reserved' undeclared (first use in this function)
nv.c:413: warning: implicit declaration of function `virt_to_page'
nv.c:413: warning: implicit declaration of function `__va'
nv.c:413: invalid type argument of `->'
nv.c:426: invalid type argument of `->'
nv.c:427: warning: implicit declaration of function `phys_to_virt'
nv.c:433: warning: implicit declaration of function `vfree'
nv.c: In function `nvos_free':
nv.c:449: `PG_reserved' undeclared (first use in this function)
nv.c:449: invalid type argument of `->'
nv.c: At top level:
nv.c:457: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_find_agp_capability':
nv.c:467: dereferencing pointer to incomplete type
nv.c:470: warning: implicit declaration of function `pci_read_config_byte'
nv.c: In function `nvos_find_agp_by_class':
nv.c:492: warning: assignment makes pointer from integer without a cast
nv.c:494: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c:497: warning: assignment makes pointer from integer without a cast
nv.c: In function `nv_find_pci_dev':
nv.c:511: warning: implicit declaration of function `pci_find_device'
nv.c:511: warning: assignment makes pointer from integer without a cast
nv.c:513: dereferencing pointer to incomplete type
nv.c:514: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:613: parse error before '*' token
nv.c: In function `nvl_find_alloc':
nv.c:623: `address' undeclared (first use in this function)
nv.c:629: `prev' undeclared (first use in this function)
nv.c:633: `nvl' undeclared (first use in this function)
nv.c:633: warning: left-hand operand of comma expression has no effect
nv.c: At top level:
nv.c:665: parse error before '*' token
nv.c: In function `nvl_find_agp_alloc':
nv.c:673: `prev' undeclared (first use in this function)
nv.c:677: `nvl' undeclared (first use in this function)
nv.c:677: warning: left-hand operand of comma expression has no effect
nv.c:683: `address' undeclared (first use in this function)
nv.c: At top level:
nv.c:729: parse error before '*' token
nv.c: In function `nvl_find_alloc_by_num_pages':
nv.c:737: `prev' undeclared (first use in this function)
nv.c:741: `nvl' undeclared (first use in this function)
nv.c:741: warning: left-hand operand of comma expression has no effect
nv.c:743: `num_pages' undeclared (first use in this function)
nv.c:744: `current' undeclared (first use in this function)
nv.c: In function `nv_map_device':
nv.c:797: warning: implicit declaration of function `ioremap_nocache'
nv.c:797: warning: assignment makes pointer from integer without a cast
nv.c:800: warning: implicit declaration of function `iounmap'
nv.c: In function `init_module':
nv.c:837: `nvl' undeclared (first use in this function)
nv.c:854: warning: implicit declaration of function `register_chrdev'
nv.c:896: request for member `nv_state' in something not a structure or union
nv.c:897: request for member `event_queue' in something not a structure or union
nv.c:924: warning: implicit declaration of function `unregister_chrdev'
nv.c: In function `cleanup_module':
nv.c:932: `nvl' undeclared (first use in this function)
nv.c:933: `max_devices' undeclared (first use in this function)

nv.c: In function `nv_kern_vma_open':
nv.c:1001: union has no member named `usecount'
nv.c: In function `nv_kern_vma_release':
nv.c:1008: union has no member named `usecount'
nv.c: At top level:
nv.c:1037: variable `nv_vm_ops' has initializer but incomplete type
nv.c:1038: warning: excess elements in struct initializer
nv.c:1038: warning: (near initialization for `nv_vm_ops')
nv.c:1039: warning: excess elements in struct initializer
nv.c:1039: warning: (near initialization for `nv_vm_ops')
nv.c:1054: warning: `struct file' declared inside parameter list
nv.c:1054: warning: `struct inode' declared inside parameter list
nv.c:1055: conflicting types for `nv_kern_open'
nv.c:128: previous declaration of `nv_kern_open'
nv.c: In function `nv_kern_open':
nv.c:1057: `nvl' undeclared (first use in this function)
nv.c:1057: parse error before ')' token
nv.c:1063: warning: implicit declaration of function `kmalloc'
nv.c:1063: `GFP_KERNEL' undeclared (first use in this function)
nv.c:1067: dereferencing pointer to incomplete type
nv.c:1071: dereferencing pointer to incomplete type
nv.c:1072: warning: passing arg 1 of `nv_kern_ctl_open' from incompatible pointer type
nv.c:1072: warning: passing arg 2 of `nv_kern_ctl_open' from incompatible pointer type
nv.c:1075: dereferencing pointer to incomplete type
nv.c:1082: union has no member named `usecount'
nv.c:1090: dereferencing pointer to incomplete type
nv.c:1119: warning: implicit declaration of function `request_irq'
nv.c:1120: `SA_SHIRQ' undeclared (first use in this function)
nv.c:1138: sizeof applied to an incomplete type
nv.c:1141: sizeof applied to an incomplete type
nv.c:1143: warning: implicit declaration of function `init_waitqueue_head'
nv.c:1157: union has no member named `usecount'
nv.c: At top level:
nv.c:1174: warning: `struct file' declared inside parameter list
nv.c:1174: warning: `struct inode' declared inside parameter list
nv.c:1175: conflicting types for `nv_kern_close'
nv.c:129: previous declaration of `nv_kern_close'
nv.c: In function `nv_kern_close':
nv.c:1176: `nvl' undeclared (first use in this function)
nv.c:1176: parse error before ')' token
nv.c:1176: dereferencing pointer to incomplete type
nv.c:1181: dereferencing pointer to incomplete type
nv.c:1182: warning: passing arg 1 of `nv_kern_ctl_close' from incompatible pointer type
nv.c:1182: warning: passing arg 2 of `nv_kern_ctl_close' from incompatible pointer type
nv.c:1186: `current' undeclared (first use in this function)
nv.c:1214: warning: implicit declaration of function `free_irq'
nv.c:1239: warning: implicit declaration of function `kfree'
nv.c:1249: dereferencing pointer to incomplete type
nv.c:1250: dereferencing pointer to incomplete type
nv.c:1251: dereferencing pointer to incomplete type
nv.c:1253: union has no member named `usecount'
nv.c: At top level:
nv.c:1261: warning: `struct file' declared inside parameter list
nv.c:1262: conflicting types for `nv_kern_mmap'
nv.c:130: previous declaration of `nv_kern_mmap'
nv.c: In function `nv_kern_mmap':
nv.c:1265: `nvl' undeclared (first use in this function)
nv.c:1265: parse error before ')' token
nv.c:1265: dereferencing pointer to incomplete type
nv.c:1274: dereferencing pointer to incomplete type
nv.c:1275: dereferencing pointer to incomplete type
nv.c:1276: dereferencing pointer to incomplete type
nv.c:1281: dereferencing pointer to incomplete type
nv.c:1281: dereferencing pointer to incomplete type
nv.c:1288: dereferencing pointer to incomplete type
nv.c:1296: dereferencing pointer to incomplete type
nv.c:1297: dereferencing pointer to incomplete type
nv.c:1297: dereferencing pointer to incomplete type
nv.c:1297: dereferencing pointer to incomplete type
nv.c:1302: warning: implicit declaration of function `remap_page_range'
nv.c:1302: dereferencing pointer to incomplete type
nv.c:1303: dereferencing pointer to incomplete type
nv.c:1304: dereferencing pointer to incomplete type
nv.c:1304: dereferencing pointer to incomplete type
nv.c:1305: dereferencing pointer to incomplete type
nv.c:1309: dereferencing pointer to incomplete type
nv.c:1309: `VM_IO' undeclared (first use in this function)
nv.c:1313: dereferencing pointer to incomplete type
nv.c:1314: dereferencing pointer to incomplete type
nv.c:1314: dereferencing pointer to incomplete type
nv.c:1314: dereferencing pointer to incomplete type
nv.c:1319: dereferencing pointer to incomplete type
nv.c:1320: dereferencing pointer to incomplete type
nv.c:1321: dereferencing pointer to incomplete type
nv.c:1321: dereferencing pointer to incomplete type
nv.c:1322: dereferencing pointer to incomplete type
nv.c:1326: dereferencing pointer to incomplete type
nv.c:1330: dereferencing pointer to incomplete type
nv.c:1349: dereferencing pointer to incomplete type
nv.c:1353: warning: implicit declaration of function `__pgprot'
nv.c:1361: dereferencing pointer to incomplete type
nv.c:1361: `VM_LOCKED' undeclared (first use in this function)
nv.c:1365: dereferencing pointer to incomplete type
nv.c:1391: dereferencing pointer to incomplete type
nv.c:1395: dereferencing pointer to incomplete type
nv.c:1399: dereferencing pointer to incomplete type
nv.c:1405: dereferencing pointer to incomplete type
nv.c:1408: union has no member named `usecount'
nv.c: At top level:
nv.c:1416: parse error before "poll_table"
nv.c:1417: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_poll':
nv.c:1420: `nvl' undeclared (first use in this function)
nv.c:1424: `file' undeclared (first use in this function)
nv.c:1425: parse error before ')' token
nv.c:1431: `wait' undeclared (first use in this function)
nv.c:1434: warning: implicit declaration of function `poll_wait'
nv.c: At top level:
nv.c:1500: warning: `struct file' declared inside parameter list
nv.c:1500: warning: `struct inode' declared inside parameter list
nv.c:1501: conflicting types for `nv_kern_ioctl'
nv.c:132: previous declaration of `nv_kern_ioctl'
nv.c: In function `nv_kern_ioctl':
nv.c:1503: `nvl' undeclared (first use in this function)
nv.c:1507: parse error before ')' token
nv.c:1507: dereferencing pointer to incomplete type
nv.c:1517: warning: implicit declaration of function `atomic_set'
nv.c:1517: union has no member named `usecount'
nv.c:1544: warning: implicit declaration of function `copy_from_user'
nv.c:1556: `tnvl' undeclared (first use in this function)
nv.c:1561: warning: left-hand operand of comma expression has no effect
nv.c:1580: warning: implicit declaration of function `copy_to_user'
nv.c:1561: warning: value computed is not used
nv.c: In function `nv_kern_isr':
nv.c:1620: `nvl' undeclared (first use in this function)
nv.c: At top level:
nv.c:1691: warning: `struct file' declared inside parameter list
nv.c:1691: warning: `struct inode' declared inside parameter list
nv.c:1692: conflicting types for `nv_kern_ctl_open'
nv.c:144: previous declaration of `nv_kern_ctl_open'
nv.c: In function `nv_kern_ctl_open':
nv.c:1694: `nvl' undeclared (first use in this function)
nv.c:1703: dereferencing pointer to incomplete type
nv.c:1705: union has no member named `usecount'
nv.c:1716: sizeof applied to an incomplete type
nv.c:1716: `GFP_KERNEL' undeclared (first use in this function)
nv.c:1719: sizeof applied to an incomplete type
nv.c: At top level:
nv.c:1746: warning: `struct file' declared inside parameter list
nv.c:1746: warning: `struct inode' declared inside parameter list
nv.c:1747: conflicting types for `nv_kern_ctl_close'
nv.c:145: previous declaration of `nv_kern_ctl_close'
nv.c: In function `nv_kern_ctl_close':
nv.c:1748: dereferencing pointer to incomplete type
nv.c:1756: `nvl' undeclared (first use in this function)
nv.c:1756: parse error before ')' token
nv.c:1765: `current' undeclared (first use in this function)
nv.c:1768: dereferencing pointer to incomplete type
nv.c:1769: dereferencing pointer to incomplete type
nv.c:1770: dereferencing pointer to incomplete type
nv.c:1772: union has no member named `usecount'
nv.c: At top level:
nv.c:1785: parse error before "poll_table"
nv.c:1786: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_ctl_poll':
nv.c:1788: `nvl' undeclared (first use in this function)
nv.c:1792: parse error before ')' token
nv.c:1792: `file' undeclared (first use in this function)
nv.c:1795: `O_NONBLOCK' undeclared (first use in this function)
nv.c:1798: `wait' undeclared (first use in this function)
nv.c: In function `nv_set_hotkey_occurred_flag':
nv.c:1824: request for member `nv_state' in something not a structure or union
nv.c:1825: request for member `nv_state' in something not a structure or union
nv.c:1826: request for member `nv_state' in something not a structure or union
nv.c:1828: warning: implicit declaration of function `wake_up_interruptible'
nv.c:1828: request for member `event_queue' in something not a structure or union
nv.c: In function `nv_kern_read_cardinfo':
nv.c:1914: dereferencing pointer to incomplete type
nv.c:1936: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1977: dereferencing pointer to incomplete type
nv.c:1981: dereferencing pointer to incomplete type
nv.c:1990: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c: In function `nv_kern_read_status':
nv.c:2027: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c:2035: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c: In function `nv_vtop':
nv.c:2108: warning: implicit declaration of function `put_user'
nv.c: In function `nv_find_kernel_mapping':
nv.c:2124: parse error before ')' token
nv.c:2128: dereferencing pointer to incomplete type
nv.c:2130: warning: return makes pointer from integer without a cast
nv.c: In function `nv_get_phys_address':
nv.c:2146: `pgd_t' undeclared (first use in this function)
nv.c:2146: `pg_dir' undeclared (first use in this function)
nv.c:2147: `pmd_t' undeclared (first use in this function)
nv.c:2147: `pg_mid_dir' undeclared (first use in this function)
nv.c:2148: `pte_t' undeclared (first use in this function)
nv.c:2148: `pte__' undeclared (first use in this function)
nv.c:2148: `pte' undeclared (first use in this function)
nv.c:2148: warning: left-hand operand of comma expression has no effect
nv.c:2151: `high_memory' undeclared (first use in this function)
nv.c:2161: `PAGE_OFFSET' undeclared (first use in this function)
nv.c:2162: warning: implicit declaration of function `__pa'
nv.c:2165: `init_mm' undeclared (first use in this function)
nv.c:2167: `current' undeclared (first use in this function)
nv.c:2173: warning: implicit declaration of function `pmd_val'
nv.c:2182: parse error before ')' token
nv.c:2188: warning: implicit declaration of function `pte_val'
nv.c: In function `nv_alloc_pages':
nv.c:2225: `nvl' undeclared (first use in this function)
nv.c:2225: parse error before ')' token
nv.c:2227: `GFP_KERNEL' undeclared (first use in this function)
nv.c:2236: `current' undeclared (first use in this function)
nv.c:2262: `PG_reserved' undeclared (first use in this function)
nv.c:2262: invalid type argument of `->'
nv.c: In function `nv_free_pages':
nv.c:2356: `nvl' undeclared (first use in this function)
nv.c:2356: parse error before ')' token
nv.c:2401: `PG_reserved' undeclared (first use in this function)
nv.c:2401: invalid type argument of `->'
nv.c:2406: warning: implicit declaration of function `free_pages'
nv.c: In function `nv_lock_init_locks':
nv.c:2431: `nvl' undeclared (first use in this function)
nv.c:2431: parse error before ')' token
nv.c:2438: warning: implicit declaration of function `spin_lock_init'
nv.c: In function `nv_lock_rm':
nv.c:2458: `nvl' undeclared (first use in this function)
nv.c:2458: parse error before ')' token
nv.c: In function `nv_unlock_rm':
nv.c:2515: `nvl' undeclared (first use in this function)
nv.c:2518: parse error before ')' token
nv.c: In function `nv_lock_ldata':
nv.c:2537: `nvl' undeclared (first use in this function)
nv.c:2537: parse error before ')' token
nv.c: In function `nv_unlock_ldata':
nv.c:2589: `nvl' undeclared (first use in this function)
nv.c:2592: parse error before ')' token
nv.c: In function `nv_lock_at':
nv.c:2613: `nvl' undeclared (first use in this function)
nv.c:2613: parse error before ')' token
nv.c: In function `nv_unlock_at':
nv.c:2665: `nvl' undeclared (first use in this function)
nv.c:2668: parse error before ')' token
nv.c: In function `nv_lock_bh':
nv.c:2689: `nvl' undeclared (first use in this function)
nv.c:2689: parse error before ')' token
nv.c: In function `nv_unlock_bh':
nv.c:2728: `nvl' undeclared (first use in this function)
nv.c:2731: parse error before ')' token
nv.c: In function `nv_post_event':
nv.c:2754: `nvl' undeclared (first use in this function)
nv.c:2758: dereferencing pointer to incomplete type
nv.c:2759: parse error before ')' token
nv.c:2759: dereferencing pointer to incomplete type
nv.c: In function `nv_post_vblank':
nv.c:2776: `nvl' undeclared (first use in this function)
nv.c:2776: parse error before ')' token
nv.c: In function `nv_agp_init':
nv.c:2831: warning: implicit declaration of function `inter_module_get'
nv.c:2832: warning: implicit declaration of function `inter_module_put'
nv.c: In function `nv_agp_translate_address':
nv.c:2903: parse error before ')' token
nv.c: In function `nv_agp_retrieve_mapping':
nv.c:2929: parse error before ')' token
/usr/include/linux/highmem.h: At top level:
nv.c:155: storage size of `nv_fops' isn't known
nv.c:1037: storage size of `nv_vm_ops' isn't known
make: *** [nv.o] Error 1
[thomas@localhost NVIDIA_kernel-1.0-3123]$ mangle:
Avatar billede skunk Nybegynder
14. november 2002 - 17:06 #1
Avatar billede noem Nybegynder
14. november 2002 - 17:21 #2
har prøvet med rpmbuild der giver mig ligeså mange fejl
Avatar billede noem Nybegynder
14. november 2002 - 17:37 #3
tror bare jeg dropper den og smider noget gentoo ind istedet :(
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester