In addition to the X module and the kernel modules you need ALL of the libraries and headers in the 'Resources' section of the DRI homepage. I've written a small guide for DRI and the Voodoo3 which you can read at home.earthlink.net/~earmando/v3guide.html. Let me know if the guide helps you any. Good luck!