Microsoft KB Archive/33998

= L2025 Error: &quot;Symbol Defined More than Once&quot; =

Article ID: 33998

Article Last Modified on 12/1/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 4.0
 * Microsoft FORTRAN Compiler 4.01
 * Microsoft FORTRAN Compiler 4.1
 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 4.1
 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1

-



This article was previously published under Q33998



SUMMARY
When a FORTRAN program generates the link error L2025: &quot;symbol defined more than once&quot; occurring on the symbol _main, it usually means that more than one of the object modules being linked appeared to the linker as a main program.

Make sure all the subprograms in all object modules, other than the main, have the FUNCTION or SUBROUTINE statement.

Additional query words: kbinf 4.10 5.00 5.10 nofps

Keywords: KB33998

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.