From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6719 invoked by alias); 15 Sep 2007 11:37:56 -0000 Received: (qmail 6711 invoked by uid 22791); 15 Sep 2007 11:37:55 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.taloyhtioverkot.fi (HELO smtp.taloyhtioverkot.fi) (212.16.101.161) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 15 Sep 2007 11:37:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.taloyhtioverkot.fi (Postfix) with ESMTP id D9CE53EC327; Sat, 15 Sep 2007 16:35:26 +0300 (EEST) Received: from smtp.taloyhtioverkot.fi ([127.0.0.1]) by localhost (smtp.taloyhtioverkot.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6t0518VddR9S; Sat, 15 Sep 2007 16:35:24 +0300 (EEST) Received: from [192.168.0.103] (adsl-212-16-102-13.taloyhtioverkot.fi [212.16.102.13]) by smtp.taloyhtioverkot.fi (Postfix) with ESMTP id 3F4223EC319; Sat, 15 Sep 2007 16:35:22 +0300 (EEST) Message-ID: <46EBC3FE.5000109@netsonic.fi> Date: Sun, 16 Sep 2007 14:07:00 -0000 From: Claus Baumgartner User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: Roman.Rycerz@us.contiautomotive.com CC: gdb@sourceware.org Subject: Re: Patch for _libintl_dgettext compile failure References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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/msg00136.txt.bz2 Roman.Rycerz@us.contiautomotive.com wrote: > Hi... > > I'm new to this group... and have tried to compile GDB 6.6 under cygwin > > and I get to > > make[3]: Entering directory `/tmp/build/gdb/sim/ppc' > gcc -g -O2 -o psim.exe main.o libsim.a ../../bfd/libbfd.a > ../../libiberty/lib > iberty.a > ../../bfd/libbfd.a(bfd.o)(.text+0x383): In function `bfd_errmsg': > /src/insight-6.6/bfd/bfd.c:397: undefined reference to `_libintl_dgettext' > ../../bfd/libbfd.a(bfd.o)(.text+0x3c3):/src/insight-6.6/bfd/bfd.c:383: > undefined > reference to `_libintl_dgettext' > ../../bfd/libbfd.a(bfd.o)(.text+0xa16): In function `bfd_assert': > /src/insight-6.6/bfd/bfd.c:828: undefined reference to `_libintl_dgettext' > ../../bfd/libbfd.a(bfd.o)(.text+0xafc): In function `_bfd_abort': > /src/insight-6.6/bfd/bfd.c:839: undefined reference to `_libintl_dgettext' > ../../bfd/libbfd.a(bfd.o)(.text+0xb2d):/src/insight-6.6/bfd/bfd.c:846: > undefined > reference to `_libintl_dgettext' > ../../bfd/libbfd.a(bfd.o)(.text+0xb56):/src/insight-6.6/bfd/bfd.c:843: more > unde > fined references to `_libintl_dgettext' follow > collect2: ld returned 1 exit status > > > does anyone know of a patch and where it might be located ???? > > thanks in advance > > Roman F. Rycerz > > Continental Automotive Systems > 21440 W Lake Cook Road > Deer Park, IL 60010 > email: Roman.Rycerz@us.contiautomotive.com > www.contiautomotive.com > Hi Roman, It compiles nicely if you add the --disable-nls switch when you run the configure script for GDB. ./configure --disable-nls If you use crosstools scripts then you should add the --disable-nls switch to gdb.sh file to the line where configure is run. The --disable-nls switch disables the localization. Have a nice day, Claus