PRB: Link Error L1073: "File-segment Limit Exceeded"

Last reviewed: July 17, 1997
Article ID: Q34142
3.x 5.01.20 5.01.21 5.03 5.05 5.10 5.13 5.15 5.30 5.31.009 5.50 5.60 MS-DOS kbtool kberrmsg kbprb

The information in this article applies to:

  • Microsoft LINK for MS-DOS, versions 3.x, 5.01.20, 5.01.21, 5.03, 5.05, 5.1, 5.13, 5.15, 5.3, 5.31.009, 5.50, and 5.60

SYMPTOMS

An attempt to link an application with Microsoft LINK fails and the linker displays the following message on the screen:

      L1073: File-segment Limit Exceeded

CAUSE

The application contains more than the 255 segment limit imposed by the Microsoft Windows and OS/2 protected mode operating systems for each application and dynamic-link library (DLL).

RESOLUTION

Reduce the number of segments in the application. With Microsoft language compilers, modify the compiler command line to specify the /PACKCODE option, the /PACKDATA option, or both to place more information into each segment.

MORE INFORMATION

The linker creates a file segment for each group definition, non-packed logical segment, and set of packed segments.


Additional reference words: 3.64 3.65 3.69 4.06 4.07 4.10 5.10 5.20
5.30 5.31.009 5.50 5.60
KBCategory: kbtool kberrmsg kbprb
KBSubcategory: LinkIss
Keywords : kb16bitonly


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.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.