On Mar 17, 2009, at 11:52 PM, Yolande Serra wrote:
Is the fortran code looking for some symbol that's not in the library?
yes, all of them. it cannot find any of the fortran routines like nf_open, nf_get_vara_float, etc. All the netcdf nf_ routines are listed that I call in my program when I try to compile. I think it may be an underscore issue, at least it seems that way since it is just not possible that the code does not know where libnetcdf.a is.

you can use 'nm' to look at the symbol table of the library and at least get a hint at what is going on.

Perhaps I should be writing the netcdf creators at this point as I've tried everything I can to get it to work and I've built it myself on my powerpc mac and had no trouble.


I don't use fortran myself, so I'm not sure what the conventions might be for symbol mangling/decoration/lookup.

--
Daniel J. Luke
+========================================================+
| *---------------- [email protected] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to