LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1013|回复: 5

nvidia驱动始终装不上,请帮我看看问题出在哪里?

[复制链接]
发表于 2006-3-28 09:21:57 | 显示全部楼层 |阅读模式
这两天一直被nvidia驱动的问题困扰,装不上呀!出错信息如下,请朋友们帮我看看问题到底在哪里?


:
   include/linux/slab.h:87: error: `size' undeclared (first use in this functio
   n)
   In file included from include/linux/percpu.h:4,
                    from include/linux/sched.h:33,
                    from include/linux/module.h:10,
                    from /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:47,
                    from /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv.c:14:

                    from /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/percpu.h:43: error: parse error before "size"
   include/linux/percpu.h:44: warning: function declaration isn't a prototype
   include/linux/percpu.h: In function `__alloc_percpu':
   include/linux/percpu.h:45: error: `size' undeclared (first use in this funct
   ion)
   In file included from include/linux/module.h:10,
                    from /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv/nv-linux.h:47,
                    from /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
  
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nvidia_init_module':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1225: error:
   `ENODEV' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1292: error:
   request for member `tasklet' in something not a structure or union
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1297: error:
   request for member `nv_state' in something not a structure or union
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1309: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1320: error:
   `EIO' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1361: error:
   request for member `nv_state' in something not a structure or union
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1431: error:
   request for member `dev' in something not a structure or union
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1433: error:
   request for member `dev' in something not a structure or union
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1434: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1434: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1434: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1434: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1434: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1434: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nvidia_exit_module':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1446: error:
   `nvl' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1447: warning
   : ISO C90 forbids mixed declarations and code
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1462: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1462: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1462: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1462: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1462: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1462: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1497: error:
   `at' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1497: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1497: warning
   : left-hand operand of comma expression has no effect
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1497: warning
   : statement with no effect
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_vma_open':

   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3397: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nv_agp_init':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3530: error:
   `EINVAL' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nv_start_rc_timer':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3598: error:
   `nvl' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3598: error:
   parse error before ')' token
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3608: error:
   `HZ' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nv_stop_rc_timer':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3618: error:
   `nvl' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3618: error:
   parse error before ')' token
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nvos_count_devices':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3644: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3644: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3645: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_probe':
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3661: error:
   `nvl' undeclared (first use in this function)
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3662: warning
   : ISO C90 forbids mixed declarations and code
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3664: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3664: error:
   dereferencing pointer to incomplete type
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3665: error:
   dereferencing pointer to incomplete type

   include/linux/fs.h:800: error: storage size of `s_vfs_rename_sem' isn't know
   n
   include/linux/pci.h:537: error: storage size of `dev' isn't known
   {standard input}: Assembler messages:
   {standard input}:471: Error: symbol `seq' is already defined
   {standard input}:519: Error: symbol `sem_nsems' is already defined
   {standard input}:541: Error: symbol `lock' is already defined
   {standard input}:1279: Error: symbol `flags' is already defined
   {standard input}:1625: Error: symbol `files' is already defined
   {standard input}:1820: Error: symbol `blocks' is already defined
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:930: er
   ror: storage size of `tasklet' isn't known
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:941: er
   ror: storage size of `ldata_lock' isn't known
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:944: er
   ror: storage size of `at_lock' isn't known
   /tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:303: error: s
   torage size of `nv_fops' isn't known
   {standard input}:2591: Error: symbol `d_flags' is already defined
   {standard input}:3223: Error: symbol `flags' is already defined
   {standard input}:3298: Error: symbol `s_type' is already defined
   {standard input}:3514: Error: symbol `mmap' is already defined
   {standard input}:3556: Error: symbol `lock' is already defined
   {standard input}:3699: Error: symbol `private' is already defined
   {standard input}:3933: Error: symbol `release' is already defined
   {standard input}:3963: Error: symbol `dma_mask' is already defined
   {standard input}:3999: Error: symbol `resource' is already defined
   {standard input}:4035: Error: symbol `entry' is already defined
   {standard input}:4053: Error: symbol `data' is already defined
   {standard input}:4059: Error: symbol `nlink' is already defined
   {standard input}:4065: Error: symbol `size' is already defined
   {standard input}:4089: Error: symbol `owner' is already defined
   {standard input}:4095: Error: symbol `next' is already defined
   {standard input}:4101: Error: symbol `parent' is already defined
   {standard input}:4113: Error: symbol `data' is already defined
   {standard input}:4317: Error: symbol `flags' is already defined
   {standard input}:4335: Error: symbol `size' is already defined
   make[3]: *** [/tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.o
   ] 错误 1
   make[2]: *** [_module_/tmp/selfgz5088/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
   /nv] 错误 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [mdl] 错误 1
   make: *** [module] 错误 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

     多谢回复!
发表于 2006-3-28 15:43:31 | 显示全部楼层
网卡,用 forcedeth 驱动就可以了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-28 16:43:34 | 显示全部楼层
我是安装的显卡驱动呀,不是网卡的!
请大家看看,问题出在哪里?
回复 支持 反对

使用道具 举报

发表于 2006-3-28 20:39:15 | 显示全部楼层
哦。看错了。。。。。

你的 gcc 版本?glibc版本?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-29 07:35:41 | 显示全部楼层
GCC-3.4.3
Glibc-2.3.4
就是LFS6.1.1-3编译后的版本,我没有改变.

我实在不知该怎样解决,麻烦版主帮帮我,谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-3-29 09:10:26 | 显示全部楼层
你重新下载一个试试?我没发现有这个问题的说。。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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