recipe for target 'red-channel.lo' failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]