[libvirt-glib] [PATCH] cannot build master - conn_test fails to build due to missing linkage on in tree libvirt-gconfig

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

 



link conn_test againt in tree libvirt-gconfig

Description of problem:
  CCLD   conn-test
../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to
`gvir_config_domain_interface_get_ifname@LIBVIRT_GCONFIG_0.0.4'


Attach patch add ../libvirt-gconfig/libvirt-gconfig-1.0.la \ 
to the conn_test_LDADD to fix this issue.


>From b62413c4b888b140ad6d7214d2163ce06f57ff19 Mon Sep 17 00:00:00 2001
From: Alban Browaeys <prahal@xxxxxxxxx>
Date: Tue, 6 Mar 2012 20:55:14 +0100
Subject: [PATCH] examples: test not linked against in tree libvirt-gconfig

  CCLD   conn-test
../libvirt-gobject/.libs/libvirt-gobject-1.0.so: undefined reference to
`gvir_config_domain_interface_get_ifname@LIBVIRT_GCONFIG_0.0.4'
---
 examples/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index b77076d..09843e5 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -24,6 +24,7 @@ conn_test_CFLAGS = \
 conn_test_SOURCES = \
 		conn-test.c
 conn_test_LDADD = \
+		../libvirt-gconfig/libvirt-gconfig-1.0.la \
 		../libvirt-gobject/libvirt-gobject-1.0.la \
 		$(LIBVIRT_LIBS) \
 		$(GLIB2_LIBS) \
-- 
1.7.9.1


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]