BUG: L2029 Error Truncates Debug Information

Last reviewed: July 22, 1997
Article ID: Q114332
5.50 5.60 MS-DOS kbtool kberrmsg kbbuglist

The information in this article applies to:

  • Microsoft LINK for MS-DOS, versions 5.5 and 5.6

SYMPTOMS

Attempting to debug an application that was built with unresolved externals will fail with varying results.

Codeview will issue the following warning:

   CV0103 Warning : relink 'C:\TEST.EXE' with the current linker

This indicates that the debug information should be packed with the CVPACK utility. Because the linker fails to add unpacked debugging information to the executable, CVPACK will generate the error:

   CVPACK : fatal error CK1013: incompatible version of debugging
   information.


RESOLUTION

You can work around this problem by creating a shell for each function call which is unresolved. A function shell avoids problems that can occur if the function is accidentally called.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft Linker versions 5.5 and 5.6 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Linking an application without the linker switch /ONERROR:NOEXE produces an executable. CVPACK will not have been run because of the fatal L2029 error. Since the executable contains truncated debug information, CVPACK will fail.

Windows applications that contain errors of this nature are invalid. Codeview and the IDE debugger correctly responds by not loading the debuggee.


Additional reference words: 5.50 5.60
KBCategory: kbtool kberrmsg kbbuglist
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 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.