QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3526|回复: 19

请教NV驱动安装

[复制链接]
发表于 2002-11-3 16:04:26 | 显示全部楼层 |阅读模式
我安装nv驱动还是失败,无法进入X Windows。不知道跟PCI接口有没有关系?
下面是我安装完rpm包后修改的XF86Config。请各位看看对不对。先谢了。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2002-11-3 16:39:29 | 显示全部楼层
如果是PCI接口的,试试禁用AGP,在nvidia的那一行下载加入
"NvAGP" "0"
回复

使用道具 举报

发表于 2002-11-3 17:31:55 | 显示全部楼层
不行的话再将你的/var/log/xfree86.0.log最后出错的部分信息贴出来(请不要全贴,就贴最后20行左右够了)
回复

使用道具 举报

发表于 2002-11-3 18:44:46 | 显示全部楼层
如果是NV的驱动,BUSID是一定要写的
如AGP是PCI:1:0:0:0
NV会给一个Sample,照这她就行了
回复

使用道具 举报

 楼主| 发表于 2002-11-3 21:00:27 | 显示全部楼层
[quote:8ef2b08c6d="sejishikong"]如果是PCI接口的,试试禁用AGP,在nvidia的那一行下载加入
"NvAGP" "0"[/quote]

我现在用的是810主板,本来就没有AGP接口,也要加这一行吗?
回复

使用道具 举报

 楼主| 发表于 2002-11-3 21:04:12 | 显示全部楼层
[quote:915be1c72c="avalon_cn"]如果是NV的驱动,BUSID是一定要写的
如AGP是PCI:1:0:0:0
NV会给一个Sample,照这她就行了[/quote]

请问这个BUSID是在什么地方的?
“照这她就行了”是什么意思?能不能说详细点?
"如AGP是PCI:1:0:0:0”又是什么意思?
回复

使用道具 举报

 楼主| 发表于 2002-11-3 22:02:02 | 显示全部楼层
[quote:c7c9a7ce39="llc"]不行的话再将你的/var/log/xfree86.0.log最后出错的部分信息贴出来(请不要全贴,就贴最后20行左右够了)[/quote]
(++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Nov  3 21:55:16 2002
(==) Using config file: "/etc/X11/XF86Config"
Parse error on line 100 of section Device in file /etc/X11/XF86Config
        "NvAGP" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [email protected].
回复

使用道具 举报

发表于 2002-11-3 22:17:21 | 显示全部楼层
to gudong:
请先详细说明你的主板和显卡,你能确定你的显卡是pci接口而不是agp接口吗?
如果是,则按sejishikong兄弟,在driver "nvidia"下面插入下面一行:
Option "NvAGP" "0"
再试试
回复

使用道具 举报

 楼主| 发表于 2002-11-5 11:50:38 | 显示全部楼层
[quote:28f54ab541="llc"]
请先详细说明你的主板和显卡,你能确定你的显卡是pci接口而不是agp接口吗?
[/quote]

试过了,还是不行啊!
主板:钻石i810,本来就没有AGP接口。
显卡:原来的板载显卡没有使用,但在BIOS中好像没有禁用的选项,所以我直接插上双敏7917 PCI GF4 MX440来使用。
第一主盘:硬盘;
第一从盘:Maxell 12x10x32CD-RW
第二主盘:硬盘
第二从盘:源兴 16xDVD
一条256M内存。
回复

使用道具 举报

发表于 2002-11-5 12:03:27 | 显示全部楼层
应该可以用硬跳线的方式禁用原先的显卡。
回复

使用道具 举报

 楼主| 发表于 2002-11-5 12:34:22 | 显示全部楼层
我手头也没有主板的资料,不知道该怎样跳线设置,你知不知道?
另外,是不是不禁止他就无法使用NV的驱动?
回复

使用道具 举报

发表于 2002-11-5 12:41:37 | 显示全部楼层
我也没有这类主板的资料。如果你要求不是很高,干脆就用810内的显卡吧。
回复

使用道具 举报

发表于 2002-11-5 17:16:34 | 显示全部楼层
看来这pci的gf显卡还挺难搞的
回复

使用道具 举报

 楼主| 发表于 2002-11-5 22:17:06 | 显示全部楼层
[quote:48daec4716="吴文官"]我也没有这类主板的资料。如果你要求不是很高,干脆就用810内的显卡吧。[/quote]
我晕,花了600块钱买回来的显卡居然用不上?
Linux???我该爱你吗?
回复

使用道具 举报

 楼主| 发表于 2002-11-8 12:51:19 | 显示全部楼层
下面是我的机子编译NVIDIA_kernel-1.0-3123.tar.gz的结果,请各位帮忙看看是不是有问题?

硬件:i810主板,板载显卡没有接显示器,使用的是双敏7917PCI显卡.

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 unionnv.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
[root@localhost NVIDIA_kernel-1.0-3123]#
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 02:35 , Processed in 0.102773 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表