When building the latest 2.4.0-010109 kernel with DRI support enabled, I got the following link-time error: ld: drivers/char/drm/drm.o: linking 64-bit files with 32-bit files ld: drivers/char/drm/drm.o: linking constant-gp files with non-constant-gp files It turns out that drm.o was built as follows: rm -f drmlib.a ar rcs drmlib.a init.o memory.o proc.o auth.o context.o drawable.o bufs.o lists.o lock.o ioctl.o fops.o vm.o dma.o ctxbitmap.o rm -f drm.o ld -r -o drm.o drmlib.a Looks like the ar output confuses the linker. I don't even know if this is supposed to work with the current toolchain. In any case, if you remove the ar step and use ld -r directly the problem disappears. The enclosed patch fixes the DRI Makefile to remove the ar step. Uros. -- Uros Prestor uros@turbolinux.com