server/Makefile apparently forgot to link libspice-server with -lm -lpthread, but it uses symbols from these libraries directly. These libs are detected by configure and stored in $(SPICE_NONPKGCONFIG_LIBS) make variable, but this variable is never referenced at link time. Add it to server/Makefile.am, to libspice_server_la_LIBADD variable. Signed-off-By: Michael Tokarev <mjt@xxxxxxxxxx> --- server/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/server/Makefile.am b/server/Makefile.am index 97e7dfe..14e5694 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -38,6 +38,7 @@ libspice_server_la_LIBADD = \ $(SLIRP_LIBS) \ $(SSL_LIBS) \ $(Z_LIBS) \ + $(SPICE_NONPKGCONFIG_LIBS) \ $(NULL) libspice_server_la_SOURCES = \ -- 1.7.10 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel