This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New binutils breaks program


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]