Microsoft KB Archive/80130

= DOCERR: L1008 Error from Incorrect /SEGMENTS Option Syntax =

Article ID: 80130

Article Last Modified on 10/23/2003

-

APPLIES TO


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

-



This article was previously published under Q80130



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 : 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 &quot;Environment and Tools&quot; manual for version 5.1, page 384.
 * Microsoft FORTRAN version 5.1 for MS-DOS online help.
 * Microsoft Macro Assembler &quot;Programmer's Guide&quot; manual for version 6.0, page 359.
 * Microsoft Macro Assembler version 6.0 for MS-DOS (MASM) online help.
 * Microsoft QuickC for Windows &quot;Toolkit&quot; 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 : parameter is optional.

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

Keywords: kb16bitonly KB80130

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.