[Spice-devel] [ spice-devel : spice-gtk ] Compilation error
nicolas prochazka
prochazka.nicolas at gmail.com
Thu Mar 29 08:08:55 PDT 2012
hello,
latest git tree of spice-gtk does not compile :
./autogen.sh '--prefix=/usr' '--with-gtk=2.0' '--with-x11'
'--enable-smartcard=no' --enable-usbredir=yes
channel-usbredir.c: In function 'usbredir_alloc_lock':
channel-usbredir.c:510:13: error: invalid application of 'sizeof' to
incomplete type 'GMutex'
cc1: warnings being treated as errors
channel-usbredir.c:511:5: error: implicit declaration of function
'g_mutex_init' [-Wimplicit-function-declaration]
channel-usbredir.c:511:5: error: nested extern declaration of
'g_mutex_init' [-Wnested-externs]
channel-usbredir.c: In function 'usbredir_free_lock':
channel-usbredir.c:531:5: error: implicit declaration of function
'g_mutex_clear' [-Wimplicit-function-declaration]
channel-usbredir.c:531:5: error: nested extern declaration of
'g_mutex_clear' [-Wnested-externs]
At top level:
cc1: error: unrecognized command line option "-Wno-suggest-attribute=const"
cc1: error: unrecognized command line option "-Wno-suggest-attribute=pure"
make[4]: *** [channel-usbredir.lo] Error 1
make[4]: Leaving directory `/tmp/spice-gtk/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/spice-gtk/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/spice-gtk/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/spice-gtk'
make: *** [all] Error 2
what's wrong ?
Regards,
Nicolas Prochazka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120329/8ec7a915/attachment.htm>
More information about the Spice-devel
mailing list