Q45724: Link Error L1005: /PACKCODE: Packing Limit Exceeds 65,536
Article: Q45724
Product(s): See article
Version(s): 3.65
Operating System(s): MS-DOS
Keyword(s): ENDUSER | docerr | mspl13_basic
Last Modified: 21-JUN-1989
The Microsoft Overlay Linker Version 3.65 presents the following error
message when the /PACKCODE: switch is used with a value greater than
65,536 (64K):
Link Fatal Error L1005:
No error message text is supplied, and the error cannot be referenced
in the Microsoft C 5.10 "CodeView and Utilities, Microsoft Editor,
Mixed-Language Programming Guide." The error message should read as
follows:
Link Fatal Error L1005: /PACKCODE: Packing Limit Exceeds 65,536
The error is reported correctly by the Microsoft QuickC Linker Version
4.06 and all 5.0x versions of the Microsoft Segmented-Executable
Linker. It is correctly documented in the Version 2.00 "Microsoft
QuickC Tool Kit," on Page 278, and on Page 373 of the Version 5.00
"Microsoft FORTRAN, Microsoft CodeView and Utilities User's Guide"
manual, as follows:
The value supplied with the /PACKCODE option exceeds the limit of
65,536 bytes.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.