New binutils breaks program
H . J . Lu
hjl@lucon.org
Thu Jul 26 13:33:00 GMT 2001
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.
More information about the Binutils
mailing list