[Libvirt-cim] [PATCH] Fix AllocationCapabilities install issue

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Nov 28 19:12:38 UTC 2007


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1196276782 28800
# Node ID b6fdc32e25897a3cc0b38d31a738d4217c467328
# Parent  f230e4d57a78a48efb5c32e70e048ce229c2cca4
Fix AllocationCapabilities install issue.

The Virt_AllocationCapabilities provider install fails because it links with Virt_DevicePool, which is installed after Virt_AllocationCapabilities.

When you run make install, you should see the following error:

/usr/bin/ld: cannot find -lVirt_DevicePool
collect2: ld returned 1 exit status
libtool: install: error: relink `libVirt_AllocationCapabilities.la' with the above command before installing it

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r f230e4d57a78 -r b6fdc32e2589 src/Makefile.am
--- a/src/Makefile.am	Wed Nov 28 11:27:09 2007 +0100
+++ b/src/Makefile.am	Wed Nov 28 11:06:22 2007 -0800
@@ -34,12 +34,12 @@ provider_LTLIBRARIES = libVirt_ComputerS
                        libVirt_VirtualSystemManagementService.la \
                        libVirt_VirtualSystemManagementCapabilities.la \
                        libVirt_EnabledLogicalElementCapabilities.la \
+                       libVirt_DevicePool.la \
                        libVirt_AllocationCapabilities.la \
                        libVirt_VSSD.la \
                        libVirt_HostedDependency.la \
                        libVirt_RegisteredProfile.la \
                        libVirt_ElementConformsToProfile.la \
-                       libVirt_DevicePool.la \
                        libVirt_SettingsDefineCapabilities.la \
                        libVirt_HostedResourcePool.la \
                        libVirt_ElementCapabilities.la \




More information about the Libvirt-cim mailing list