Microsoft KB Archive/38895

LINK “No Stack Segment” Creating Dynamic-Linked IXSIO.EXE

PSS ID Number: Q38895 Article last modified on 04-20-1993

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

Summary: Creating the IXSIO.EXE dynamically-linked ISAM support file can be done as follows in COBOL Version 3.0: LINK IXSIO.OBJ; However, when attempting to create the IXSIO.EXE dynamic support file in COBOL Version 3.0a, this method will return with many LINKer errors, which are first labeled with the following: LINK : warning L4021: no stack segment

More Information: This subject is covered in the README.DOC file for Version 3.0a (on about line 600) under the “Dynamic linking of System Programs (Chapter 4)” header. The support IXSIO.OBJ file needs to be linked specifying the necessary LIBRARY. The earlier version, Microsoft COBOL Version 3.0, does not require specifying the LIBRARY. There are two ways to specify the necessary LIBRARY in COBOL Version 3.0a. They are as follows: 1. Create the IXSIO.EXE manually and include the necessary LCOBOL.LIB in the LINK step. The LINK command line would look as follows: LINK IXSIO.OBJ,,,LCOBOL.LIB; 2. Statically link the IXSIO.OBJ support file directly into your program after it has been compiled. The command line would look as follows: LINK progname+IXSIO.OBJ;

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.