From: Claus Baumgartner <claus.baumgartner@netsonic.fi>
To: Roman.Rycerz@us.contiautomotive.com
Cc: gdb@sourceware.org
Subject: Re: Patch for _libintl_dgettext compile failure
Date: Sun, 16 Sep 2007 14:07:00 -0000 [thread overview]
Message-ID: <46EBC3FE.5000109@netsonic.fi> (raw)
In-Reply-To: <OF4469AA24.59CF1308-ON86257356.005C1E8C-86257356.005C7E88@contiteves.com>
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
prev parent reply other threads:[~2007-09-15 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 17:18 Roman.Rycerz
2007-09-14 18:28 ` Dave Korn
2007-09-14 21:36 ` Roman.Rycerz
2007-09-14 21:55 ` Roman.Rycerz
2007-09-16 14:07 ` Claus Baumgartner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46EBC3FE.5000109@netsonic.fi \
--to=claus.baumgartner@netsonic.fi \
--cc=Roman.Rycerz@us.contiautomotive.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox