PRB: L4001 Warning May Be Caused by Using Incorrect Linker (74169)
The information in this article applies to:
- Microsoft LINK for MS-DOS
- Microsoft LINK for OS/2
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
- Microsoft Macro Assembler (MASM) 6.1
This article was previously published under Q74169 SYMPTOMS
During the process of linking an application, Microsoft LINK generates the
following message:
warning L4001: frame-relative fix-up,
frame ignored near xxx in segment yyy
In most cases, LINK ignores the initial frame and performs a far address
calculation.
CAUSE
This 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.
RESOLUTION
The 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.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kb16bitonly KB74169 |
---|
|