On Tue, 2009-08-04 at 16:51 -0500, David C. Rankin wrote:
Listmates,
After the latest kernel update, drm no longer builds and fails with the following errors:
16:47 alchemy:~/archlinux/apps/drm/linux-core> make radeon.o drm.o make DRM_MODULES=radeon.o modules make[1]: Entering directory `/home/david/archlinux/apps/drm/linux-core' make -C /lib/modules/2.6.30-ARCH/build SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules make[2]: Entering directory `/usr/src/linux-2.6.30-ARCH' CC [M] /home/david/archlinux/apps/drm/linux-core/drm_auth.o In file included from /home/david/archlinux/apps/drm/linux-core/drmP.h:84, from /home/david/archlinux/apps/drm/linux-core/drm_auth.c:36: /home/david/archlinux/apps/drm/linux-core/drm_os_linux.h:36: error: conflicting types for ‘irqreturn_t’ include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here make[3]: *** [/home/david/archlinux/apps/drm/linux-core/drm_auth.o] Error 1 make[2]: *** [_module_/home/david/archlinux/apps/drm/linux-core] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.30-ARCH' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/david/archlinux/apps/drm/linux-core' make: *** [radeon.o] Error 2
Do I need to change a config setting somewhere to accommodate something in the new kernel?
You're using outdated drm code that doesn't build with 2.6.30.