This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: compile failure due to undefined symbol
- From: "Peter S. Mazinger" <ps dot m at gmx dot net>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, <binutils at sourceware dot org>
- Date: Fri, 28 Sep 2007 11:43:51 +0200 (CEST)
- Subject: Re: compile failure due to undefined symbol
On Fri, 28 Sep 2007, Nick Clifton wrote:
> Hi Peter,
>
> >>> Should the opcode library be linked against libbfd as well?
> >> Yes.
> >
> > ok, but there is a comment about having problems to "catch" the right
> > libbfd.so (libtool problem) mentioned before LIBADD. Why not hardcoding
> > the path to the right libbfd.so then ($(top_buildir)/bfd/libbfd.la)?
>
> Have you tried doing this ? If so did it work for both native builds and cross
> host builds ?
I did it natively, haven't checked on a cross build. I have used
hardcoded libbfd.so path, since libbfd.la has libdir= set based on
configure options already and I thought that libtool might fail to pick up
the right one.
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2