The information in this article applies to:
SYMPTOMSDuring the process of linking an application, Microsoft LINK generates the following message: In most cases, LINK ignores the initial frame and performs a far address calculation. CAUSEThis error can occur incorrectly when the incorrect linker is used. For example, the error occurs if an assembly module is assembled with USE32 segments in Microsoft Macro Assembler (MASM) and LINK version 5.x attempts to create the .EXE file. The same error occurs if MASM version 6.0, 6.0a, 6.0b, or 6.1 creates code for the FLAT memory model. RESOLUTIONThe resolution depends on the target operating system. When Windows NT is the target, use the CVTOMF utility provided with the Windows NT Software Development Kit (SDK) to convert the generated object file from OMF format to COFF format. Then use the LINK utility provided with the Windows NT SDK to build the application. If OS/2 version 2.0 is the target, use LINK386 from the IBM OS/2 2.0 development kit. MORE INFORMATIONThe following code sample demonstrates both the error message discussed above and the methods to avoid it. Assemble the code below with MASM version 6.0, 6.0a, 6.0b, or 6.1. To reproduce the error message above, link with a segmented-executable linker, such as LINK version 5.x. To create a correct executable file, link the code with LINK386 from IBM. Sample Code
Additional query words: 5.01.20 5.01.21 5.02 5.03 5.05 5.10 5.11 5.13 5.15 5.20 5.30 5.31.009 5.50 6.00 6.00a 6.00b 6.10
Keywords : kb16bitonly |
Last Reviewed: October 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |