LINK Help (linker.hlp) (Table of Contents; Topic list)
L2041
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     LINK Error L2041
 
     stack plus data exceed 64K
 
     If the total of near data and requested stack size exceeds 64K,
     the program will not run correctly. LINK checks for this
     condition only when /DOSSEG is enabled, which is the case in the
     library startup module for Microsoft language libraries.
 
     For object modules compiled with the Microsoft C or FORTRAN
     optimizing compilers, recompile with the /Gt command-line option
     to set the data-size threshold to a smaller number.
 
     This is a fatal LINK error.
                                    -♦-