LinuxSir.cn,穿越时空的Linuxsir!

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

[问题]安装dri驱动错误

[复制链接]
发表于 2008-5-3 17:08:08 | 显示全部楼层 |阅读模式
这两天安装dri驱动,在compile时出现错误,


  1. The script will now compile the DRM kernel modules for your machine.

  2. Press ENTER to continue or CTRL-C to exit.


  3. Compiling...
  4. ERROR: Kernel modules did not compile

  5. The DRI drivers can not be installed without the latest kernel modules.
  6. Installation will be aborted. See the dri.log file for information on
  7. what went wrong.
复制代码


dri.log的文件内容:

  1. make DRM_MODULES=radeon.o modules
  2. make[1]: Entering directory `/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core'
  3. make -C /lib/modules/2.6.22-14-generic/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
  4. make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  5.   CC [M]  /home/chaoswong/radeon-20060403-linux.i386/drm/linux-core/drm_stub.o
  6. /home/chaoswong/radeon-20060403-linux.i386/drm/linux-core/drm_stub.c:51: 错误: 数组 ‘type name’ 的大小为负
  7. make[3]: *** [/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core/drm_stub.o] 错误 1
  8. make[2]: *** [_module_/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core] 错误 2
  9. make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
  10. make[1]: *** [modules] 错误 2
  11. make[1]: Leaving directory `/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core'
  12. make: *** [radeon.o] 错误 2
复制代码


不知道出这种错误,网上搜索未找到答案,希望大家能帮助我一下,谢谢!

PS:
已安装linux-kernel-devel (因为这两天cn99连不上,所以从网上下的deb包安装的。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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