From: Keith Seitz <keiths@redhat.com>
To: Dave Korn <dave.korn@artimi.com>
Cc: insight@sourceware.org, gdb@sourceware.org
Subject: Re: Multiple definition of `_solib_address' [was RE: RFC: patch for insight & target stdin]
Date: Thu, 26 May 2005 16:28:00 -0000 [thread overview]
Message-ID: <1117124885.4456.35.camel@lindt.uglyboxes.com> (raw)
In-Reply-To: <SERRANOGiKAe2hXSDx100000175@SERRANO.CAM.ARTIMI.COM>
On Thu, 2005-05-26 at 17:25 +0100, Dave Korn wrote:
> Anyway, so far I've only got as far as discovering that CVS HEAD of
> (insight+dejagnu) won't build at the moment. Anyone recognize this error?
> I'm afraid solibs in general are not my forte......
>
> rm -f gdb.exe
> gcc -g -O2 -Wl,--subsystem,console \
> -o gdb.exe gdb.o libgdb.a \
> ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
> ..
> /libiberty/libiberty.a ../libgui/src/libgui.a
> -L/davek/patch-gnu/testing/gdb/
> obj/itcl/itcl -litcl32 -L/davek/patch-gnu/testing/gdb/obj/itcl/itk -litk32
> -L/da
> vek/patch-gnu/testing/gdb/obj/tk/win -ltk84
> -L/davek/patch-gnu/testing/gdb/obj/t
> cl/win -ltcl84 -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -lncurses
> -lm
> -liconv ../libiberty/libiberty.a -luser32 -limagehlp -lshell32 -lgdi32
> -lcomdlg3
> 2 -ladvapi32
> libgdb.a(solib.o)(.text+0xd00): In function `solib_address':
> /gnu/testing/gdb/src/gdb/solib.c:771: multiple definition of
> `_solib_address'
> libgdb.a(win32-nat.o)(.text+0xdf0):/gnu/testing/gdb/src/gdb/win32-nat.c:728:
> first defined here
Yeah, it looks like gdb is undergoing some churn in the shared library
support... I just worked around it by adding #ifndef __CYGWIN__ in
solib.c to wipe the other definition of solib_address. I guess we should
mention this on the gdb list if it hasn't been fixed yet.
Keith
next prev parent reply other threads:[~2005-05-26 16:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1116960598.4460.32.camel@lindt.uglyboxes.com>
2005-05-26 16:25 ` Dave Korn
2005-05-26 16:28 ` Keith Seitz [this message]
2005-05-26 16:32 ` Multiple definition of `_solib_address' [was RE: RFC: patchfor " Dave Korn
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=1117124885.4456.35.camel@lindt.uglyboxes.com \
--to=keiths@redhat.com \
--cc=dave.korn@artimi.com \
--cc=gdb@sourceware.org \
--cc=insight@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