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: Philip Blundell <philb at gnu dot org>
- Date: Thu, 26 Jul 2001 23:02:08 +0100
- Cc: binutils at sources dot redhat dot com
- References: <Pine.LNX.4.21.0107261648580.10494-100000@mail.trakonic.com>
>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'
Unfortunately this kind of thing is pretty much a losing proposition.
It looks like you are getting non-matching versions of libbfd and libiberty.
Usually this is because you installed something like gcc that shipped with an
older libiberty, and its copy has either overwritten the one from bfd or is
before it in the library search path.
p.
PGP signature