KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q114332: BUG: L2029 Error Truncates Debug Information

Article: Q114332
Product(s): Microsoft Programming Utilities
Version(s): MS-DOS:5.5,5.6
Operating System(s): 
Keyword(s): kb16bitonly
Last Modified: 29-OCT-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft LINK for MS-DOS, versions 5.5, 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 query words: 5.50 5.60

======================================================================
Keywords          : kb16bitonly 
Technology        : kbAudDeveloper kbZNotKeyword3 kbLINKSearch kbLINK550DOS kbLINK560DOS
Version           : MS-DOS:5.5,5.6

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.