[Spice-devel] recipe for target 'red-channel.lo' failed

Eduards Šaraņins eduards.sharanins at gmail.com
Fri Apr 22 12:14:53 UTC 2016


Hello,
I'm trying to build spice-0.12.7 and get the following errors:

CFLAGS="-m64" LDFLAGS="-m64" ./configure --disable-client --disable-werror
--prefix=/opt/local

....

  CC       red_channel.lo
red_channel.c: In function 'red_channel_create':
red_channel.c:1072:5: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 8 has type 'pthread_t' [-Wformat]
red_channel.c: In function 'red_channel_create_dummy':
red_channel.c:1118:5: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 8 has type 'pthread_t' [-Wformat]
red_channel.c: In function 'red_channel_remove_client':
red_channel.c:1813:9: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 8 has type 'pthread_t' [-Wformat]
red_channel.c:1813:9: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 9 has type 'pthread_t' [-Wformat]
red_channel.c: In function 'red_client_migrate':
red_channel.c:2125:9: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 6 has type 'pthread_t' [-Wformat]
red_channel.c:2125:9: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 7 has type 'pthread_t' [-Wformat]
red_channel.c: In function 'red_client_destroy':
red_channel.c:2145:9: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 6 has type 'pthread_t' [-Wformat]
red_channel.c:2145:9: warning: format '%lx' expects argument of type 'long
unsigned int', but argument 7 has type 'pthread_t' [-Wformat]
  CC       dispatcher.lo
  CC       red_dispatcher.lo
  CC       main_dispatcher.lo
  CC       red_memslots.lo
  CC       red_parse_qxl.lo
  CC       red_record_qxl.lo
  CC       red_replay_qxl.lo
  CC       red_worker.lo
red_worker.c: In function 'red_worker_main':
red_worker.c:12213:5: warning: implicit declaration of function
'pthread_getcpuclockid' [-Wimplicit-function-declaration]
red_worker.c:12213:5: warning: nested extern declaration of
'pthread_getcpuclockid' [-Wnested-externs]
  CC       reds.lo
reds.c: In function 'reds_init_keepalive':
reds.c:2266:28: error: 'SOL_TCP' undeclared (first use in this function)
reds.c:2266:28: note: each undeclared identifier is reported only once for
each function it appears in
Makefile:682: recipe for target 'reds.lo' failed
make[4]: *** [reds.lo] Error 1
make[4]: Leaving directory '/root/qemu/spice-0.12.7/server'
Makefile:723: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/root/qemu/spice-0.12.7/server'
Makefile:555: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/root/qemu/spice-0.12.7/server'
Makefile:513: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/qemu/spice-0.12.7'
Makefile:422: recipe for target 'all' failed
make: *** [all] Error 2


Could you help me?

Best regards,
Eduards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160422/ac59f574/attachment-0001.html>


More information about the Spice-devel mailing list