Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29244 Discussions

Error when upgrading from Fortran 9 to Fortran 10

postaquestion
Novice
621 Views

I just upgraded from Intel Fortran version 9 to version 10. I have a program that has C and Fortran components. I now get the following link error:

smokeview_fort.lib(getdata.obj) : error LNK2019: unresolved external symbol ___intel_f2int referenced in function _getdata2@128

How can I resolve the reference to ___intel_f2int ?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
621 Views
You are probably still linking against the 9.1 libraries. Make sure that the Fortran library path you use in the C project is that for the 10.0 libraries.
0 Kudos
Glenn_F_
Beginner
621 Views

thanks. that did the trick.

glenn

-- 
Glenn Forney
National Institute of Standards and Technology
100 Bureau Drive, Stop 8663
Gaithersburg MD 20899-8663

0 Kudos
Reply