Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

LNK2001 error from old Compaq Visual Fortran Code

$
0
0

Hi,

I have searched around this issue quite a lot but non of the suggestions seem to solve my problem. I am evaluating whether some old Compaq Visual Fortran code that we have can be built in Intel Visual Fortran on VS2013. The project loads and VF seems to understand the project structure however when I build it I get a lot of LNK2001 errors and a LNK1120: 117 unresolved externals. The project builds a DLL from Fortran routines

The project has a DEF file

LIBRARY XXSUBS
EXPORTS
  ASBEEP
  ASCURS
  ASCOL
  ASGET
...

Some of these routines are Fortran subroutines and some are ENTRY's in other subroutines

ENTRY ASGET (IFLD, MAXLEN, LENC, CHARS)

 

All the code seems to compile OK but I am at a loss as to why I get the Linker errors when as far as I can see all the Exported routines in the DEF file seem to have built and be available to the linker. Any ideas?


Viewing all articles
Browse latest Browse all 3108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>