I am using SUSE SLES 10 with Kernel 22.214.171.124-0.8-smp
When I compile DRM/linux-core I get the error message:
drm/linux-core/drm_compat.h:324: error: conflicting types for @idr_replace@
/usr/src/linux-126.96.36.199-0.8/include/linux/idr.h:81: error: previous declaration of @idr_replace@ was here
This kernel may also be too old. Look at the prototypes in drm_compat.h and include/linux/idr.h. If they're actually compatible, you can fix the version checks protecting the idr stuff in drm_compat.h and drm_compat.c to be #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)) instead.
Closing due to inactivity. Reopen if this is still a problem.