On Sat, Dec 27, 2008 at 12:18:50PM +0100, Mazen NEIFER wrote:
> After installing binutils-dev package the following error is got :

It is a static library; it has no way to indicate its dependencies.

> /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?

> /usr/local/src/fpcbuild-2.2.3/build/fpc-2.2.3/fpcsrc/packages/gdbint/units/i386-linux/gdbint.o:
>  In function `GDBINT_INITLIBGDB':
> gdbint.pp:(.text+0x1666): undefined reference to `error_init'

This is not related to libgdb.

> /usr/lib/libgdb.a(gdbtypes.o):(.data+0x50): undefined reference to 
> `floatformat_ibm_long_double'

You need -liberty.

> (.text+0x69e): undefined reference to `XML_SetParamEntityParsing'

Also -lexpat.  Soon you'll need Python, too.

I'll update the dependencies if I can find where to pull libiberty from.

-- 
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