PRB: __FF_intrin_err Link Error L2025 with Basic PDS Code (91736)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft Cinemania for Windows 1995 edition
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q91736 SYMPTOMS
When linking a mixed-language application using FORTRAN version 5.1 and
Basic Professional Development System version 7.1, using the stand-alone
Basic libraries, the linker generates the following error message:
error L2025: __FF_intrin_err : symbol defined more than once
When linking with the run-time support Basic libraries, the following
linker errors are generated:
error L2025: __flds : symbol defined more than once
error L2025: __fsts : symbol defined more than once
error L2025: __fadds : symbol defined more than once
error L2025: __fdivs : symbol defined more than once
error L2025: __fsubs : symbol defined more than once
error L2025: __fmuls : symbol defined more than once
error L2025: __fstsp : symbol defined more than once
error L2025: __aFflds : symbol defined more than once
error L2025: __aFfsts : symbol defined more than once
error L2025: __fdivsr : symbol defined more than once
error L2025: __fsubsr : symbol defined more than once
error L2025: __aFfadds : symbol defined more than once
error L2025: __aFfdivs : symbol defined more than once
error L2025: __aFfsubs : symbol defined more than once
error L2025: __aFfmuls : symbol defined more than once
error L2025: __aFfstsp : symbol defined more than once
error L2025: __aFfdivsr : symbol defined more than once
error L2025: __aFfsubsr : symbol defined more than once
error L2025: __fabs : symbol defined more than once
error L2025: __fxch : symbol defined more than once
error L2025: __fldt : symbol defined more than once
error L2025: __fldz : symbol defined more than once
error L2025: __ftst : symbol defined more than once
error L2025: __fsttp : symbol defined more than once
error L2025: __aFfabs : symbol defined more than once
error L2025: __aFfxch : symbol defined more than once
error L2025: __aFfldt : symbol defined more than once
error L2025: __aFfldz : symbol defined more than once
error L2025: __aFftst : symbol defined more than once
error L2025: __aFfsttp : symbol defined more than once
CAUSE
Both the Basic and FORTRAN library modules define the same symbols.
Compiling with the /NOE option does not address this error.
RESOLUTION
Linker error L2025 indicates that code defines a symbol more than once. The
problem occurs only when the code that resolves the symbols is
significantly different. Because only one linker error occurs when the
Basic code is compiled with the /o option switch and linked with the stand-
alone library, use only the stand-alone libraries in mixed-language
programming situations.
Because the __FF_intrin_err routine in the Basic library appears to
function correctly when a FORTRAN intrinsic function error occurs, ignore
the one L2025 link error. However, floating-point intrinsic function run-
time errors will appear in Basic error code format rather than FORTRAN
error code format. If the /4Yb compiler option or ($DEBUG metacommand) is
used, errors will not trace back to the source line on which the problem
occurred.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB91736 |
---|
|