WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Ian Campbell <Ian.Campbell@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: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Wed, 23 Mar 2011 11:52:55 -0400
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>
Delivery-date: Wed, 23 Mar 2011 08:57:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1300893178.5195.4.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20110321122727.GA16500@xxxxxxxxxxxx> <1300712740.13026.137.camel@xxxxxxxxxxxxxxxxxxxxxx> <19847.26231.593210.512872@xxxxxxxxxxxxxxxxxxxxxxxx> <1300722805.21142.2.camel@xxxxxxxxxxxxxxxxxxxxxx> <20110322171610.GA15856@xxxxxxxxxxxx> <1300814717.21142.42.camel@xxxxxxxxxxxxxxxxxxxxxx> <1300893178.5195.4.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Mar 23, 2011 at 03:12:58PM +0000, Ian Campbell wrote:
> On Tue, 2011-03-22 at 17:25 +0000, Ian Campbell wrote:
> > On Tue, 2011-03-22 at 17:16 +0000, Konrad Rzeszutek Wilk wrote:
> > > On Mon, Mar 21, 2011 at 03:53:25PM +0000, Ian Campbell wrote:
> > > > On Mon, 2011-03-21 at 14:53 +0000, Ian Jackson wrote:
> > > > > Ian Campbell writes ("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"):
> > > > > > xl: link against libxenctrl
> > > > > 
> > > > > I've applied this, thanks.  Although I don't understand why the build
> > > > > failed for Konrad and not me or my test system.
> > > > 
> > > > Me neither.
> > > 
> > > I am not sure either. Here is another with todays pull:
> > > 
> > > gcc    -o xl xl.o xl_cmdimpl.o xl_cmdtable.o libxlutil.so 
> > > -L/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/libxl 
> > > -Wl,-rpath-link=/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/libxc
> > >  
> > > -Wl,-rpath-link=/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/xenstore
> > >  
> > > -Wl,-rpath-link=/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/blktap2/control
> > >  -lxenlight 
> > > -L/home/konrad/ssd/xtt/xen-unstable/tools/libxl/../../tools/libxc 
> > > -lxenctrl
> > > /usr/bin/ld: xl_cmdimpl.o: undefined reference to symbol 
> > > 'uuid_parse@@UUID_1.0'
> > > /usr/bin/ld: note: 'uuid_parse@@UUID_1.0' is defined in DSO 
> > > /lib64/libuuid.so.1 so try adding it to the linker command line
> > > /lib64/libuuid.so.1: could not read symbols: Invalid operation
> > 
> > This is due to the use of the uuid library being inlined in the libxl
> > headers, so the user of libxl can end up with linking requirements due
> > to libxl header internals. I think the right fix is to move these out of
> > line like I did with essentially the same thing in blktap2. I'll take a
> > look shortly.
> 
> Konrad, Jeremy,
> 
> Does this help?

Yes!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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