hello, <div>latest git tree of spice-gtk does not compile : </div><div><br></div><div>./autogen.sh '--prefix=/usr' '--with-gtk=2.0' '--with-x11' '--enable-smartcard=no' --enable-usbredir=yes</div>
<div><br></div><div><br></div><div><div>channel-usbredir.c: In function 'usbredir_alloc_lock':</div><div>channel-usbredir.c:510:13: error: invalid application of 'sizeof' to incomplete type 'GMutex' </div>
<div>cc1: warnings being treated as errors</div><div>channel-usbredir.c:511:5: error: implicit declaration of function 'g_mutex_init' [-Wimplicit-function-declaration]</div><div>channel-usbredir.c:511:5: error: nested extern declaration of 'g_mutex_init' [-Wnested-externs]</div>
<div>channel-usbredir.c: In function 'usbredir_free_lock':</div><div>channel-usbredir.c:531:5: error: implicit declaration of function 'g_mutex_clear' [-Wimplicit-function-declaration]</div><div>channel-usbredir.c:531:5: error: nested extern declaration of 'g_mutex_clear' [-Wnested-externs]</div>
<div>At top level:</div><div>cc1: error: unrecognized command line option "-Wno-suggest-attribute=const"</div><div>cc1: error: unrecognized command line option "-Wno-suggest-attribute=pure"</div><div>make[4]: *** [channel-usbredir.lo] Error 1</div>
<div>make[4]: Leaving directory `/tmp/spice-gtk/gtk'</div><div>make[3]: *** [all-recursive] Error 1</div><div>make[3]: Leaving directory `/tmp/spice-gtk/gtk'</div><div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory `/tmp/spice-gtk/gtk'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/tmp/spice-gtk'</div><div>make: *** [all] Error 2</div></div><div><br></div><div>what's wrong ?</div><div><br></div><div>Regards, </div>
<div>Nicolas Prochazka</div>