On Dec 31, 2005, at 6:04 AM, Jeff Whitaker wrote:

Mike: I believe I finally have a workaround for this. I've updated the package to use '-fno-underscoring' when compiling the library. At least that way all the symbols now have the same underscoring convention (identical to xlf's). The fortran tests now pass.

Thanks for working on this, Jeff. Unfortunately, '-fno-underscoring' conflicts with how other libraries built against Fortran typically seem to be built.

For example, when I build a code that's linked with the HDF libraries, I need to use '-fno-underscoring'. On the other hand, if I link against pgplot, I can't use that option. If I have a code that links against both (as I do), then I run into problems. I get unresolved reference errors for one set of libraries or the other.

I suppose I might be able to work around by segregating the HDF and the pgplot code into completely separate routines/files, and compile each with different options. But that's a bit of a pain. It would probably make sense for future code (to make these sorts of issues easier to deal with), but legacy code would be trickier.

Does that make sense?

Thanks again,
Mike

--
Mike Zulauf (2)
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to