代码: 全选
The script will now compile the agpgart module and DRM kernel modules for your machine.
Press ENTER to continue or CTRL-C to exit.
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.
代码: 全选
cat dri.log
make -C /lib/modules/2.6.27-8-generic/build SUBDIRS=/home/zhi/download/dripkg/agpgart-2.0 modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-8-generic'
CC [M] /home/zhi/download/dripkg/agpgart-2.0/backend.o
/home/zhi/download/dripkg/agpgart-2.0/backend.c:68: 错误: 与‘agp_backend_acquire’类型冲突
include/linux/agp_backend.h:105: 错误: ‘agp_backend_acquire’的上一个声明在此
/home/zhi/download/dripkg/agpgart-2.0/backend.c:77: 错误: 与‘agp_backend_acquire’类型冲突
include/linux/agp_backend.h:105: 错误: ‘agp_backend_acquire’的上一个声明在此
/home/zhi/download/dripkg/agpgart-2.0/backend.c:88: 错误: 与‘agp_backend_release’类型冲突
include/linux/agp_backend.h:106: 错误: ‘agp_backend_release’的上一个声明在此
/home/zhi/download/dripkg/agpgart-2.0/backend.c:93: 错误: 与‘agp_backend_release’类型冲突
include/linux/agp_backend.h:106: 错误: ‘agp_backend_release’的上一个声明在此
/home/zhi/download/dripkg/agpgart-2.0/backend.c:220: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
/home/zhi/download/dripkg/agpgart-2.0/backend.c: 在函数‘agp_add_bridge’中:
/home/zhi/download/dripkg/agpgart-2.0/backend.c:281: 错误: 隐式声明函数‘inter_module_register’
/home/zhi/download/dripkg/agpgart-2.0/backend.c:281: 错误: ‘drm_agp’未声明(在此函数内第一次使用)
/home/zhi/download/dripkg/agpgart-2.0/backend.c:281: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
/home/zhi/download/dripkg/agpgart-2.0/backend.c:281: 错误: 所在的函数内也只报告一次。)
/home/zhi/download/dripkg/agpgart-2.0/backend.c: 在函数‘agp_remove_bridge’中:
/home/zhi/download/dripkg/agpgart-2.0/backend.c:301: 错误: 隐式声明函数‘inter_module_unregister’
make[2]: *** [/home/zhi/download/dripkg/agpgart-2.0/backend.o] 错误 1
make[1]: *** [_module_/home/zhi/download/dripkg/agpgart-2.0] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-8-generic'
make: *** [default] 错误 2
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: 正在进入目录 `/home/zhi/download/dripkg/drm'
+ ln -s Makefile.linux Makefile
make -C /lib/modules/2.6.27-8-generic/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: 正在进入目录 `/usr/src/linux-headers-2.6.27-8-generic'
rm: 无法删除 “/home/zhi/download/dripkg/drm/.tmp_versions/CVS”: 是一个目录
make[2]: *** [crmodverdir] 错误 1
make[2]:正在离开目录 `/usr/src/linux-headers-2.6.27-8-generic'
make[1]: *** [modules] 错误 2
make[1]:正在离开目录 `/home/zhi/download/dripkg/drm'
make: *** [gdg.ko] 错误 2