New binutils breaks program

Philip Blundell philb@gnu.org
Thu Jul 26 15:02:00 GMT 2001


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


-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7YJNfVTLPJe9CT30RAoMhAKCkH6KXBD+GUdV0NW44CyzJMuzvFwCeLXQk
orG7jyjDN7AzTKoa0X/b2Q4=
=+HAl
-----END PGP SIGNATURE-----


More information about the Binutils mailing list