L2025 Error: "Symbol Defined More than Once" (33998)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.0
- Microsoft FORTRAN Compiler for MS-DOS 4.01
- Microsoft FORTRAN Compiler for MS-DOS 4.1
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 4.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q33998 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.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | KB33998 |
---|
|