Thread: Witch driver?
View Single Post
Old 05-01-03, 01:52 PM   #7
Jovan
Registered User
 
Join Date: Apr 2003
Location: Fermany
Posts: 8
Default

I jave try to install the Driver but i have some Problems.........

[jovan@jovan Dateien]$ su
Password:
[root@jovan Dateien]# cd NVIDIA_kernel-1.0-4363
[root@jovan NVIDIA_kernel-1.0-4363]# make
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4363 -DNV_UNI
X -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include
-Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:17:26: linux/config.h: No such file or directory
nv-linux.h:27:26: linux/kernel.h: No such file or directory
nv-linux.h:28:26: linux/module.h: No such file or directory
nv-linux.h:29:27: linux/version.h: No such file or directory
nv-linux.h:31:40: missing binary operator before '('
nv-linux.h:33:42: missing binary operator before '('
nv-linux.h:43:42: missing binary operator before '('
nv-linux.h:45:42: missing binary operator before '('
nv-linux.h:47:42: missing binary operator before '('
nv-linux.h:51:4: #error This driver does not support 2.6.x or newer kernels!
nv-linux.h:64:75: linux/types.h: No such file or directory
nv-linux.h:65:75: linux/errno.h: No such file or directory
nv-linux.h:66:75: linux/list.h: No such file or directory
nv-linux.h:67:75: linux/stddef.h: No such file or directory
nv-linux.h:68:75: linux/wait.h: No such file or directory
nv-linux.h:69:75: linux/tqueue.h: No such file or directory
nv-linux.h:71:75: linux/slab.h: No such file or directory
nv-linux.h:72:75: linux/vmalloc.h: No such file or directory
nv-linux.h:74:75: linux/poll.h: No such file or directory
nv-linux.h:75:75: linux/delay.h: No such file or directory
nv-linux.h:77:75: linux/pci.h: No such file or directory
nv-linux.h:78:75: linux/wrapper.h: No such file or directory
nv-linux.h:79:75: linux/interrupt.h: No such file or directory
nv-linux.h:80:25: linux/timer.h: No such file or directory
nv-linux.h:82:75: asm/system.h: No such file or directory
nv-linux.h:83:75: asm/io.h: No such file or directory
nv-linux.h:84:75: asm/uaccess.h: No such file or directory
nv-linux.h:85:75: asm/page.h: No such file or directory
nv-linux.h:86:75: asm/pgtable.h: No such file or directory
nv-linux.h:89:28: linux/spinlock.h: No such file or directory
nv-linux.h:90:27: asm/semaphore.h: No such file or directory
nv-linux.h:91:27: linux/highmem.h: No such file or directory
nv-linux.h:135:40: missing binary operator before '('
nv-linux.h:167:2: #error "Couldn't determine number of arguments expected by rem
ap_page_range!"
nv-linux.h:228:64: missing binary operator before '('
In file included from nv.c:14:
nv-linux.h: In function `NV_IRQL_IS_RAISED':
nv-linux.h:255: warning: implicit declaration of function `__save_flags'
nv-linux.h: In function `calc_order':
nv-linux.h:262: `PAGE_SIZE' undeclared (first use in this function)
nv-linux.h:262: (Each undeclared identifier is reported only once
nv-linux.h:262: for each function it appears in.)
nv-linux.h: At top level:
nv-linux.h:270: parse error before "pgprot_noncached"
nv-linux.h:270: parse error before "old_prot"
nv-linux.h:271: warning: return type defaults to `int'
nv-linux.h: In function `pgprot_noncached':
nv-linux.h:272: `pgprot_t' undeclared (first use in this function)
nv-linux.h:272: parse error before "new_prot"
nv-linux.h:273: `boot_cpu_data' undeclared (first use in this function)
nv-linux.h:274: `new_prot' undeclared (first use in this function)
nv-linux.h:274: warning: implicit declaration of function `__pgprot'
nv-linux.h:274: warning: implicit declaration of function `pgprot_val'
nv-linux.h:274: `old_prot' undeclared (first use in this function)
nv-linux.h:274: `_PAGE_PCD' undeclared (first use in this function)
nv-linux.h: At top level:
nv-linux.h:316: parse error before "atomic_t"
nv-linux.h:316: warning: no semicolon at end of struct or union
nv-linux.h:328: parse error before "rm_lock"
nv-linux.h:328: warning: type defaults to `int' in declaration of `rm_lock'
nv-linux.h:328: warning: data definition has no type or storage class
nv-linux.h:332: parse error before "ldata_lock"
nv-linux.h:332: warning: type defaults to `int' in declaration of `ldata_lock'
nv-linux.h:332: warning: data definition has no type or storage class
nv-linux.h:336: parse error before "at_lock"
nv-linux.h:336: warning: type defaults to `int' in declaration of `at_lock'
nv-linux.h:336: warning: data definition has no type or storage class
nv-linux.h:337: warning: type defaults to `int' in declaration of `nv_linux_stat
e_t'
nv-linux.h:337: 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:95: parse error before '*' token
nv.c:96: parse error before '*' token
nv.c:97: parse error before '*' token
nv.c:118: warning: `struct file' declared inside parameter list
nv.c:118: warning: its scope is only this definition or declaration, which is pr
obably not what you want
nv.c:118: warning: `struct inode' declared inside parameter list
nv.c:119: warning: `struct file' declared inside parameter list
nv.c:119: warning: `struct inode' declared inside parameter list
nv.c:120: warning: `struct file' declared inside parameter list
nv.c:121: parse error before "poll_table"
nv.c:121: warning: `struct file' declared inside parameter list
nv.c:122: warning: `struct file' declared inside parameter list
nv.c:122: warning: `struct inode' declared inside parameter list
nv.c:124: warning: `struct pt_regs' declared inside parameter list
nv.c:130: parse error before "off_t"
nv.c:131: parse error before "off_t"
nv.c:132: parse error before "off_t"
nv.c:133: parse error before "off_t"
nv.c:135: warning: `struct file' declared inside parameter list
nv.c:135: warning: `struct inode' declared inside parameter list
nv.c:136: warning: `struct file' declared inside parameter list
nv.c:136: warning: `struct inode' declared inside parameter list
nv.c:137: parse error before "poll_table"
nv.c:137: warning: `struct file' declared inside parameter list
nv.c:146: variable `nv_fops' has initializer but incomplete type
nv.c:147: unknown field `poll' specified in initializer
nv.c:147: warning: excess elements in struct initializer
nv.c:147: warning: (near initialization for `nv_fops')
nv.c:148: unknown field `ioctl' specified in initializer
nv.c:148: warning: excess elements in struct initializer
nv.c:148: warning: (near initialization for `nv_fops')
nv.c:149: unknown field `mmap' specified in initializer
nv.c:149: warning: excess elements in struct initializer
nv.c:149: warning: (near initialization for `nv_fops')
nv.c:150: unknown field `open' specified in initializer
nv.c:150: warning: excess elements in struct initializer
nv.c:150: warning: (near initialization for `nv_fops')
nv.c:151: unknown field `release' specified in initializer
nv.c:151: warning: excess elements in struct initializer
nv.c:151: warning: (near initialization for `nv_fops')
nv.c: In function `nvos_set_primary_card':
nv.c:173: request for member `nv_state' in something not a structure or union
nv.c:174: request for member `nv_state' in something not a structure or union
nv.c:176: request for member `nv_state' in something not a structure or union
nv.c: At top level:
nv.c:185: parse error before "u32"
nv.c:185: warning: `struct pci_dev' declared inside parameter list
nv.c: In function `nvos_get_pci_size':
nv.c:187: `u32' undeclared (first use in this function)
nv.c:187: parse error before "base_reg"
nv.c:189: warning: implicit declaration of function `pci_read_config_dword'
nv.c:189: `dev' undeclared (first use in this function)
nv.c:189: `base' undeclared (first use in this function)
nv.c:189: `base_reg' undeclared (first use in this function)
nv.c:190: warning: implicit declaration of function `pci_write_config_dword'
nv.c:191: `size' undeclared (first use in this function)
nv.c:194: `PCI_BASE_ADDRESS_0' undeclared (first use in this function)
nv.c:196: `ap' undeclared (first use in this function)
nv.c:196: `PCI_BASE_ADDRESS_IO_MASK' undeclared (first use in this function)
nv.c:200: `PCI_BASE_ADDRESS_MEM_MASK' undeclared (first use in this function)
nv.c: In function `nvos_probe_devices':
nv.c:218: `nvl' undeclared (first use in this function)
nv.c:223: warning: implicit declaration of function `pci_find_class'
nv.c:223: `PCI_CLASS_DISPLAY_VGA' undeclared (first use in this function)
nv.c:223: warning: assignment makes pointer from integer without a cast
nv.c:226: dereferencing pointer to incomplete type
nv.c:226: dereferencing pointer to incomplete type
nv.c:233: dereferencing pointer to incomplete type
nv.c:234: dereferencing pointer to incomplete type
nv.c:236: dereferencing pointer to incomplete type
nv.c:237: warning: implicit declaration of function `PCI_SLOT'
nv.c:237: dereferencing pointer to incomplete type
nv.c:240: warning: implicit declaration of function `pci_read_config_word'
nv.c:240: `PCI_COMMAND' undeclared (first use in this function)
nv.c:243: `PCI_COMMAND_MEMORY' undeclared (first use in this function)
nv.c:243: `PCI_COMMAND_MASTER' undeclared (first use in this function)
nv.c:246: warning: implicit declaration of function `pci_write_config_word'
nv.c:249: `PCI_BASE_ADDRESS_0' undeclared (first use in this function)
nv.c:250: `PCI_BASE_ADDRESS_1' undeclared (first use in this function)
nv.c:252: dereferencing pointer to incomplete type
nv.c:263: warning: implicit declaration of function `PCI_FUNC'
nv.c:263: dereferencing pointer to incomplete type
nv.c:267: dereferencing pointer to incomplete type
nv.c:277: warning: assignment makes pointer from integer without a cast
nv.c: In function `nvos_malloc_pages':
nv.c:366: warning: implicit declaration of function `__get_free_pages'
nv.c:366: `GFP_KERNEL' undeclared (first use in this function)
nv.c:370: warning: implicit declaration of function `virt_to_phys'
nv.c:373: warning: implicit declaration of function `mem_map_reserve'
nv.c:373: warning: implicit declaration of function `virt_to_page'
nv.c:373: warning: implicit declaration of function `__va'
nv.c:386: warning: implicit declaration of function `mem_map_unreserve'
nv.c:387: warning: implicit declaration of function `free_page'
nv.c:387: warning: implicit declaration of function `phys_to_virt'
nv.c: In function `nvos_create_alloc':
nv.c:439: warning: implicit declaration of function `kmalloc'
nv.c:439: `GFP_KERNEL' undeclared (first use in this function)
nv.c:446: warning: implicit declaration of function `memset'
nv.c:449: warning: implicit declaration of function `vmalloc_32'
nv.c:453: warning: implicit declaration of function `kfree'
nv.c: In function `nvos_free_alloc':
nv.c:477: warning: implicit declaration of function `vfree'
nv.c: At top level:
nv.c:484: parse error before "nvos_find_agp_capability"
nv.c:484: warning: `struct pci_dev' declared inside parameter list
nv.c:485: warning: return type defaults to `int'
nv.c: In function `nvos_find_agp_capability':
nv.c:486: `u16' undeclared (first use in this function)
nv.c:486: parse error before "status"
nv.c:487: `u8' undeclared (first use in this function)
nv.c:489: `PCI_STATUS' undeclared (first use in this function)
nv.c:489: `status' undeclared (first use in this function)
nv.c:490: `PCI_STATUS_CAP_LIST' undeclared (first use in this function)
nv.c:494: dereferencing pointer to incomplete type
nv.c:495: `PCI_HEADER_TYPE_NORMAL' undeclared (first use in this function)
nv.c:496: `PCI_HEADER_TYPE_BRIDGE' undeclared (first use in this function)
nv.c:497: warning: implicit declaration of function `pci_read_config_byte'
nv.c:497: `PCI_CAPABILITY_LIST' undeclared (first use in this function)
nv.c:497: `cap_ptr' undeclared (first use in this function)
nv.c:505: `PCI_CAP_LIST_ID' undeclared (first use in this function)
nv.c:505: `cap_id' undeclared (first use in this function)
nv.c:506: `PCI_CAP_ID_AGP' undeclared (first use in this function)
nv.c:508: `PCI_CAP_LIST_NEXT' undeclared (first use in this function)
nv.c: In function `nvos_find_agp_by_class':
nv.c:517: `u8' undeclared (first use in this function)
nv.c:517: parse error before "cap_ptr"
nv.c:520: warning: assignment makes pointer from integer without a cast
nv.c:523: dereferencing pointer to incomplete type
nv.c:524: warning: implicit declaration of function `pci_find_slot'
nv.c:524: dereferencing pointer to incomplete type
nv.c:524: warning: implicit declaration of function `PCI_DEVFN'
nv.c:524: warning: assignment makes pointer from integer without a cast
nv.c:527: `cap_ptr' undeclared (first use in this function)
nv.c:527: warning: passing arg 1 of `nvos_find_agp_capability' from incompatible
pointer type
nv.c:531: warning: assignment makes pointer from integer without a cast
nv.c: In function `nv_find_pci_dev':
nv.c:545: warning: implicit declaration of function `pci_find_device'
nv.c:545: warning: assignment makes pointer from integer without a cast
nv.c:547: dereferencing pointer to incomplete type
nv.c:548: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:649: parse error before '*' token
nv.c: In function `nvl_find_alloc':
nv.c:656: `nvl' undeclared (first use in this function)
nv.c:660: `flags' undeclared (first use in this function)
nv.c:664: `address' undeclared (first use in this function)
nv.c:674: `PAGE_SIZE' undeclared (first use in this function)
nv.c: At top level:
nv.c:688: parse error before '*' token
nv.c: In function `nvl_add_alloc':
nv.c:692: `nvl' undeclared (first use in this function)
nv.c:693: `at' undeclared (first use in this function)
nv.c: At top level:
nv.c:700: parse error before '*' token
nv.c: In function `nvl_remove_alloc':
nv.c:706: `nvl' undeclared (first use in this function)
nv.c:706: `at' undeclared (first use in this function)
nv.c: In function `init_module':
Jovan is offline   Reply With Quote