--- gtk/Makefile.am.link 2011-12-01 20:49:27.836219592 +0800 +++ gtk/Makefile.am 2011-12-01 20:49:56.014659065 +0800 @@ -94,6 +94,7 @@ libspice-client-glib-2.0.la \ $(GTK_LIBS) \ $(CAIRO_LIBS) \ + -lX11 \ $(NULL) SPICE_GTK_SOURCES_COMMON = \