PRB: "Invalid Object Module" Error Usually From Old LINKLast reviewed: July 17, 1997Article ID: Q22331 |
5.10 6.00 6.00a 6.00ax 7.00 | 1.00 1.50
MS-DOS | WINDOWSkbtool kbfasttip kbprb The information in this article applies to:
SYMPTOMSAn attempt to link an application fails and the Microsoft LINK utility generates the following message:
invalid object module CAUSEAn incorrect version of Microsoft LINK is in use. In many systems, the MS-DOS directory is listed near the beginning of the PATH environment variable. MS-DOS includes a version of LINK that is often used instead of the version provided with the C compiler.
RESOLUTIONPerform one of the following two steps to address this problem:
MORE INFORMATIONTo verify that an incorrect linker version is the cause of an "invalid object module" error, perform the following six steps:
If you have an older version of LINK.EXE installed on your system, determine the directory in which it is installed. Most likely, it is in your MS-DOS directory. However, it could be the linker from another Microsoft language product. Because it is not uncommon to have a number of linkers in various directories specified in the PATH, repeat the test above after you make any of the modifications recommended in the RESOLUTION section of this article.
|
Additional reference words: 1.00 1.50 5.10 6.00 6.00a 6.00ax 7.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |