BLUESCREEN3D
07.10.02, 01:52
Ich will die treiber für meine Grafikkarte (GeForce 2 MX 400 64MB) unter Red Hat 8.0 installieren und es geht irgendwie überhaupt nichts :mad: Ich habe die Readme von der nvidia-page und das Tutorial hier aus dem Forum gelesen und versucht die Treiber zu installieren - es geht noch nichtmal mit der tar-Datei
wenn ich rmpbuild -bb --target=i586 --clean --rmsource NVIDIA*.spec eingebe (ich habe übrigens nur eine .spec-datei, da die zweite erst erstellt wird, wenn der nvidia-kernel läuft...) erscheint das:
[root@localhost SPECS]# rpmbuild -bb --target=i586 --clean --rmsource NVIDIA*.spec
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8044
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-2960
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-2960.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-2960
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8044
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-2960
+ LANG=C
+ export LANG
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.1
++ echo 4.1
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.1
++ awk -F . '{print $2;}'
+ RPMMINOR=1
++ echo 4.1
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' 4 -le 3 -a 1 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.8044: line 34: [: too many arguments
+ make NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960
-I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/fs.h:23,
from nv-linux.h:26,
from nv.c:27:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from nv.c:27:
nv-linux.h:29:47: linux/vmalloc.h: No such file or directory
In file included from nv-linux.h:53,
from nv.c:27:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from nv.c:27:
nv-linux.h:110: parse error before "unload_lock"
nv-linux.h:110: warning: type defaults to `int' in declaration of `unload_lock'
nv-linux.h:110: warning: data definition has no type or storage class
nv-linux.h:170: parse error before "spinlock_t"
nv-linux.h:170: warning: no semicolon at end of struct or union
nv-linux.h:175: parse error before "ldata_lock"
nv-linux.h:175: warning: type defaults to `int' in declaration of `ldata_lock'
nv-linux.h:175: warning: data definition has no type or storage class
nv-linux.h:180: parse error before "at_lock"
nv-linux.h:180: warning: type defaults to `int' in declaration of `at_lock'
nv-linux.h:180: warning: data definition has no type or storage class
nv-linux.h:184: parse error before "bh_lock"
nv-linux.h:184: warning: type defaults to `int' in declaration of `bh_lock'
nv-linux.h:184: warning: data definition has no type or storage class
nv-linux.h:198: parse error before '}' token
nv-linux.h:198: warning: type defaults to `int' in declaration of `nv_linux_state_t'
nv-linux.h:198: warning: data definition has no type or storage class
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/mm.h:4,
from nv.c:33:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /usr/include/linux/mm.h:4,
from nv.c:33:
/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 /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/mm.h:4,
from nv.c:33:
/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/mm.h:4,
from nv.c:33:
/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.c:38:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: parse error before "atomic_t"
/usr/include/linux/proc_fs.h:73: parse error before '}' token
/usr/include/linux/proc_fs.h:203: parse error before "void"
In file included from nv.c:41:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nv.c:42:
/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.c:42:
/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:43:
/usr/include/linux/tqueue.h: At top level:
/usr/include/linux/tqueue.h:94: parse error before "tqueue_lock"
In file included from nv.c:54:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv.c:54:
/usr/include/asm/pgtable.h:24: parse error before "swapper_pg_dir"
In file included from /usr/include/asm/pgtable.h:115,
from nv.c:54:
/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.c:54:
/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)
nv.c:57:53: asm/uaccess.h: No such file or directory
nv.c:59:51: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from nv.c:63:
/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.c:63:
/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.c:63:
/usr/include/linux/highmem.h: In function `kmap':
/usr/include/linux/highmem.h:68: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:96: parse error before "nv_linux_devices"
nv.c:96: warning: type defaults to `int' in declaration of `nv_linux_devices'
nv.c:96: warning: braces around scalar initializer
nv.c:96: warning: (near initialization for `nv_linux_devices[0]')
nv.c:96: warning: braces around scalar initializer
nv.c:96: warning: (near initialization for `nv_linux_devices[0]')
nv.c:96: warning: data definition has no type or storage class
nv.c:107: parse error before "nv_ctl_device"
nv.c:107: warning: type defaults to `int' in declaration of `nv_ctl_device'
nv.c:107: warning: braces around scalar initializer
nv.c:107: warning: (near initialization for `nv_ctl_device')
nv.c:107: warning: data definition has no type or storage class
nv.c:166: warning: `struct pci_dev' declared inside parameter list
nv.c:176: parse error before '*' token
nv.c:177: parse error before '*' token
nv.c:178: parse error before '*' token
nv.c:209: warning: `struct file' declared inside parameter list
nv.c:209: warning: `struct inode' declared inside parameter list
nv.c:210: warning: `struct file' declared inside parameter list
nv.c:210: warning: `struct inode' declared inside parameter list
nv.c:211: warning: `struct file' declared inside parameter list
nv.c:212: parse error before "poll_table"
nv.c:212: warning: `struct file' declared inside parameter list
nv.c:213: warning: `struct file' declared inside parameter list
nv.c:213: warning: `struct inode' declared inside parameter list
nv.c:225: warning: `struct file' declared inside parameter list
nv.c:225: warning: `struct inode' declared inside parameter list
nv.c:226: warning: `struct file' declared inside parameter list
nv.c:226: warning: `struct inode' declared inside parameter list
nv.c:227: parse error before "poll_table"
nv.c:227: warning: `struct file' declared inside parameter list
nv.c:236: variable `nv_fops' has initializer but incomplete type
nv.c:237: unknown field `poll' specified in initializer
nv.c:237: warning: excess elements in struct initializer
nv.c:237: warning: (near initialization for `nv_fops')
nv.c:238: unknown field `ioctl' specified in initializer
nv.c:238: warning: excess elements in struct initializer
nv.c:238: warning: (near initialization for `nv_fops')
nv.c:239: unknown field `mmap' specified in initializer
nv.c:239: warning: excess elements in struct initializer
nv.c:239: warning: (near initialization for `nv_fops')
nv.c:240: unknown field `open' specified in initializer
nv.c:240: warning: excess elements in struct initializer
nv.c:240: warning: (near initialization for `nv_fops')
nv.c:241: unknown field `release' specified in initializer
nv.c:241: warning: excess elements in struct initializer
nv.c:241: warning: (near initialization for `nv_fops')
nv.c:255: parse error before "va_list"
nv.c: In function `NV_iMSG':
nv.c:263: `kernel_message_level' undeclared (first use in this function)
nv.c:264: warning: implicit declaration of function `sprintf'
nv.c:266: `nv' undeclared (first use in this function)
nv.c:274: warning: implicit declaration of function `vsprintf'
nv.c:274: `printf_format' undeclared (first use in this function)
nv.c:274: `arglist' undeclared (first use in this function)
nv.c:275: warning: implicit declaration of function `printk'
nv.c: In function `NV_iDMSG':
nv.c:285: `va_list' undeclared (first use in this function)
nv.c:285: parse error before "arglist"
nv.c:287: warning: implicit declaration of function `va_start'
nv.c:287: `arglist' undeclared (first use in this function)
nv.c:288: `KERN_INFO' undeclared (first use in this function)
nv.c:289: warning: implicit declaration of function `va_end'
nv.c: In function `NV_EMSG':
nv.c:298: `va_list' undeclared (first use in this function)
nv.c:298: parse error before "arglist"
nv.c:300: `arglist' undeclared (first use in this function)
nv.c:301: `KERN_ERR' undeclared (first use in this function)
nv.c: In function `nvos_set_primary_card':
nv.c:314: request for member `nv_state' in something not a structure or union
nv.c: At top level:
nv.c:320: warning: `struct pci_dev' declared inside parameter list
nv.c:321: conflicting types for `nvos_is_nv_device'
nv.c:166: previous declaration of `nvos_is_nv_device'
nv.c: In function `nvos_is_nv_device':
nv.c:325: dereferencing pointer to incomplete type
nv.c:330: dereferencing pointer to incomplete type
nv.c:336: dereferencing pointer to incomplete type
nv.c:336: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:343: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_get_pci_size':
nv.c:347: warning: implicit declaration of function `pci_read_config_dword'
nv.c:348: warning: implicit declaration of function `pci_write_config_dword'
nv.c: In function `nvos_probe_devices':
nv.c:376: `nvl' undeclared (first use in this function)
nv.c:381: warning: implicit declaration of function `pci_find_class'
nv.c:381: warning: assignment makes pointer from integer without a cast
nv.c:383: warning: passing arg 1 of `nvos_is_nv_device' from incompatible pointer type
nv.c:390: dereferencing pointer to incomplete type
nv.c:391: dereferencing pointer to incomplete type
nv.c:393: dereferencing pointer to incomplete type
nv.c:394: dereferencing pointer to incomplete type
nv.c:398: warning: implicit declaration of function `pci_read_config_word'
nv.c:404: warning: implicit declaration of function `pci_write_config_word'
nv.c:407: warning: passing arg 1 of `nvos_get_pci_size' from incompatible pointer type
nv.c:408: warning: passing arg 1 of `nvos_get_pci_size' from incompatible pointer type
nv.c:410: dereferencing pointer to incomplete type
nv.c:435: warning: assignment makes pointer from integer without a cast
nv.c: In function `nvos_malloc':
nv.c:479: warning: implicit declaration of function `vmalloc'
nv.c:479: warning: assignment makes pointer from integer without a cast
nv.c:493: warning: implicit declaration of function `__get_free_pages'
nv.c:493: `GFP_KERNEL' undeclared (first use in this function)
nv.c:497: warning: implicit declaration of function `virt_to_phys'
nv.c:500: `PG_reserved' undeclared (first use in this function)
nv.c:500: warning: implicit declaration of function `virt_to_page'
nv.c:500: warning: implicit declaration of function `__va'
nv.c:500: invalid type argument of `->'
nv.c:513: invalid type argument of `->'
nv.c:514: warning: implicit declaration of function `phys_to_virt'
nv.c:520: warning: implicit declaration of function `vfree'
nv.c: In function `nvos_free':
nv.c:536: `PG_reserved' undeclared (first use in this function)
nv.c:536: invalid type argument of `->'
nv.c: At top level:
nv.c:544: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_find_agp_capability':
nv.c:554: dereferencing pointer to incomplete type
nv.c:557: warning: implicit declaration of function `pci_read_config_byte'
nv.c: In function `nvos_find_agp_by_class':
nv.c:579: warning: assignment makes pointer from integer without a cast
nv.c:581: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c:584: warning: assignment makes pointer from integer without a cast
nv.c: In function `nv_find_pci_dev':
nv.c:598: warning: implicit declaration of function `pci_find_device'
nv.c:598: warning: assignment makes pointer from integer without a cast
nv.c:600: dereferencing pointer to incomplete type
nv.c:601: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:700: parse error before '*' token
nv.c: In function `nvl_find_alloc':
nv.c:710: `address' undeclared (first use in this function)
nv.c:716: `prev' undeclared (first use in this function)
nv.c:720: `nvl' undeclared (first use in this function)
nv.c:720: warning: left-hand operand of comma expression has no effect
nv.c: At top level:
nv.c:752: parse error before '*' token
nv.c: In function `nvl_find_agp_alloc':
nv.c:760: `prev' undeclared (first use in this function)
nv.c:764: `nvl' undeclared (first use in this function)
nv.c:764: warning: left-hand operand of comma expression has no effect
nv.c:770: `address' undeclared (first use in this function)
nv.c: At top level:
nv.c:816: parse error before '*' token
nv.c: In function `nvl_find_alloc_by_num_pages':
nv.c:824: `prev' undeclared (first use in this function)
nv.c:828: `nvl' undeclared (first use in this function)
nv.c:828: warning: left-hand operand of comma expression has no effect
nv.c:830: `num_pages' undeclared (first use in this function)
nv.c:831: `current' undeclared (first use in this function)
nv.c: In function `nv_map_device':
nv.c:884: warning: implicit declaration of function `ioremap_nocache'
nv.c:884: warning: assignment makes pointer from integer without a cast
nv.c:887: warning: implicit declaration of function `iounmap'
nv.c: In function `init_module':
nv.c:924: `nvl' undeclared (first use in this function)
nv.c:941: warning: implicit declaration of function `register_chrdev'
nv.c:983: request for member `nv_state' in something not a structure or union
nv.c:984: request for member `event_queue' in something not a structure or union
nv.c:1011: warning: implicit declaration of function `unregister_chrdev'
nv.c: In function `cleanup_module':
nv.c:1019: `nvl' undeclared (first use in this function)
nv.c:1020: `max_devices' undeclared (first use in this function)
nv.c: In function `nv_kern_vma_open':
nv.c:1088: union has no member named `usecount'
nv.c: In function `nv_kern_vma_release':
nv.c:1095: union has no member named `usecount'
nv.c: At top level:
nv.c:1124: variable `nv_vm_ops' has initializer but incomplete type
nv.c:1125: warning: excess elements in struct initializer
nv.c:1125: warning: (near initialization for `nv_vm_ops')
nv.c:1126: warning: excess elements in struct initializer
nv.c:1126: warning: (near initialization for `nv_vm_ops')
nv.c:1141: warning: `struct file' declared inside parameter list
nv.c:1141: warning: `struct inode' declared inside parameter list
nv.c:1142: conflicting types for `nv_kern_open'
nv.c:209: previous declaration of `nv_kern_open'
nv.c: In function `nv_kern_open':
nv.c:1144: `nvl' undeclared (first use in this function)
nv.c:1144: parse error before ')' token
nv.c:1150: warning: implicit declaration of function `kmalloc'
nv.c:1150: `GFP_KERNEL' undeclared (first use in this function)
nv.c:1154: dereferencing pointer to incomplete type
nv.c:1158: dereferencing pointer to incomplete type
nv.c:1159: warning: passing arg 1 of `nv_kern_ctl_open' from incompatible pointer type
nv.c:1159: warning: passing arg 2 of `nv_kern_ctl_open' from incompatible pointer type
nv.c:1162: dereferencing pointer to incomplete type
nv.c:1169: union has no member named `usecount'
nv.c:1177: dereferencing pointer to incomplete type
nv.c:1206: warning: implicit declaration of function `request_irq'
nv.c:1207: `SA_SHIRQ' undeclared (first use in this function)
nv.c:1225: sizeof applied to an incomplete type
nv.c:1226: sizeof applied to an incomplete type
nv.c:1230: warning: implicit declaration of function `init_waitqueue_head'
nv.c:1244: union has no member named `usecount'
nv.c: At top level:
nv.c:1261: warning: `struct file' declared inside parameter list
nv.c:1261: warning: `struct inode' declared inside parameter list
nv.c:1262: conflicting types for `nv_kern_close'
nv.c:210: previous declaration of `nv_kern_close'
nv.c: In function `nv_kern_close':
nv.c:1263: `nvl' undeclared (first use in this function)
nv.c:1263: parse error before ')' token
nv.c:1263: dereferencing pointer to incomplete type
nv.c:1268: dereferencing pointer to incomplete type
nv.c:1269: warning: passing arg 1 of `nv_kern_ctl_close' from incompatible pointer type
nv.c:1269: warning: passing arg 2 of `nv_kern_ctl_close' from incompatible pointer type
nv.c:1273: `current' undeclared (first use in this function)
nv.c:1301: warning: implicit declaration of function `free_irq'
nv.c:1336: dereferencing pointer to incomplete type
nv.c:1337: warning: implicit declaration of function `kfree'
nv.c:1337: dereferencing pointer to incomplete type
nv.c:1338: dereferencing pointer to incomplete type
nv.c:1340: union has no member named `usecount'
nv.c: At top level:
nv.c:1348: warning: `struct file' declared inside parameter list
nv.c:1349: conflicting types for `nv_kern_mmap'
nv.c:211: previous declaration of `nv_kern_mmap'
nv.c: In function `nv_kern_mmap':
nv.c:1352: `nvl' undeclared (first use in this function)
nv.c:1352: parse error before ')' token
nv.c:1352: dereferencing pointer to incomplete type
nv.c:1361: dereferencing pointer to incomplete type
nv.c:1362: dereferencing pointer to incomplete type
nv.c:1363: dereferencing pointer to incomplete type
nv.c:1368: dereferencing pointer to incomplete type
nv.c:1368: dereferencing pointer to incomplete type
nv.c:1375: dereferencing pointer to incomplete type
nv.c:1383: dereferencing pointer to incomplete type
nv.c:1384: dereferencing pointer to incomplete type
nv.c:1384: dereferencing pointer to incomplete type
nv.c:1384: dereferencing pointer to incomplete type
nv.c:1389: warning: implicit declaration of function `remap_page_range'
nv.c:1389: dereferencing pointer to incomplete type
nv.c:1390: dereferencing pointer to incomplete type
nv.c:1391: dereferencing pointer to incomplete type
nv.c:1391: dereferencing pointer to incomplete type
nv.c:1392: dereferencing pointer to incomplete type
nv.c:1396: dereferencing pointer to incomplete type
nv.c:1396: `VM_IO' undeclared (first use in this function)
nv.c:1400: dereferencing pointer to incomplete type
nv.c:1401: dereferencing pointer to incomplete type
nv.c:1401: dereferencing pointer to incomplete type
nv.c:1401: dereferencing pointer to incomplete type
nv.c:1406: dereferencing pointer to incomplete type
nv.c:1407: dereferencing pointer to incomplete type
nv.c:1408: dereferencing pointer to incomplete type
nv.c:1408: dereferencing pointer to incomplete type
nv.c:1409: dereferencing pointer to incomplete type
nv.c:1413: dereferencing pointer to incomplete type
nv.c:1417: dereferencing pointer to incomplete type
nv.c:1436: dereferencing pointer to incomplete type
nv.c:1440: warning: implicit declaration of function `__pgprot'
nv.c:1448: dereferencing pointer to incomplete type
nv.c:1448: `VM_LOCKED' undeclared (first use in this function)
nv.c:1452: dereferencing pointer to incomplete type
nv.c:1479: dereferencing pointer to incomplete type
nv.c:1483: dereferencing pointer to incomplete type
nv.c:1487: dereferencing pointer to incomplete type
nv.c:1493: dereferencing pointer to incomplete type
nv.c:1496: union has no member named `usecount'
nv.c: At top level:
nv.c:1504: parse error before "poll_table"
nv.c:1505: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_poll':
nv.c:1508: `nvl' undeclared (first use in this function)
nv.c:1512: `file' undeclared (first use in this function)
nv.c:1513: parse error before ')' token
nv.c:1519: `wait' undeclared (first use in this function)
nv.c:1522: warning: implicit declaration of function `poll_wait'
nv.c: At top level:
nv.c:1588: warning: `struct file' declared inside parameter list
nv.c:1588: warning: `struct inode' declared inside parameter list
nv.c:1589: conflicting types for `nv_kern_ioctl'
nv.c:213: previous declaration of `nv_kern_ioctl'
nv.c: In function `nv_kern_ioctl':
nv.c:1592: `nvl' undeclared (first use in this function)
nv.c:1596: parse error before ')' token
nv.c:1596: dereferencing pointer to incomplete type
nv.c:1608: warning: implicit declaration of function `atomic_set'
nv.c:1608: union has no member named `usecount'
nv.c:1635: warning: implicit declaration of function `copy_from_user'
nv.c:1647: `tnvl' undeclared (first use in this function)
nv.c:1652: warning: left-hand operand of comma expression has no effect
nv.c:1671: warning: implicit declaration of function `copy_to_user'
nv.c:1652: warning: value computed is not used
nv.c: In function `nv_kern_isr':
nv.c:1711: `nvl' undeclared (first use in this function)
nv.c: At top level:
nv.c:1782: warning: `struct file' declared inside parameter list
nv.c:1782: warning: `struct inode' declared inside parameter list
nv.c:1783: conflicting types for `nv_kern_ctl_open'
nv.c:225: previous declaration of `nv_kern_ctl_open'
nv.c: In function `nv_kern_ctl_open':
nv.c:1785: `nvl' undeclared (first use in this function)
nv.c:1794: dereferencing pointer to incomplete type
nv.c:1796: union has no member named `usecount'
nv.c:1807: sizeof applied to an incomplete type
nv.c:1808: sizeof applied to an incomplete type
nv.c: At top level:
nv.c:1837: warning: `struct file' declared inside parameter list
nv.c:1837: warning: `struct inode' declared inside parameter list
nv.c:1838: conflicting types for `nv_kern_ctl_close'
nv.c:226: previous declaration of `nv_kern_ctl_close'
nv.c: In function `nv_kern_ctl_close':
nv.c:1839: dereferencing pointer to incomplete type
nv.c:1847: `nvl' undeclared (first use in this function)
nv.c:1847: parse error before ')' token
nv.c:1856: `current' undeclared (first use in this function)
nv.c:1859: dereferencing pointer to incomplete type
nv.c:1860: dereferencing pointer to incomplete type
nv.c:1861: dereferencing pointer to incomplete type
nv.c:1863: union has no member named `usecount'
nv.c: At top level:
nv.c:1876: parse error before "poll_table"
nv.c:1877: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_ctl_poll':
nv.c:1879: `nvl' undeclared (first use in this function)
nv.c:1883: parse error before ')' token
nv.c:1883: `file' undeclared (first use in this function)
nv.c:1889: `wait' undeclared (first use in this function)
nv.c: In function `nv_set_hotkey_occurred_flag':
nv.c:1915: request for member `nv_state' in something not a structure or union
nv.c:1916: request for member `nv_state' in something not a structure or union
nv.c:1917: request for member `nv_state' in something not a structure or union
nv.c:1919: warning: implicit declaration of function `wake_up_interruptible'
nv.c:1919: request for member `event_queue' in something not a structure or union
nv.c: In function `nv_kern_read_cardinfo':
wenn ich rmpbuild -bb --target=i586 --clean --rmsource NVIDIA*.spec eingebe (ich habe übrigens nur eine .spec-datei, da die zweite erst erstellt wird, wenn der nvidia-kernel läuft...) erscheint das:
[root@localhost SPECS]# rpmbuild -bb --target=i586 --clean --rmsource NVIDIA*.spec
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8044
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-2960
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-2960.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-2960
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8044
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-2960
+ LANG=C
+ export LANG
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.1
++ echo 4.1
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.1
++ awk -F . '{print $2;}'
+ RPMMINOR=1
++ echo 4.1
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' 4 -le 3 -a 1 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.8044: line 34: [: too many arguments
+ make NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960
-I. -I/usr/src/linux/include -Wno-cast-qual nv.c
In file included from /usr/include/linux/fs.h:23,
from nv-linux.h:26,
from nv.c:27:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from nv.c:27:
nv-linux.h:29:47: linux/vmalloc.h: No such file or directory
In file included from nv-linux.h:53,
from nv.c:27:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from nv.c:27:
nv-linux.h:110: parse error before "unload_lock"
nv-linux.h:110: warning: type defaults to `int' in declaration of `unload_lock'
nv-linux.h:110: warning: data definition has no type or storage class
nv-linux.h:170: parse error before "spinlock_t"
nv-linux.h:170: warning: no semicolon at end of struct or union
nv-linux.h:175: parse error before "ldata_lock"
nv-linux.h:175: warning: type defaults to `int' in declaration of `ldata_lock'
nv-linux.h:175: warning: data definition has no type or storage class
nv-linux.h:180: parse error before "at_lock"
nv-linux.h:180: warning: type defaults to `int' in declaration of `at_lock'
nv-linux.h:180: warning: data definition has no type or storage class
nv-linux.h:184: parse error before "bh_lock"
nv-linux.h:184: warning: type defaults to `int' in declaration of `bh_lock'
nv-linux.h:184: warning: data definition has no type or storage class
nv-linux.h:198: parse error before '}' token
nv-linux.h:198: warning: type defaults to `int' in declaration of `nv_linux_state_t'
nv-linux.h:198: warning: data definition has no type or storage class
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/mm.h:4,
from nv.c:33:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /usr/include/linux/mm.h:4,
from nv.c:33:
/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 /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/mm.h:4,
from nv.c:33:
/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/mm.h:4,
from nv.c:33:
/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.c:38:
/usr/include/linux/proc_fs.h: At top level:
/usr/include/linux/proc_fs.h:70: parse error before "atomic_t"
/usr/include/linux/proc_fs.h:73: parse error before '}' token
/usr/include/linux/proc_fs.h:203: parse error before "void"
In file included from nv.c:41:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nv.c:42:
/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.c:42:
/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:43:
/usr/include/linux/tqueue.h: At top level:
/usr/include/linux/tqueue.h:94: parse error before "tqueue_lock"
In file included from nv.c:54:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from nv.c:54:
/usr/include/asm/pgtable.h:24: parse error before "swapper_pg_dir"
In file included from /usr/include/asm/pgtable.h:115,
from nv.c:54:
/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.c:54:
/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)
nv.c:57:53: asm/uaccess.h: No such file or directory
nv.c:59:51: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from nv.c:63:
/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.c:63:
/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.c:63:
/usr/include/linux/highmem.h: In function `kmap':
/usr/include/linux/highmem.h:68: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:96: parse error before "nv_linux_devices"
nv.c:96: warning: type defaults to `int' in declaration of `nv_linux_devices'
nv.c:96: warning: braces around scalar initializer
nv.c:96: warning: (near initialization for `nv_linux_devices[0]')
nv.c:96: warning: braces around scalar initializer
nv.c:96: warning: (near initialization for `nv_linux_devices[0]')
nv.c:96: warning: data definition has no type or storage class
nv.c:107: parse error before "nv_ctl_device"
nv.c:107: warning: type defaults to `int' in declaration of `nv_ctl_device'
nv.c:107: warning: braces around scalar initializer
nv.c:107: warning: (near initialization for `nv_ctl_device')
nv.c:107: warning: data definition has no type or storage class
nv.c:166: warning: `struct pci_dev' declared inside parameter list
nv.c:176: parse error before '*' token
nv.c:177: parse error before '*' token
nv.c:178: parse error before '*' token
nv.c:209: warning: `struct file' declared inside parameter list
nv.c:209: warning: `struct inode' declared inside parameter list
nv.c:210: warning: `struct file' declared inside parameter list
nv.c:210: warning: `struct inode' declared inside parameter list
nv.c:211: warning: `struct file' declared inside parameter list
nv.c:212: parse error before "poll_table"
nv.c:212: warning: `struct file' declared inside parameter list
nv.c:213: warning: `struct file' declared inside parameter list
nv.c:213: warning: `struct inode' declared inside parameter list
nv.c:225: warning: `struct file' declared inside parameter list
nv.c:225: warning: `struct inode' declared inside parameter list
nv.c:226: warning: `struct file' declared inside parameter list
nv.c:226: warning: `struct inode' declared inside parameter list
nv.c:227: parse error before "poll_table"
nv.c:227: warning: `struct file' declared inside parameter list
nv.c:236: variable `nv_fops' has initializer but incomplete type
nv.c:237: unknown field `poll' specified in initializer
nv.c:237: warning: excess elements in struct initializer
nv.c:237: warning: (near initialization for `nv_fops')
nv.c:238: unknown field `ioctl' specified in initializer
nv.c:238: warning: excess elements in struct initializer
nv.c:238: warning: (near initialization for `nv_fops')
nv.c:239: unknown field `mmap' specified in initializer
nv.c:239: warning: excess elements in struct initializer
nv.c:239: warning: (near initialization for `nv_fops')
nv.c:240: unknown field `open' specified in initializer
nv.c:240: warning: excess elements in struct initializer
nv.c:240: warning: (near initialization for `nv_fops')
nv.c:241: unknown field `release' specified in initializer
nv.c:241: warning: excess elements in struct initializer
nv.c:241: warning: (near initialization for `nv_fops')
nv.c:255: parse error before "va_list"
nv.c: In function `NV_iMSG':
nv.c:263: `kernel_message_level' undeclared (first use in this function)
nv.c:264: warning: implicit declaration of function `sprintf'
nv.c:266: `nv' undeclared (first use in this function)
nv.c:274: warning: implicit declaration of function `vsprintf'
nv.c:274: `printf_format' undeclared (first use in this function)
nv.c:274: `arglist' undeclared (first use in this function)
nv.c:275: warning: implicit declaration of function `printk'
nv.c: In function `NV_iDMSG':
nv.c:285: `va_list' undeclared (first use in this function)
nv.c:285: parse error before "arglist"
nv.c:287: warning: implicit declaration of function `va_start'
nv.c:287: `arglist' undeclared (first use in this function)
nv.c:288: `KERN_INFO' undeclared (first use in this function)
nv.c:289: warning: implicit declaration of function `va_end'
nv.c: In function `NV_EMSG':
nv.c:298: `va_list' undeclared (first use in this function)
nv.c:298: parse error before "arglist"
nv.c:300: `arglist' undeclared (first use in this function)
nv.c:301: `KERN_ERR' undeclared (first use in this function)
nv.c: In function `nvos_set_primary_card':
nv.c:314: request for member `nv_state' in something not a structure or union
nv.c: At top level:
nv.c:320: warning: `struct pci_dev' declared inside parameter list
nv.c:321: conflicting types for `nvos_is_nv_device'
nv.c:166: previous declaration of `nvos_is_nv_device'
nv.c: In function `nvos_is_nv_device':
nv.c:325: dereferencing pointer to incomplete type
nv.c:330: dereferencing pointer to incomplete type
nv.c:336: dereferencing pointer to incomplete type
nv.c:336: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:343: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_get_pci_size':
nv.c:347: warning: implicit declaration of function `pci_read_config_dword'
nv.c:348: warning: implicit declaration of function `pci_write_config_dword'
nv.c: In function `nvos_probe_devices':
nv.c:376: `nvl' undeclared (first use in this function)
nv.c:381: warning: implicit declaration of function `pci_find_class'
nv.c:381: warning: assignment makes pointer from integer without a cast
nv.c:383: warning: passing arg 1 of `nvos_is_nv_device' from incompatible pointer type
nv.c:390: dereferencing pointer to incomplete type
nv.c:391: dereferencing pointer to incomplete type
nv.c:393: dereferencing pointer to incomplete type
nv.c:394: dereferencing pointer to incomplete type
nv.c:398: warning: implicit declaration of function `pci_read_config_word'
nv.c:404: warning: implicit declaration of function `pci_write_config_word'
nv.c:407: warning: passing arg 1 of `nvos_get_pci_size' from incompatible pointer type
nv.c:408: warning: passing arg 1 of `nvos_get_pci_size' from incompatible pointer type
nv.c:410: dereferencing pointer to incomplete type
nv.c:435: warning: assignment makes pointer from integer without a cast
nv.c: In function `nvos_malloc':
nv.c:479: warning: implicit declaration of function `vmalloc'
nv.c:479: warning: assignment makes pointer from integer without a cast
nv.c:493: warning: implicit declaration of function `__get_free_pages'
nv.c:493: `GFP_KERNEL' undeclared (first use in this function)
nv.c:497: warning: implicit declaration of function `virt_to_phys'
nv.c:500: `PG_reserved' undeclared (first use in this function)
nv.c:500: warning: implicit declaration of function `virt_to_page'
nv.c:500: warning: implicit declaration of function `__va'
nv.c:500: invalid type argument of `->'
nv.c:513: invalid type argument of `->'
nv.c:514: warning: implicit declaration of function `phys_to_virt'
nv.c:520: warning: implicit declaration of function `vfree'
nv.c: In function `nvos_free':
nv.c:536: `PG_reserved' undeclared (first use in this function)
nv.c:536: invalid type argument of `->'
nv.c: At top level:
nv.c:544: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_find_agp_capability':
nv.c:554: dereferencing pointer to incomplete type
nv.c:557: warning: implicit declaration of function `pci_read_config_byte'
nv.c: In function `nvos_find_agp_by_class':
nv.c:579: warning: assignment makes pointer from integer without a cast
nv.c:581: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible pointer type
nv.c:584: warning: assignment makes pointer from integer without a cast
nv.c: In function `nv_find_pci_dev':
nv.c:598: warning: implicit declaration of function `pci_find_device'
nv.c:598: warning: assignment makes pointer from integer without a cast
nv.c:600: dereferencing pointer to incomplete type
nv.c:601: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:700: parse error before '*' token
nv.c: In function `nvl_find_alloc':
nv.c:710: `address' undeclared (first use in this function)
nv.c:716: `prev' undeclared (first use in this function)
nv.c:720: `nvl' undeclared (first use in this function)
nv.c:720: warning: left-hand operand of comma expression has no effect
nv.c: At top level:
nv.c:752: parse error before '*' token
nv.c: In function `nvl_find_agp_alloc':
nv.c:760: `prev' undeclared (first use in this function)
nv.c:764: `nvl' undeclared (first use in this function)
nv.c:764: warning: left-hand operand of comma expression has no effect
nv.c:770: `address' undeclared (first use in this function)
nv.c: At top level:
nv.c:816: parse error before '*' token
nv.c: In function `nvl_find_alloc_by_num_pages':
nv.c:824: `prev' undeclared (first use in this function)
nv.c:828: `nvl' undeclared (first use in this function)
nv.c:828: warning: left-hand operand of comma expression has no effect
nv.c:830: `num_pages' undeclared (first use in this function)
nv.c:831: `current' undeclared (first use in this function)
nv.c: In function `nv_map_device':
nv.c:884: warning: implicit declaration of function `ioremap_nocache'
nv.c:884: warning: assignment makes pointer from integer without a cast
nv.c:887: warning: implicit declaration of function `iounmap'
nv.c: In function `init_module':
nv.c:924: `nvl' undeclared (first use in this function)
nv.c:941: warning: implicit declaration of function `register_chrdev'
nv.c:983: request for member `nv_state' in something not a structure or union
nv.c:984: request for member `event_queue' in something not a structure or union
nv.c:1011: warning: implicit declaration of function `unregister_chrdev'
nv.c: In function `cleanup_module':
nv.c:1019: `nvl' undeclared (first use in this function)
nv.c:1020: `max_devices' undeclared (first use in this function)
nv.c: In function `nv_kern_vma_open':
nv.c:1088: union has no member named `usecount'
nv.c: In function `nv_kern_vma_release':
nv.c:1095: union has no member named `usecount'
nv.c: At top level:
nv.c:1124: variable `nv_vm_ops' has initializer but incomplete type
nv.c:1125: warning: excess elements in struct initializer
nv.c:1125: warning: (near initialization for `nv_vm_ops')
nv.c:1126: warning: excess elements in struct initializer
nv.c:1126: warning: (near initialization for `nv_vm_ops')
nv.c:1141: warning: `struct file' declared inside parameter list
nv.c:1141: warning: `struct inode' declared inside parameter list
nv.c:1142: conflicting types for `nv_kern_open'
nv.c:209: previous declaration of `nv_kern_open'
nv.c: In function `nv_kern_open':
nv.c:1144: `nvl' undeclared (first use in this function)
nv.c:1144: parse error before ')' token
nv.c:1150: warning: implicit declaration of function `kmalloc'
nv.c:1150: `GFP_KERNEL' undeclared (first use in this function)
nv.c:1154: dereferencing pointer to incomplete type
nv.c:1158: dereferencing pointer to incomplete type
nv.c:1159: warning: passing arg 1 of `nv_kern_ctl_open' from incompatible pointer type
nv.c:1159: warning: passing arg 2 of `nv_kern_ctl_open' from incompatible pointer type
nv.c:1162: dereferencing pointer to incomplete type
nv.c:1169: union has no member named `usecount'
nv.c:1177: dereferencing pointer to incomplete type
nv.c:1206: warning: implicit declaration of function `request_irq'
nv.c:1207: `SA_SHIRQ' undeclared (first use in this function)
nv.c:1225: sizeof applied to an incomplete type
nv.c:1226: sizeof applied to an incomplete type
nv.c:1230: warning: implicit declaration of function `init_waitqueue_head'
nv.c:1244: union has no member named `usecount'
nv.c: At top level:
nv.c:1261: warning: `struct file' declared inside parameter list
nv.c:1261: warning: `struct inode' declared inside parameter list
nv.c:1262: conflicting types for `nv_kern_close'
nv.c:210: previous declaration of `nv_kern_close'
nv.c: In function `nv_kern_close':
nv.c:1263: `nvl' undeclared (first use in this function)
nv.c:1263: parse error before ')' token
nv.c:1263: dereferencing pointer to incomplete type
nv.c:1268: dereferencing pointer to incomplete type
nv.c:1269: warning: passing arg 1 of `nv_kern_ctl_close' from incompatible pointer type
nv.c:1269: warning: passing arg 2 of `nv_kern_ctl_close' from incompatible pointer type
nv.c:1273: `current' undeclared (first use in this function)
nv.c:1301: warning: implicit declaration of function `free_irq'
nv.c:1336: dereferencing pointer to incomplete type
nv.c:1337: warning: implicit declaration of function `kfree'
nv.c:1337: dereferencing pointer to incomplete type
nv.c:1338: dereferencing pointer to incomplete type
nv.c:1340: union has no member named `usecount'
nv.c: At top level:
nv.c:1348: warning: `struct file' declared inside parameter list
nv.c:1349: conflicting types for `nv_kern_mmap'
nv.c:211: previous declaration of `nv_kern_mmap'
nv.c: In function `nv_kern_mmap':
nv.c:1352: `nvl' undeclared (first use in this function)
nv.c:1352: parse error before ')' token
nv.c:1352: dereferencing pointer to incomplete type
nv.c:1361: dereferencing pointer to incomplete type
nv.c:1362: dereferencing pointer to incomplete type
nv.c:1363: dereferencing pointer to incomplete type
nv.c:1368: dereferencing pointer to incomplete type
nv.c:1368: dereferencing pointer to incomplete type
nv.c:1375: dereferencing pointer to incomplete type
nv.c:1383: dereferencing pointer to incomplete type
nv.c:1384: dereferencing pointer to incomplete type
nv.c:1384: dereferencing pointer to incomplete type
nv.c:1384: dereferencing pointer to incomplete type
nv.c:1389: warning: implicit declaration of function `remap_page_range'
nv.c:1389: dereferencing pointer to incomplete type
nv.c:1390: dereferencing pointer to incomplete type
nv.c:1391: dereferencing pointer to incomplete type
nv.c:1391: dereferencing pointer to incomplete type
nv.c:1392: dereferencing pointer to incomplete type
nv.c:1396: dereferencing pointer to incomplete type
nv.c:1396: `VM_IO' undeclared (first use in this function)
nv.c:1400: dereferencing pointer to incomplete type
nv.c:1401: dereferencing pointer to incomplete type
nv.c:1401: dereferencing pointer to incomplete type
nv.c:1401: dereferencing pointer to incomplete type
nv.c:1406: dereferencing pointer to incomplete type
nv.c:1407: dereferencing pointer to incomplete type
nv.c:1408: dereferencing pointer to incomplete type
nv.c:1408: dereferencing pointer to incomplete type
nv.c:1409: dereferencing pointer to incomplete type
nv.c:1413: dereferencing pointer to incomplete type
nv.c:1417: dereferencing pointer to incomplete type
nv.c:1436: dereferencing pointer to incomplete type
nv.c:1440: warning: implicit declaration of function `__pgprot'
nv.c:1448: dereferencing pointer to incomplete type
nv.c:1448: `VM_LOCKED' undeclared (first use in this function)
nv.c:1452: dereferencing pointer to incomplete type
nv.c:1479: dereferencing pointer to incomplete type
nv.c:1483: dereferencing pointer to incomplete type
nv.c:1487: dereferencing pointer to incomplete type
nv.c:1493: dereferencing pointer to incomplete type
nv.c:1496: union has no member named `usecount'
nv.c: At top level:
nv.c:1504: parse error before "poll_table"
nv.c:1505: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_poll':
nv.c:1508: `nvl' undeclared (first use in this function)
nv.c:1512: `file' undeclared (first use in this function)
nv.c:1513: parse error before ')' token
nv.c:1519: `wait' undeclared (first use in this function)
nv.c:1522: warning: implicit declaration of function `poll_wait'
nv.c: At top level:
nv.c:1588: warning: `struct file' declared inside parameter list
nv.c:1588: warning: `struct inode' declared inside parameter list
nv.c:1589: conflicting types for `nv_kern_ioctl'
nv.c:213: previous declaration of `nv_kern_ioctl'
nv.c: In function `nv_kern_ioctl':
nv.c:1592: `nvl' undeclared (first use in this function)
nv.c:1596: parse error before ')' token
nv.c:1596: dereferencing pointer to incomplete type
nv.c:1608: warning: implicit declaration of function `atomic_set'
nv.c:1608: union has no member named `usecount'
nv.c:1635: warning: implicit declaration of function `copy_from_user'
nv.c:1647: `tnvl' undeclared (first use in this function)
nv.c:1652: warning: left-hand operand of comma expression has no effect
nv.c:1671: warning: implicit declaration of function `copy_to_user'
nv.c:1652: warning: value computed is not used
nv.c: In function `nv_kern_isr':
nv.c:1711: `nvl' undeclared (first use in this function)
nv.c: At top level:
nv.c:1782: warning: `struct file' declared inside parameter list
nv.c:1782: warning: `struct inode' declared inside parameter list
nv.c:1783: conflicting types for `nv_kern_ctl_open'
nv.c:225: previous declaration of `nv_kern_ctl_open'
nv.c: In function `nv_kern_ctl_open':
nv.c:1785: `nvl' undeclared (first use in this function)
nv.c:1794: dereferencing pointer to incomplete type
nv.c:1796: union has no member named `usecount'
nv.c:1807: sizeof applied to an incomplete type
nv.c:1808: sizeof applied to an incomplete type
nv.c: At top level:
nv.c:1837: warning: `struct file' declared inside parameter list
nv.c:1837: warning: `struct inode' declared inside parameter list
nv.c:1838: conflicting types for `nv_kern_ctl_close'
nv.c:226: previous declaration of `nv_kern_ctl_close'
nv.c: In function `nv_kern_ctl_close':
nv.c:1839: dereferencing pointer to incomplete type
nv.c:1847: `nvl' undeclared (first use in this function)
nv.c:1847: parse error before ')' token
nv.c:1856: `current' undeclared (first use in this function)
nv.c:1859: dereferencing pointer to incomplete type
nv.c:1860: dereferencing pointer to incomplete type
nv.c:1861: dereferencing pointer to incomplete type
nv.c:1863: union has no member named `usecount'
nv.c: At top level:
nv.c:1876: parse error before "poll_table"
nv.c:1877: warning: `struct file' declared inside parameter list
nv.c: In function `nv_kern_ctl_poll':
nv.c:1879: `nvl' undeclared (first use in this function)
nv.c:1883: parse error before ')' token
nv.c:1883: `file' undeclared (first use in this function)
nv.c:1889: `wait' undeclared (first use in this function)
nv.c: In function `nv_set_hotkey_occurred_flag':
nv.c:1915: request for member `nv_state' in something not a structure or union
nv.c:1916: request for member `nv_state' in something not a structure or union
nv.c:1917: request for member `nv_state' in something not a structure or union
nv.c:1919: warning: implicit declaration of function `wake_up_interruptible'
nv.c:1919: request for member `event_queue' in something not a structure or union
nv.c: In function `nv_kern_read_cardinfo':