Microsoft KB Archive/34142

From BetaArchive Wiki
Knowledge Base


Article ID: 34142

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft LINK for MS-DOS 3.x
  • Microsoft LINK for MS-DOS 5.01.20
  • Microsoft LINK for MS-DOS 5.01.21
  • Microsoft LINK for MS-DOS 5.03
  • Microsoft LINK for MS-DOS 5.05
  • Microsoft LINK for MS-DOS 5.1
  • Microsoft LINK for MS-DOS 5.13
  • Microsoft LINK for MS-DOS 5.15
  • Microsoft LINK for MS-DOS 5.3
  • Microsoft LINK for MS-DOS 5.31.009



This article was previously published under Q34142

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 query 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

Keywords: kb16bitonly KB34142