This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Build problem: note: 'xtl_createlogger_stdiostream' is d

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Build problem: note: 'xtl_createlogger_stdiostream' is defined in DSO .. so try adding it to the linker command line... libxenctrl.so.4.0: could not read symbols: Invalid operation
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Mon, 21 Mar 2011 13:05:40 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 21 Mar 2011 06:06:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110321122727.GA16500@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <20110321122727.GA16500@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2011-03-21 at 12:27 +0000, Konrad Rzeszutek Wilk wrote:
> This is a Fedora Core 13 environment and I just noticed this as I update the 
> xen-unstable
> tree:

My fault.


# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300712676 0
# Node ID b139d8f6fc5edaa9b26af15c9a6712d6eb7b0bee
# Parent  1849d5dc47deeb75721dfaf8fd46c76283a7e1e3
xl: link against libxenctrl

As well as the indirect dependency (via libxl) the xl binary also uses
libxenctrl directory (for xtl_createlogger_stdiostream etc) and
therefore must link against the library directly too.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 1849d5dc47de -r b139d8f6fc5e tools/libxl/Makefile
--- a/tools/libxl/Makefile      Fri Mar 18 16:40:56 2011 +0000
+++ b/tools/libxl/Makefile      Mon Mar 21 13:04:36 2011 +0000
@@ -24,7 +24,7 @@ LIBXL_LIBS = $(LDLIBS_libxenctrl) $(LDLI
-CLIENT_LIBS = $(LDLIBS_libxenlight)
+CLIENT_LIBS = $(LDLIBS_libxenlight) $(LDLIBS_libxenctrl)
 LIBXL_OBJS-y = osdeps.o libxl_paths.o libxl_bootloader.o flexarray.o
 ifeq ($(LIBXL_BLKTAP),y)

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>