[Spice-devel] Failure to compile spice-gtk

Christophe Fergeau cfergeau at redhat.com
Tue Jan 24 02:13:53 PST 2012


On Tue, Jan 24, 2012 at 10:00:38AM +0200, Yaniv Kaul wrote:
> As usual, I'm having problems with the strict requirements of
> spice-gtk (why can't it just disable usbredir if it does not find it
> in the ./configure phase is beyond me). I suspect too old RPMs, but
> I'm not sure where I should be taking newer ones (same goes to
> usbredir, but at least I can disable it).
> 
> make[2]: Entering directory `/home/ykaul/spice-gtk/gtk'
>   CCLD   libspice-client-gtk-3.0.la
>   GISCAN SpiceClientGtk-3.0.gir
> ./.libs/libspice-client-gtk-3.0.so: undefined reference to
> `gdk_x11_drawable_get_xdisplay'
> ./.libs/libspice-client-gtk-3.0.so: undefined reference to
> `gdk_window_object_get_type'
> ./.libs/libspice-client-gtk-3.0.so: undefined reference to
> `gdk_threads_lock'
> ./.libs/libspice-client-gtk-3.0.so: undefined reference to
> `gdk_x11_window_get_drawable_impl'
> ./.libs/libspice-client-gtk-3.0.so: undefined reference to
> `gdk_drawable_get_size'
> ./.libs/libspice-client-gtk-3.0.so: undefined reference to
> `gdk_threads_unlock'

All these symbols don't exist in a recent gtk+, do you have several gtk+
versions installed on your system? (eg one from your distro and one you
built yourself). Can you paste a full buildlog (configure/autogen.sh output
and make V=1 output)? What version of spice-gtk are you testing? From git?

> [ykaul at ykaul spice-gtk]$ rpm -qa |grep spice |grep gtk
> spice-gtk-devel-0.7.39-1.fc16.x86_64
> spice-gtk3-devel-0.7.39-1.fc16.x86_64
> spice-gtk-python-0.7.39-1.fc16.x86_64
> spice-gtk3-0.7.39-1.fc16.x86_64
> spice-gtk-0.7.39-1.fc16.x86_64

I'm not sure why you are mentioning these versions? Is this the spice-gtk
version you are trying to compile?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120124/a005dcad/attachment.pgp>


More information about the Spice-devel mailing list