* Build break on SLES 9
@ 2005-08-23 12:45 David F Barrera
2005-08-23 13:39 ` Keir Fraser
0 siblings, 1 reply; 4+ messages in thread
From: David F Barrera @ 2005-08-23 12:45 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build break on SLES 9
2005-08-23 12:45 Build break on SLES 9 David F Barrera
@ 2005-08-23 13:39 ` Keir Fraser
2005-08-23 13:51 ` David F Barrera
0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2005-08-23 13:39 UTC (permalink / raw)
To: David F Barrera; +Cc: 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 status
If you change LD_LIBS in tools/xenstat/xentop/Makefile to include
-lncurses instead of -lcurses, does that fix the build failure?
-- Keir
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build break on SLES 9
2005-08-23 13:39 ` Keir Fraser
@ 2005-08-23 13:51 ` David F Barrera
2005-08-23 17:17 ` Josh Triplett
0 siblings, 1 reply; 4+ messages in thread
From: David F Barrera @ 2005-08-23 13:51 UTC (permalink / raw)
To: Keir Fraser; +Cc: 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build break on SLES 9
2005-08-23 13:51 ` David F Barrera
@ 2005-08-23 17:17 ` Josh Triplett
0 siblings, 0 replies; 4+ messages in thread
From: Josh Triplett @ 2005-08-23 17:17 UTC (permalink / raw)
To: David F Barrera; +Cc: 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-23 17:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 12:45 Build break on SLES 9 David F Barrera
2005-08-23 13:39 ` Keir Fraser
2005-08-23 13:51 ` David F Barrera
2005-08-23 17:17 ` Josh Triplett
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.