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

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



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.

Ian.

# 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
 
 LIBXLU_LIBS =
 
-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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.