same on ubuntu 12.04. it seems to be looking for libX11.so
this may work for you:
nm -D /usr/lib//.so | grep XDestroyWindow
on my system:
/usr/lib/x86_64-linux-gnu/libX11.so:000000000001ccf0 T XDestroyWindow
it’s the only match with T instead of U before the entry point. not sure what that means…
I’m guessing autoconf fails to find the proper lib to link with.
to compile add this to the end of the LIBS line in the makefile:
it hung the first time i ran it. tonight while testing to make sure i had this info right, it actually worked a few times. (showed a bunch of smiley faces in a window). maybe it was nerfed on purpose… dunno.
YMMV & HTH