This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: error message : I'm sorry, Dave, I can't do that.Symbolformat'elf32-xc16x' unknown.
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