public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Multiple definition of `_solib_address' [was RE: RFC: patch for insight & target stdin]
       [not found] <1116960598.4460.32.camel@lindt.uglyboxes.com>
@ 2005-05-26 16:25 ` Dave Korn
  2005-05-26 16:28   ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Korn @ 2005-05-26 16:25 UTC (permalink / raw)
  To: 'Keith Seitz', 'James Lemke'; +Cc: insight, gdb

----Original Message----
>From: Keith Seitz
>Sent: 24 May 2005 19:50

> On Tue, 2005-05-24 at 14:43 -0400, James Lemke wrote:
> 
>> Ping?
> 
> Grr. My bad. Been a very, very busy week. I promise to have this done
> very soon (end of week at the latest).
> 
> Really.
> 
> Keith

  I said I'd give it some testing too, didn't I?  I was somewhat delayed
last week by getting stranded in Spain on what was meant to only be a long
weekend......

  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:
fir
st defined here


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple definition of `_solib_address' [was RE: RFC: patch for insight & target stdin]
  2005-05-26 16:25 ` Multiple definition of `_solib_address' [was RE: RFC: patch for insight & target stdin] Dave Korn
@ 2005-05-26 16:28   ` Keith Seitz
  2005-05-26 16:32     ` Multiple definition of `_solib_address' [was RE: RFC: patchfor " Dave Korn
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2005-05-26 16:28 UTC (permalink / raw)
  To: Dave Korn; +Cc: insight, gdb

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Multiple definition of `_solib_address' [was RE: RFC: patchfor insight & target stdin]
  2005-05-26 16:28   ` Keith Seitz
@ 2005-05-26 16:32     ` Dave Korn
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Korn @ 2005-05-26 16:32 UTC (permalink / raw)
  To: 'Keith Seitz'; +Cc: insight, gdb

-----Original Message-----
>From: Keith Seitz [mailto:keiths@redhat] 
>Sent: 26 May 2005 17:28
>To: Dave Korn
>Cc: insight@sourceware; gdb@sourceware
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 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.
 
  :)  We just did!

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-26 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1116960598.4460.32.camel@lindt.uglyboxes.com>
2005-05-26 16:25 ` Multiple definition of `_solib_address' [was RE: RFC: patch for insight & target stdin] Dave Korn
2005-05-26 16:28   ` Keith Seitz
2005-05-26 16:32     ` Multiple definition of `_solib_address' [was RE: RFC: patchfor " Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).