In virpcimock we use some functions from utils so we should link utils library to provide required symbols. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 279e9b7da8..8b9bba31ce 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1131,7 +1131,8 @@ virpcimock_la_SOURCES = \ virpcimock.c virpcimock_la_CFLAGS = $(AM_CFLAGS) virpcimock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS) -virpcimock_la_LIBADD = $(MOCKLIBS_LIBS) +virpcimock_la_LIBADD = $(MOCKLIBS_LIBS) \ + ../src/libvirt_util.la virrandommock_la_SOURCES = \ virrandommock.c -- 2.12.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list