From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25274 invoked by alias); 27 Sep 2007 12:44:08 -0000 Received: (qmail 25245 invoked by uid 22791); 27 Sep 2007 12:44:07 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Sep 2007 12:44:05 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 690AE9832A; Thu, 27 Sep 2007 12:44:04 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 516249829E; Thu, 27 Sep 2007 12:44:04 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1Iasip-0007fl-IA; Thu, 27 Sep 2007 08:44:03 -0400 Date: Thu, 27 Sep 2007 13:46:00 -0000 From: Daniel Jacobowitz To: Bhushan Attarde Cc: gdb@sourceware.org Subject: Re: error message : I'm sorry, Dave, I can't do that.Symbolformat'elf32-xc16x' unknown. Message-ID: <20070927124403.GA29229@caradoc.them.org> Mail-Followup-To: Bhushan Attarde , gdb@sourceware.org References: <20070926212743.GB17502@caradoc.them.org> <7B5265FF85A78C4BB9DAD0EE699C476002C01BC7@sohm.kpit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7B5265FF85A78C4BB9DAD0EE699C476002C01BC7@sohm.kpit.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00231.txt.bz2 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