This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Undefined symbols for architecture x86_64
- From: Tim Prince <n8tm at aol dot com>
- To: fortran at gcc dot gnu dot org
- Date: Tue, 01 Jul 2014 17:43:35 -0400
- Subject: Re: Undefined symbols for architecture x86_64
- Authentication-results: sourceware.org; auth=none
- References: <CADixC=tZsP2Ng1dBjAzuky6CyGmGrW_sGxP1V1wyMU8DGpggnw at mail dot gmail dot com> <1404241287649-1048574 dot post at n5 dot nabble dot com>
- Reply-to: tprince at computer dot org
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