[Spice-devel] Failure to compile spice-gtk

Yaniv Kaul ykaul at redhat.com
Tue Jan 24 00:00:38 PST 2012


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'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', 
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o', 
'/home/ykaul/spice-gtk/gtk/tmp-introspectQbgQDo/SpiceClientGtk-3.0', 
'-export-dynamic', '-L.', 'libspice-client-gtk-3.0.la', 
'libspice-client-glib-2.0.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', 
'-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', 
'/home/ykaul/spice-gtk/gtk/tmp-introspectQbgQDo/SpiceClientGtk-3.0.o']' 
returned non-zero exit status 1
make[2]: *** [SpiceClientGtk-3.0.gir] Error 1
make[2]: Leaving directory `/home/ykaul/spice-gtk/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ykaul/spice-gtk'
make: *** [all] Error 2

or with GTK 2.0:
make[2]: Entering directory `/home/ykaul/spice-gtk/gtk'
   GISCAN SpiceClientGtk-2.0.gir
./.libs/libspice-client-gtk-2.0.so: undefined reference to 
`gdk_x11_display_get_type'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', 
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o', 
'/home/ykaul/spice-gtk/gtk/tmp-introspectzr3KkC/SpiceClientGtk-2.0', 
'-export-dynamic', '-L.', 'libspice-client-gtk-2.0.la', 
'libspice-client-glib-2.0.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', 
'-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', 
'/home/ykaul/spice-gtk/gtk/tmp-introspectzr3KkC/SpiceClientGtk-2.0.o']' 
returned non-zero exit status 1
make[2]: *** [SpiceClientGtk-2.0.gir] Error 1
make[2]: Leaving directory `/home/ykaul/spice-gtk/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ykaul/spice-gtk'
make: *** [all] Error 2



[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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120124/0703b434/attachment.html>


More information about the Spice-devel mailing list