This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't configure gdb-5.3 for sparc64-linux: Could not find a term library


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]