PRB: L2029 "Unresolved External" Errors Linking FORTRAN App
ID: Q31577
|
The information in this article applies to:
-
Microsoft FORTRAN for MS-DOS, versions 4.0, 4.01, 4.1, 5.0, 5.1
-
Microsoft FORTRAN for OS/2, versions 4.1, 5.0, 5.1
-
Microsoft FORTRAN PowerStation for MS-DOS, versions 1.0, 1.0a
SYMPTOMS
During the process of linking an application, the linker generates
a number of error messages of the following form:
error L2029: '_name' unresolved external
CAUSE
There are three main causes for this error:
- The FORTRAN libraries were built with C compatibility support
and the C libraries are not linked with the application. The C-
compatible FORTRAN libraries do not contain the routines common
to both C and FORTRAN.
-or-
- The version of the linker is not correct.
-or-
- A terminate-and-stay-resident (TSR) program interferes with the
linking process.
RESOLUTION
The corresponding resolutions are as follows:
- Link the application with both the C libraries and FORTRAN
libraries.
- Ensure that the latest version of the linker is installed.
- Modify the AUTOEXEC.BAT file to remove all unnecessary TSR
programs.
Additional query words:
1.00 nofpsnt 4.00 4.01 4.10 5.00 5.10
Keywords :
Version : :1.0,1.0a,4.0,4.01,4.1,5.0,5.1
Platform :
Issue type :
|