Return Codes For LINK

ID Number: Q35044

3.x

MS-DOS

Summary:

The LINK utility has a few return codes that are not documented. The

following is a list of return codes for the LINK utility:

Return Codes

0 No errors or unresolved reference were encountered.

1 An error occurred that was not covered by the other

codes.

16 A data record was too large to process.

32 No object files were specified in the command line

or response file.

33 The map file could not be created.

66 A COMMON area was declared that is larger than 65535.

96 Too many libraries were specified.

144 An invalid object module was detected.

145 Too many TYPEDEFs were found in the specified object

modules.

146 Too many group, segment, or class names were found

in one object module.

147 Too many segments were found in all the object modules

combined, or too many segments were found in one object

module.

148 Too many overlays were specified.

149 The size of a segment exceeded 65535.

150 Too many groups or GRPDEFs were found in one object module.

151 Too many external symbols were found in one object module.

177 The size of a group exceeded 65535.