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] Xen 4.1.0 RC2 released,

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 4.1.0 RC2 released,
From: Nathan March <nathan@xxxxxx>
Date: Fri, 28 Jan 2011 11:22:58 -0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 Jan 2011 11:23:52 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=NIjR9YRcuD+c cRCJOyjEbefLd/0=; b=QLrvsRadPYt48HJCA0mKoZUEaIVedLjhVOwjft6AWmD/ nr0t76QX9jVhqELKWaHA3H4SD1wSHUQN5XDtL8yAp3U6ZYwW7cpnme4teZYHnW3o +VS7qAYXOcEdPsTqzZIFbcso5CbbeS0vs0kOqW8NzuLehXYkr6zHXS/EaNV7z6c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=yTWfXz lons0rITNfqzQ5RoSsMv7cuSvH3CE2fRKXdQx1QTbGDxZgsV8jUBCT84ccdIitMi u97i8NtFZCREqq/e1mt6f2fBoo7vvQjSgSXYQcrXzu0OzBIyrWUCnLhEaeTIimXC V473cTr8R30tg/hqNzTeEZifinMa8DrSUKY9c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1296241979.20804.88.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <4D41FA20.40509@xxxxxx> <1296204837.14780.6925.camel@xxxxxxxxxxxxxxxxxxxxxx> <4D43146C.50203@xxxxxx> <1296241979.20804.88.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
On 1/28/2011 11:12 AM, Ian Campbell wrote:
Can you try moving the $(DLOPEN_LIBS) in the libxenctrl rule in
tools/libxc/Makefile to the end, e.g. before or after the
$(PTHREAD_LIBS)?

Ian.

Moving it to the end fixed it:

- $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenctrl.so.$(MAJOR) $(DLOPEN_LIBS) $(SHLIB_LDFLAGS) -o $@ $^ $(PTHREAD_LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenctrl.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^ $(PTHREAD_LIBS) $(DLOPEN_LIBS)

But I'm still running into issues, this time with libvhd:

gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .vhd-util.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -Wno-unused -I../include -D_GNU_SOURCE -fPIC -Wp,-MD,.vhd-util.d -o vhd-util vhd-util.o -Llib -lvhd -luuid
lib/libvhd.so: undefined reference to `uuid_generate'
lib/libvhd.so: undefined reference to `uuid_copy'
lib/libvhd.so: undefined reference to `uuid_is_null'
lib/libvhd.so: undefined reference to `uuid_unparse'
lib/libvhd.so: undefined reference to `uuid_clear'
lib/libvhd.so: undefined reference to `uuid_compare'
collect2: ld returned 1 exit status

The line that built libvhd.so was:

gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .libvhd.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -Wno-unused -I../../include -D_GNU_SOURCE -fPIC -g -Wp,-MD,.libvhd.o.d -c -o libvhd.o libvhd.c

- Nathan

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