On Tue, Dec 30, 2008 at 12:25:45AM +0100, Mazen NEIFER wrote:
> Package: libgdb-dev
> Version: 6.8-3
> 
> --- Please enter the report below this line. ---
> >> /usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
> >> (.text+0x0): multiple definition of `generic_skip_trampoline_code'
> >> /usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here
> >
> >How are you linking the library to cause this error?  --whole-archive?
> 
> I'm using FPC which produces the attached linker script.

Oh right, this was fixed upstream but the fix may not be in Debian
yet.  #include foo.c instead of foo.h.

> >> /usr/lib/libgdb.a(gdbtypes.o):(.data+0x50): undefined reference to 
> >> `floatformat_ibm_long_double'
> >
> >You need -liberty.
> 
> I could not find this function in libiberty.a

Version skew - that libiberty.a is from an older version of
binutils than this version of GDB.  The function is in GDB's version
of libiberty.

I have no idea what to do about that.  I don't want to have multiple
versions of libiberty installed... I will think about it.

-- 
Daniel Jacobowitz
CodeSourcery



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to