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

fatal error LNK1120

dragonfly4000
Beginner
417 Views

Hi Guys,

I'm trying to re-compile an old fortran f77 code using Lahey fortran f95 pro v5.7
running under windows XP and it fails with the following errors:

BASEW.obj : error LNK2001: unresolved external symbol _curon_
BASEW.obj : error LNK2001: unresolved external symbol _ctoa_
BASEW.obj : error LNK2001: unresolved external symbol _getch_
BASEW.obj : error LNK2001: unresolved external symbol _dispscn_
BASEW.obj : error LNK2001: unresolved external symbol _bldb_
BASEW.obj : error LNK2001: unresolved external symbol _fillb_
BASEW.obj : error LNK2001: unresolved external symbol _windbuf_
BASEW.obj : error LNK2001: unresolved external symbol _curoff_
BASEW.obj : error LNK2001: unresolved external symbol _defwind_
BASEW.obj : error LNK2001: unresolved external symbol _cls_
BASEW.exe : fatal error LNK1120: 10 unresolved externals

Those are the call programs it fails to link,
eventhough I have the library folder in the configuartion files
namely the lf95 and automake.
I probably don't have the correct library files.

I'd appreciate very much if someone could tell me what library file/s I should use
or how I could find out what file/s I need.

Thank you in advance.

0 Kudos
1 Reply
TimP
Honored Contributor III
417 Views
This isn't the best place to get advice on Lahey Fortran. Do you mean you've lost the run-time library associated with the compiler, or are those function calls visible in the source code? If your version is too old to get help on a Lahey forum, someone might give suggestions on Usenet comp.lang.fortran, but people are likely to need more information than you gave here. If those function calls appear in the source, they aren't f77; it's possible they were special proprietary library functions supplied with some much earlier version of a Fortran compiler. You may have some detective work ahead if you have a non-standard program without documentation.
0 Kudos
Reply