compile failure due to undefined symbol

Nick Clifton nickc@redhat.com
Tue Oct 2 11:05:00 GMT 2007


Hi Peter,

> Attached you'll find what I used

I could not get that patch to work for me.  (The inclusion of -lbfd-${VERSION} 
did not work because VERSION only expanded into -lbfd-2.18.50 and not 
-lbfd-2.18.50-20071002, and the definition of BFDLIB had only one back-tick not 
two).

But I was able to use it as the basis for a patch which did work.  Would you 
like to try it out and see what you think ?  (The patch is attached, but I have 
not included the regenerated files.  I assume that you are OK to recreate them 
yourself).  I chose to use -rpath rather than -rpath-link and then to 
explicitly link into the shared bfd library rather than using the library 
location mechanism as this appeared to do the right thing.

Cheers
   Nick


-------------- next part --------------
A non-text attachment was scrubbed...
Name: shared-libopcodes.patch
Type: text/x-patch
Size: 3153 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071002/8a958159/attachment.bin>


More information about the Binutils mailing list