LinuxSir.cn,穿越时空的Linuxsir!

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

安装显卡时kernel-model出问题,如何解决!

[复制链接]
发表于 2007-3-23 10:28:31 | 显示全部楼层 |阅读模式
系统为debian etch,不知道是否需要转到硬件区!



The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

dri.log
  1. make -C /lib/modules/2.6.18-4-486/build SUBDIRS=/home/loading/dripkg/agpgart-2.0 modules
  2. make: *** /lib/modules/2.6.18-4-486/build: 没有那个文件或目录。 停止。
  3. make: *** [default] 错误 2
  4. Makefile.linux:151: *** Cannot find a kernel config file。 停止。
复制代码

为了装这显卡,我装了386的内核,686也是这个问题!

最好能提供kernel-model类问题的解决方法,想知道!
谢谢!
发表于 2007-3-23 19:43:17 | 显示全部楼层
内核不匹配 使用2.6.18-4-486
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-27 12:30:25 | 显示全部楼层
谢谢eTony
不过我那个日志是在486内核下出现的!686的出现一样问题!

我装的是386,不过好像apt-get 下的是486的!晕阿!
Debian GNU/Linux, kernel 2.6.18-4-686下的dri.log
  1. make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/loading/dripkg/agpgart-2.0 modules
  2. make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686'
  3.   CC [M]  /home/loading/dripkg/agpgart-2.0/backend.o
  4. /home/loading/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for ‘agp_backend_acquire’
  5. include/linux/agp_backend.h:105: error: previous declaration of ‘agp_backend_acquire’ was here
  6. /home/loading/dripkg/agpgart-2.0/backend.c:77: error: conflicting types for ‘agp_backend_acquire’
  7. include/linux/agp_backend.h:105: error: previous declaration of ‘agp_backend_acquire’ was here
  8. /home/loading/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for ‘agp_backend_release’
  9. include/linux/agp_backend.h:106: error: previous declaration of ‘agp_backend_release’ was here
  10. /home/loading/dripkg/agpgart-2.0/backend.c:93: error: conflicting types for ‘agp_backend_release’
  11. include/linux/agp_backend.h:106: error: previous declaration of ‘agp_backend_release’ was here
  12. /home/loading/dripkg/agpgart-2.0/backend.c:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
  13. /home/loading/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’:
  14. /home/loading/dripkg/agpgart-2.0/backend.c:281: warning: implicit declaration of function ‘inter_module_register’
  15. /home/loading/dripkg/agpgart-2.0/backend.c:281: error: ‘drm_agp’ undeclared (first use in this function)
  16. /home/loading/dripkg/agpgart-2.0/backend.c:281: error: (Each undeclared identifier is reported only once
  17. /home/loading/dripkg/agpgart-2.0/backend.c:281: error: for each function it appears in.)
  18. /home/loading/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’:
  19. /home/loading/dripkg/agpgart-2.0/backend.c:301: warning: implicit declaration of function ‘inter_module_unregister’
  20. make[2]: *** [/home/loading/dripkg/agpgart-2.0/backend.o] 错误 1
  21. make[1]: *** [_module_/home/loading/dripkg/agpgart-2.0] 错误 2
  22. make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686'
  23. make: *** [default] 错误 2
  24. make -f Makefile.linux DRM_MODULES=gdg.ko modules
  25. make[1]: Entering directory `/home/loading/dripkg/drm'
  26. make -C /lib/modules/2.6.18-4-686/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
  27. make[2]: Entering directory `/usr/src/linux-headers-2.6.18-4-686'
  28. rm: 无法删除 “/home/loading/dripkg/drm/.tmp_versions/CVS”: 是一个目录
  29. make[2]: *** [crmodverdir] 错误 1
  30. make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686'
  31. make[1]: *** [modules] 错误 2
  32. make[1]: Leaving directory `/home/loading/dripkg/drm'
  33. make: *** [gdg.ko] 错误 2
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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