Specifications

796 LINK Error Messages
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 796 of 112 Printed: 10/09/00 02:49 PM
L4038 program has no starting address
The segmented-executable application had no starting address. A missing starting address
will usually cause the program to fail.
High-level languages automatically specify a starting address. In a C-language program,
this is provided by the main function.
If you are writing an assembly-language program, specify a starting address with the
END statement.
MS-DOS programs and dynamic-link libraries should never receive this message,
regardless of whether they have starting addresses.
L4040 stack size ignored for /TINY
LINK ignores stack size if the /TINY option is used and if the stack segment has been
defined in front of the code segment.
L4042 cannot open old version
The file specified in the OLD statement in the module-
definition (.DEF) file could not be
opened.
L4043 old version not segmented executable format
The file specified in the OLD statement in the module-definition (.DEF) file was not a
valid segmented-executable file.
L4045 name of output file is filename
LINK used the given filename for the output file.
If the output filename is specified without an extension, LINK assumes the default
extension .EXE. Creating a Quick library, DLL, or .COM file forces LINK to use a
different extension. In the following cases, if either .EXE or no extension is specified,
LINK assumes the appropriate extension:
/TINY option: .COM
/Q option: .QLB
LIBRARY statement: .DLL
L4050 file not suitable for /EXEPACK; relink without
The size of the packed load image plus packing overhead was larger than it would be for
the unpacked load image. There is no advantage to packing this program.
Remove /EXEPACK from the LINK command line. In PWB, clear the Pack EXE File
check box in the Additional Debug/Release Options dialog box under Link Options.
This warning also occurs if the name specified in the LIBRARY statement in the
module-definition (.DEF) file does not match the name specified in the exefile field.