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 make[4]: *** [xentop] Error 1 make[4]: Leaving directory `/tmp/xen-unstable.hg/tools/xenstat/xentop'' make[3]: *** [install] Error 2 make[3]: Leaving directory `/tmp/xen-unstable.hg/tools/xenstat'' make[2]: *** [install] Error 2 make[2]: Leaving directory `/tmp/xen-unstable.hg/tools'' make[1]: *** [tools] Error 2 make[1]: Leaving directory `/tmp/xen-unstable.hg'' make: *** [world] Error 2 David F Barrera _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 statusIf you change LD_LIBS in tools/xenstat/xentop/Makefile to include -lncurses instead of -lcurses, does that fix the build failure? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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.> > -- Keir > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel