This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined symbols for architecture x86_64



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]