Microsoft KB Archive/76077

= PRB: L1006 Error When /STACK Option Contains a Space =

Article ID: 76077

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft LINK for MS-DOS 1.x
 * Microsoft LINK for MS-DOS 2.x
 * 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.2x
 * 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 Q76077



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

LINK : fatal error L1006: ST : stack size exceeds 65535 bytes



CAUSE
The linker command line includes the /ST[ACK] option with a space between the option name and the numeric parameter.



RESOLUTION
To eliminate the error, edit the command line to remove the space.



MORE INFORMATION
This error is caused by a space character before or after the colon in the /STACK linker option. Both of the following command lines cause the L1006 error:

link /ST :4096 test.obj;

link /ST: 4096 test.obj;

Additional query words: 1.08 1.10 2.00 2.01 2.10 2.40 2.41 2.44 2.50 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 KB76077

-

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

© Microsoft Corporation. All rights reserved.