L2025 Error: "Symbol Defined More than Once"

ID: Q33998


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


SUMMARY

When a FORTRAN program generates the link error L2025: "symbol defined more than once" 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 :
Version : :4.0,4.01,4.1,5.0,5.1
Platform :
Issue type :


Last Reviewed: November 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.