Possibly related links?
idmode.c xrandr.c glx.c executebuffer.c -C.
xrandr.h: No such file or directory
xrandr.h was first included from x11ddraw.c:18
I really have no idea, but it looks like you're missing a header for this gizmo or something. Try 'locate' to see if any of that stuff is on your machine in a weird place and see if you can pass flags to point make in the right direction. Or maybe to skip the need for it, if possible. Failing that, see if you can track down the... I guess it would rpms that include the stuff - install that and try to recompile/make/install. Sorry, I don't know what package that would be - might even be kernel source for all I know, or some other package.
Maybe I'm all wrong, but since nobody else has posted...