make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/adam/dripkg/agpgart-2.0 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' CC [M] /home/adam/dripkg/agpgart-2.0/backend.o /home/adam/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for ‘agp_backend_acquire’ include/linux/agp_backend.h:110: error: previous declaration of ‘agp_backend_acquire’ was here /home/adam/dripkg/agpgart-2.0/backend.c:77: error: conflicting types for ‘agp_backend_acquire’ include/linux/agp_backend.h:110: error: previous declaration of ‘agp_backend_acquire’ was here /home/adam/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for ‘agp_backend_release’ include/linux/agp_backend.h:111: error: previous declaration of ‘agp_backend_release’ was here /home/adam/dripkg/agpgart-2.0/backend.c:93: error: conflicting types for ‘agp_backend_release’ include/linux/agp_backend.h:111: error: previous declaration of ‘agp_backend_release’ was here /home/adam/dripkg/agpgart-2.0/backend.c:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’ /home/adam/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’: /home/adam/dripkg/agpgart-2.0/backend.c:281: warning: implicit declaration of function ‘inter_module_register’ /home/adam/dripkg/agpgart-2.0/backend.c:281: error: ‘drm_agp’ undeclared (first use in this function) /home/adam/dripkg/agpgart-2.0/backend.c:281: error: (Each undeclared identifier is reported only once /home/adam/dripkg/agpgart-2.0/backend.c:281: error: for each function it appears in.) /home/adam/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’: /home/adam/dripkg/agpgart-2.0/backend.c:301: warning: implicit declaration of function ‘inter_module_unregister’ make[2]: *** [/home/adam/dripkg/agpgart-2.0/backend.o] Error 1 make[1]: *** [_module_/home/adam/dripkg/agpgart-2.0] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make: *** [default] Error 2 make -f Makefile.linux DRM_MODULES=gdg.ko modules make[1]: Entering directory `/home/adam/dripkg/drm' 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: cannot remove `/home/adam/dripkg/drm/.tmp_versions/CVS': Is a directory make[2]: *** [crmodverdir] Error 1 make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/adam/dripkg/drm' make: *** [gdg.ko] Error 2