Re: Linking to a library in mixed C/Fortran 77 code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 12, 2012, at 6:48 PM, Jonathan Wakely wrote:

> Are you asking why you get the warning?  Or how to get rid of it? Or
> something else?

Something else:  I am asking how to make it possible for ld to recognize the function in libgomp.so so that I can link dynamically.

> If foo isn't being found in your modified libgomp.so it is probably
> because libgomp.so is being built with symbol-versioning enabled and
> you haven't exported foo from the library as a global symbol.

Great!  That's what I was missing.  I just added the name "foo" to my libgomp/libgomp.map and rebuilt GCC, and now my application links dynamically!  Thanks a lot!



Amittai Aviram
PhD Student in Computer Science
Yale University
646 483 2639
amittai.aviram@xxxxxxxx
http://www.amittai.com




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux