On Tue, Apr 05, 2016 at 18:16:29 +0200, Guido Günther wrote:
>From 4e302ea482d58c5ae034f85ea27d0318cb0b59c5 Mon Sep 17 00:00:00
2001
Message-Id:
<4e302ea482d58c5ae034f85ea27d0318cb0b59c5.1459872920.git.agx(a)sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx(a)sigxcpu.org>
Date: Thu, 31 Mar 2016 14:57:24 +0200
Subject: [PATCH] Link libvirt_xenconfig instead of libvirt against libxl
To: libvir-list(a)redhat.com
Status: O
Content-Length: 975
Lines: 24
to avoid the test failure
7) Test driver "xen" ... 2016-03-31 12:53:26.950+0000: 22430: debug :
virDriverLoadModule:54 : Module load xen
2016-03-31 12:53:26.950+0000: 22430: error : virDriverLoadModule:73 : failed to load
module /build/libvirt-1.3.3~rc1/debian/build/src/.libs/libvirt_driver_xen.so
/build/libvirt-1.3.3~rc1/debian/build/src/.libs/libvirt_driver_xen.so: undefined symbol:
xlu_cfg_destroy
FAILED
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 1726d06..e63b81d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1134,7 +1134,7 @@ endif WITH_VMX
if WITH_XENCONFIG
noinst_LTLIBRARIES += libvirt_xenconfig.la
libvirt_la_BUILT_LIBADD += libvirt_xenconfig.la
-libvirt_la_LIBADD += $(LIBXL_LIBS)
+libvirt_xenconfig_la_LIBADD = $(LIBXL_LIBS)
libvirt_xenconfig_la_CFLAGS = \
-I$(srcdir)/conf $(AM_CFLAGS)
libvirt_xenconfig_la_SOURCES = $(XENCONFIG_SOURCES)
ACK
Jirka