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 break on SLES 9

To: David F Barrera <dfbp@xxxxxxxxxx>
Subject: Re: [Xen-devel] Build break on SLES 9
From: Josh Triplett <josht@xxxxxxxxxx>
Date: Tue, 23 Aug 2005 10:17:16 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Aug 2005 17:16:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <430B29E7.8070704@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <430B1A4F.7000909@xxxxxxxxxx> <a5e78190b217fe5aa64797394ca91cc9@xxxxxxxxxxxx> <430B29E7.8070704@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2005-08-23 at 08:51 -0500, David F Barrera wrote:
> Keir Fraser wrote:
> > On 23 Aug 2005, at 13:45, David F Barrera wrote:
> >> gcc   -m64 -DGCC_PRINTF -Wall -Werror  
> >> -I../../../tools/xenstat/libxenstat/src -c -o xentop.o xentop.c
> >> gcc   -m64 -L../../../tools/xenstat/libxenstat/src  xentop.o   
> >> -lxenstat -lcurses -o xentop
> >> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse- 
> >> linux/bin/ld: cannot find -lcurses
> >> collect2: ld returned 1 exit status
> >
> > If you change LD_LIBS in tools/xenstat/xentop/Makefile to include  
> > -lncurses instead of -lcurses, does that fix the build failure?
> Yes, it does.

Thanks for pointing out and fixing this issue.  Many distributions ship
links from libcurses.{a,so} to libncurses.{a,so}, including all the
distributions we tested on (Debian, Gentoo, and Fedora); apparently SLES
9 does not.

- Josh Triplett

Xen-devel mailing list

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