DOCERR: L1008 Error from Incorrect /SEGMENTS Option Syntax

Last reviewed: July 17, 1997
Article ID: Q80130
3.x 4.x 5.0x 5.1x 5.20 5.3x 5.50 5.60 | 5.0x 5.10 5.11 5.13 5.15
MS-DOS                                | OS/2
kbtool kberrmsg kbdocerr

The information in this article applies to:

  • Microsoft LINK for MS-DOS, versions 3.x, 4.x, 5.0x, 5.1x, 5.2, 5.3x, 5.5, and 5.6
  • Microsoft LINK for OS/2, versions 5.0x, 5.1, 5.11, 5.13, and 5.15

SYMPTOMS

An attempt to link an application fails and Microsoft LINK generates the following message:

   LINK : fatal error L1008 : Segment limit set too high.

CAUSE

The LINK command line includes the /SE[GMENTS] option and the :<number> parameter is missing, or white space appears before or after the colon (:) character.

RESOLUTION

Modify the LINK command line to use the correct syntax for the option, as follows:

   /SE[GMENTS]:number

MORE INFORMATION

The following references document the /SEGMENTS option incorrectly:

  • Microsoft FORTRAN "Environment and Tools" manual for version 5.1, page 384.
  • Microsoft FORTRAN version 5.1 for MS-DOS online help.
  • Microsoft Macro Assembler "Programmer's Guide" manual for version 6.0, page 359.
  • Microsoft Macro Assembler version 6.0 for MS-DOS (MASM) online help.
  • Microsoft QuickC for Windows "Toolkit" manual for version 1.0, page 217.
  • Microsoft QuickC version 1.0 for Windows (QC/Win) online help.

Each of these references document the /SEGMENTS option as follows

   /SE[GMENTS][:number]

indicating that the :<number> parameter is optional.


Additional reference words: 3.00 3.01 3.02 3.04 3.05 3.06 3.51 3.55
3.60 3.61 3.64 3.65 3.69 4.06 4.07 4.10 5.01.20 5.01.21 5.02 5.03 5.05
5.10 5.11 5.13 5.15 5.20 5.30 5.31.009 5.50 5.60
KBCategory: kbtool kberrmsg kbdocerr
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.