gdb-4.1.6.Missing termcap

Klaus Sandner klaus.sandner@t-online.de
Mon Apr 28 07:33:00 GMT 1997


I want to build  gdb  with the folloing  constitution
one-tree from cygnus
host=i386-linux
target=m68k-coff
prefix=/home/sand/crossgcc/bar


mkdir build-gdb
cd build-gdb
../gdb-4.16/configure --host=$host --target=$target --prefix=$prefix -v
make all install

Error during  linking  termcap library..

gdb-4.16/gdb/../include  init.c        rm -f gdb     gcc -O2 -g     -o gdb \
  init.o version.o blockframe.o breakpoint.o findvar.o stack.o thread.o source.
n.o inflow.o gnu-regex.o     ../bfd/libbfd.a ../readline/libreadline.a 
../opcodes/libopcodes.a ../mmalloc/libmmalloc.a ..
****************************************************************************
/libiberty/libiberty.a  -ltermcap -lm   ../libiberty/libiberty.a  
/usr/i486-linux/bin/ld: cannot open -ltermcap: No such file or directory
make[1]: *** [gdb] Error 1
make[1]: Leaving directory `/home/sand/crossgcc/build-gdb/gdb'
****************************************************************************

Questions:
1.What  can I do that this error diappears.The library termcat.h is present in 
/usr/bin
2.I am looking for the Makefile  for this passage auf compilation to get more 
information where my library must be locatet.
 Any hints on how to solve this would be much appreciated
Many thanks
Klaus Sandener
klaus.sander@t-online.de





More information about the crossgcc mailing list