Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb@sourceware.org
Subject: Re: [ANNOUNCEMENT] GDB 7.0 released!
Date: Wed, 07 Oct 2009 10:30:00 -0000	[thread overview]
Message-ID: <838wfnmrax.fsf@gnu.org> (raw)
In-Reply-To: <announce.20091006174009.GA15551@adacore.com>

> Date: Tue, 6 Oct 2009 10:40:09 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> 
>             GDB 7.0 released!
> 
> Release 7.0 of GDB, the GNU Debugger, is now available via anonymous
> FTP.  GDB is a source-level debugger for Ada, C, C++, Objective-C,
> Pascal and many other languages.  GDB can target (i.e., debug programs
> running on) more than a dozen different processor architectures, and GDB
> itself can run on most popular GNU/Linux, Unix and Microsoft Windows
> variants.

Thanks.

FWIW, it failed to build for me on

   Linux fencepost 2.6.16.29-xen #1 SMP Wed Dec 6 07:32:36 EST 2006 x86_64 GNU/Linux

The reason seems to be that it didn't find libiconv:

    gcc -g -O2      \
		    -o gdb gdb.o libgdb.a \
		       ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a    -lncurses -lz -lm eliz/lib/libexpat.so -Wl,-rpath -Wl,eliz/lib ../libiberty/libiberty.a  gnulib/libgnu.a -ldl -rdynamic
    libgdb.a(charset.o): In function `validate':eliz/gdb-7.0/gdb/charset.c:284: undefined reference to `libiconv_open'
    :eliz/gdb-7.0/gdb/charset.c:288: undefined reference to `libiconv_close'
    :eliz/gdb-7.0/gdb/charset.c:290: undefined reference to `libiconv_open'
    :eliz/gdb-7.0/gdb/charset.c:294: undefined reference to `libiconv_close'
    libgdb.a(charset.o): In function `convert_between_encodings':eliz/gdb-7.0/gdb/charset.c:434: undefined reference to `libiconv_open'
    :eliz/gdb-7.0/gdb/charset.c:456: undefined reference to `libiconv'
    libgdb.a(charset.o): In function `make_wchar_iterator':eliz/gdb-7.0/gdb/charset.c:540: undefined reference to `libiconv_open'
    libgdb.a(charset.o): In function `do_cleanup_iterator':eliz/gdb-7.0/gdb/charset.c:561: undefined reference to `libiconv_close'
    libgdb.a(charset.o): In function `wchar_iterate':eliz/gdb-7.0/gdb/charset.c:598: undefined reference to `libiconv'
    libgdb.a(charset.o): In function `cleanup_iconv':eliz/gdb-7.0/gdb/charset.c:412: undefined reference to `libiconv_close'
    collect2: ld returned 1 exit status

Where was it supposed to detect how to link against libiconv?

(I eventually forced it to DTRT by specifying the necessary arguments
to the linker in LOADLIBES.)


  reply	other threads:[~2009-10-07 10:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06 17:42 Joel Brobecker
2009-10-07 10:30 ` Eli Zaretskii [this message]
2009-10-07 17:18   ` Tom Tromey
2009-10-07 17:53     ` Eli Zaretskii
2009-10-07 19:25       ` Tom Tromey
2009-10-07 19:35         ` Tom Tromey
2009-10-07 20:47         ` Eli Zaretskii

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=838wfnmrax.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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