Undefined symbols for architecture x86_64
Tim Prince
n8tm@aol.com
Tue Jul 1 21:43:00 GMT 2014
On 7/1/2014 3:01 PM, mcz1216 wrote:
> I was wondering if you ever figured out a solution to this problem? I am
> trying to install FVCOM and am running into the exact same thing.
> Thanks
>
>
>
> --
> View this message in context: http://gcc.1065356.n5.nabble.com/Undefined-symbols-for-architecture-x86-64-tp977233p1048574.html
> Sent from the gcc - fortran mailing list archive at Nabble.com.
If you are calling a library of C functions which aren't built with the
appended underscore, you should add the iso_c_binding bind(c, name=....)
so as to make the names match. If it is a decades old legacy
application, there is probably a build setup to specify a single
appended underscore on the C side. As you aren't bumping into anyone on
these sites who knows the build scheme, you may have to fall back on
reading the manual or looking at the source code.
--
Tim Prince
More information about the Fortran
mailing list