Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Problem

Status
Not open for further replies.

bettina1

Technical User
Oct 15, 2008
2
CH
I get the following linking errors when I try to build a fortran code (I am using Compaq Visual Fortran):

Linking...
setbound.obj : error LNK2001: unresolved external symbol _RMINT@24
flow1.obj : error LNK2001: unresolved external symbol _RMINT@24
flow2.obj : error LNK2001: unresolved external symbol _RMINT@24
grival.obj : error LNK2001: unresolved external symbol _RMINT@24
main2dmb.obj : error LNK2001: unresolved external symbol _RMINT@24
init.obj : error LNK2001: unresolved external symbol _LENEXT@8
wres.obj : error LNK2001: unresolved external symbol _LENEXT@8
init.obj : error LNK2001: unresolved external symbol _IIOPN@16
main2dmb.obj : error LNK2001: unresolved external symbol _IIOPN@16
init.obj : error LNK2001: unresolved external symbol _IIERR@12
inrea.obj : error LNK2001: unresolved external symbol _IIERR@12
inrea.obj : error LNK2001: unresolved external symbol _IICMD@32
inrea.obj : error LNK2001: unresolved external symbol _IIRNG1@28
inrea.obj : error LNK2001: unresolved external symbol _IITBL@20
main2dmb.obj : error LNK2001: unresolved external symbol _IITIM@8
main2dmb.obj : error LNK2001: unresolved external symbol _LEN@8
Debug/main2dmb.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.

I assume there is a library missing, but since I am not familiar with fortran I could not figure out why these errors occur. I would appreciate any help!

Bettina
 
Are you missing a file from the link? The @x at the end tells you how many parameters there are. eg _len@8 The routine is len and it has 8/4 = 2 parameters.

Have a search through your sources and see where these names are defined and check if that file has been included in your build.
 
Thanks a lot for your help. I checked the sources and I did not find the definition of these routines. That's why I thought these routines are in some standard library that I am missing but this is obviously not the case. So Apparently I did not get the complete code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top