The information in this article applies to:
SYMPTOMSAn attempt to link an application fails and Microsoft LINK generates the following message:
-or-
-or- For FORTRAN PowerStation 32, version 4.0:
CAUSEThe compiler or the linker cannot determine the entry point for the program. RESOLUTION
To address this problem, perform one of the following three steps:
MORE INFORMATIONThe following code example demonstrates this problem. Each line in the example begins in column one. The compiler interprets each line to be a comment and does not issue an error. However, because Microsoft LINK cannot find the END statement, it cannot identify the main program and issues an L2029 error for the unresolved external _main. Compiling this application with the /4Yf option switch corrects this problem. Sample Code
Additional query words: 1.00 4.00 4.10 5.00 5.10 F2830
Keywords : kberrmsg kbLangFortran |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |