|
这两天安装dri驱动,在compile时出现错误,
- The script will now compile the DRM kernel modules for your machine.
- Press ENTER to continue or CTRL-C to exit.
- Compiling...
- ERROR: Kernel modules did not compile
- 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的文件内容:
- make DRM_MODULES=radeon.o modules
- make[1]: Entering directory `/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core'
- make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
- make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
- CC [M] /home/chaoswong/radeon-20060403-linux.i386/drm/linux-core/drm_stub.o
- /home/chaoswong/radeon-20060403-linux.i386/drm/linux-core/drm_stub.c:51: 错误: 数组 ‘type name’ 的大小为负
- make[3]: *** [/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core/drm_stub.o] 错误 1
- make[2]: *** [_module_/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core] 错误 2
- make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
- make[1]: *** [modules] 错误 2
- make[1]: Leaving directory `/home/chaoswong/radeon-20060403-linux.i386/drm/linux-core'
- make: *** [radeon.o] 错误 2
复制代码
不知道出这种错误,网上搜索未找到答案,希望大家能帮助我一下,谢谢!
PS:
已安装linux-kernel-devel (因为这两天cn99连不上,所以从网上下的deb包安装的。。 |
|