From: Josh Triplett Subject: Re: Build break on SLES 9 Date: Tue, 23 Aug 2005 10:17:16 -0700 Message-ID: <1124817436.17518.18.camel@localhost.localdomain> References: <430B1A4F.7000909@us.ibm.com> <430B29E7.8070704@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <430B29E7.8070704@us.ibm.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: David F Barrera Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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