|
|
发表于 2007-11-23 17:17:03
|
显示全部楼层
照一楼所说
安装Intel i915显卡驱动的时候提示:
Compiling new agpgart module...
ERROR: AGPGART module did not compile
Compiling DRM module...
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 -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/zhouwei/Downloads/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.o
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:69: 错误: 与 ‘agp_backend_acquire’ 类型冲突
include/linux/agp_backend.h:110: 错误: ‘agp_backend_acquire’ 的上一个声明在此
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:77: 错误: 与 ‘agp_backend_acquire’ 类型冲突
include/linux/agp_backend.h:110: 错误: ‘agp_backend_acquire’ 的上一个声明在此
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:89: 错误: 与 ‘agp_backend_release’ 类型冲突
include/linux/agp_backend.h:111: 错误: ‘agp_backend_release’ 的上一个声明在此
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:93: 错误: 与 ‘agp_backend_release’ 类型冲突
include/linux/agp_backend.h:111: 错误: ‘agp_backend_release’ 的上一个声明在此
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:220: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c: 在函数 ‘agp_add_bridge’ 中:
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:281: 警告: 隐式声明函数 ‘inter_module_register’
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:281: 错误: ‘drm_agp’ 未声明 (在此函数内第一次使用)
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:281: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:281: 错误: 所在的函数内只报告一次。)
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c: 在函数 ‘agp_remove_bridge’ 中:
/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.c:301: 警告: 隐式声明函数 ‘inter_module_unregister’
make[2]: *** [/home/zhouwei/Downloads/dripkg/agpgart-2.0/backend.o] 错误 1
make[1]: *** [_module_/home/zhouwei/Downloads/dripkg/agpgart-2.0] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] 错误 2
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/home/zhouwei/Downloads/dripkg/drm'
+ ln -s Makefile.linux Makefile
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'
rm: 无法删除‘/home/zhouwei/Downloads/dripkg/drm/.tmp_versions/CVS’: Is a directory
make[2]: *** [crmodverdir] 错误 1
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/home/zhouwei/Downloads/dripkg/drm'
make: *** [gdg.ko] 错误 2
这些关于硬件的东西我就迷糊了,郁闷死。 |
|