This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Can't configure gdb-5.3 for sparc64-linux: Could not find a term library
- From: Mark Kettenis <kettenis at chello dot nl>
- To: c dot christian dot joensson at telia dot com
- Cc: c dot christian dot joensson at telia dot com, gdb at sources dot redhat dot com
- Date: Sun, 2 Feb 2003 17:14:06 +0100 (CET)
- Subject: Re: Can't configure gdb-5.3 for sparc64-linux: Could not find a term library
- References: <20030123124258.A1141@u1sparc.j-son.org> <20030125223341.A1982@u1sparc.j-son.org> <86el6sp2hv.fsf@elgar.kettenis.dyndns.org> <20030202082348.A20130@u1sparc.j-son.org>
Date: Sun, 2 Feb 2003 08:23:53 +0100
From: =?iso-8859-1?Q?Christian_J=F6nsson?= <c.christian.joensson@telia.com>
> > >
> > > but ncurses and termcap is installed...
> > >
> > > ncurses-5.2-26
> > > ncurses-devel-5.2-26
> > > libtermcap-2.0.8-28
> > > libtermcap-devel-2.0.8-28
> > > termcap-11.0.1-10
> > >
> >
> > well, not much response here, is there something obvious I might have missed reading< perhaps?
> >
> > is it perhaps so that if I want a gdb for sparc64-linux, I'll have to
> > have more than just binutils and gcc for sparc64-linux, such as
> > ncurses and/or termcap?
>
> I'm not familiar with sparc64-linux, but if you want to build a native
> sparc64-linux GDB, you'll need the 64-bit versions of the libs needed
> by GDB I suppose.
OK, then I'll need ncurses for sparc64-linux, right?
Yup, your config.log contains:
configure:6970: checking for tgetent in -lncurses
configure:6989: gcc -o conftest -g -O2 conftest.c -lncurses -lm 1>&5
/usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.4/../../../../sparc64-linux/
bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurse
s
/usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.4/../../../../sparc64-linux/
bin/ld: skipping incompatible /usr/lib/libncurses.a when searching for -lncurses
/usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.4/../../../../sparc64-linux/
bin/ld: cannot find -lncurses
Good luck,
Mark