From: Ian Campbell Subject: Re: 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 Date: Mon, 21 Mar 2011 13:05:40 +0000 Message-ID: <1300712740.13026.137.camel@zakaz.uk.xensource.com> References: <20110321122727.GA16500@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110321122727.GA16500@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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 # 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 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)