This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: New binutils breaks program
- To: Malcolm Rodgers <malcolm at mail dot trakonic dot com>
- Subject: Re: New binutils breaks program
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Thu, 26 Jul 2001 13:33:21 -0700
- Cc: binutils at sources dot redhat dot com
- References: <Pine.LNX.4.21.0107261648580.10494-100000@mail.trakonic.com>
On Thu, Jul 26, 2001 at 04:51:06PM -0300, Malcolm Rodgers wrote:
>
> I compiled a simple little test app first against binutils-2.10.1.0.2
> and it worked fine. Then when I used binutils-2.11.90.0.19 it fails.
>
>
> Here is the test app and failure output.
>
> gcc -g -include /usr/include/mpatrol.h -DMP_NOCPLUSPLUS test.cpp -lmpatrol
> -lbfd -liberty
> /usr/lib/libbfd.so: undefined reference to `htab_find_slot_with_hash'
> /usr/lib/libbfd.so: undefined reference to `htab_create'
> /usr/lib/libbfd.so: undefined reference to `htab_delete'
>
Your gcc used a very old libliberty. Make sure the one from binutils
is used.
H.J.