<div dir="ltr"><div><div><div><div>Hello,<br></div>I'm trying to build spice-0.12.7 and get the following errors:<br><br>CFLAGS="-m64" LDFLAGS="-m64" ./configure --disable-client --disable-werror --prefix=/opt/local<br><br>....<br><br>  CC       red_channel.lo<br>red_channel.c: In function 'red_channel_create':<br>red_channel.c:1072:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'pthread_t' [-Wformat]<br>red_channel.c: In function 'red_channel_create_dummy':<br>red_channel.c:1118:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'pthread_t' [-Wformat]<br>red_channel.c: In function 'red_channel_remove_client':<br>red_channel.c:1813:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'pthread_t' [-Wformat]<br>red_channel.c:1813:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'pthread_t' [-Wformat]<br>red_channel.c: In function 'red_client_migrate':<br>red_channel.c:2125:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'pthread_t' [-Wformat]<br>red_channel.c:2125:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'pthread_t' [-Wformat]<br>red_channel.c: In function 'red_client_destroy':<br>red_channel.c:2145:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'pthread_t' [-Wformat]<br>red_channel.c:2145:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'pthread_t' [-Wformat]<br>  CC       dispatcher.lo<br>  CC       red_dispatcher.lo<br>  CC       main_dispatcher.lo<br>  CC       red_memslots.lo<br>  CC       red_parse_qxl.lo<br>  CC       red_record_qxl.lo<br>  CC       red_replay_qxl.lo<br>  CC       red_worker.lo<br>red_worker.c: In function 'red_worker_main':<br>red_worker.c:12213:5: warning: implicit declaration of function 'pthread_getcpuclockid' [-Wimplicit-function-declaration]<br>red_worker.c:12213:5: warning: nested extern declaration of 'pthread_getcpuclockid' [-Wnested-externs]<br>  CC       reds.lo<br>reds.c: In function 'reds_init_keepalive':<br>reds.c:2266:28: error: 'SOL_TCP' undeclared (first use in this function)<br>reds.c:2266:28: note: each undeclared identifier is reported only once for each function it appears in<br>Makefile:682: recipe for target 'reds.lo' failed<br>make[4]: *** [reds.lo] Error 1<br>make[4]: Leaving directory '/root/qemu/spice-0.12.7/server'<br>Makefile:723: recipe for target 'all-recursive' failed<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory '/root/qemu/spice-0.12.7/server'<br>Makefile:555: recipe for target 'all' failed<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory '/root/qemu/spice-0.12.7/server'<br>Makefile:513: recipe for target 'all-recursive' failed<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory '/root/qemu/spice-0.12.7'<br>Makefile:422: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br><br></div>Could you help me?<br><br></div>Best regards,<br></div>Eduards<br></div>