error message : I'm sorry, Dave, I can't do that.Symbolformat'elf32-xc16x' unknown.

Daniel Jacobowitz drow@false.org
Thu Sep 27 13:46:00 GMT 2007


On Thu, Sep 27, 2007 at 06:03:31PM +0530, Bhushan Attarde wrote:
> 1.There were some undefined references to `_libintl_dgettext'
> 
> /* this is the part of gdb/config.log file */
> 
> configure:21854: checking for ELF support in BFD
> configure:21878: i686-pc-cygwin-gcc -o conftest.exe -Os
> -I/cygdrive/c/cyggdb/src/gdb-6.7.50_20070918/gdb/../include -I../bfd
> -I/cygdrive/c/cyggdb/src/gdb-6.7.50_20070918/gdb/../bfd   -L../bfd
> -L../libiberty conftest.c -lncurses -lm  -lbfd -liberty >&5
> ../bfd/libbfd.a(elf.o):elf.c:(.text+0x4d9): undefined reference to
> `_libintl_dgettext'

Aha!

This means the configure check is buggy.  What happens if you replace
this line:
  LIBS="$LIBS -lbfd -liberty"
with this:
  LIBS="$LIBS -lbfd -liberty $LIBINTL"

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list