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


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.


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