The information in this article applies to:
SYMPTOMSThe LINK or CVPACK utilities shipped with Visual C++ for Windows and Visual C++ 32-bit Edition may terminate and display this message:
-or-
CAUSE
When source code is compiled using the /Zi option to generate debugging
information, the C/C++ compiler creates a .PDB file. The utilities check to
make sure that the .PDB file found is the one that was used when the object
module(s) was compiled. The error occurs when this version-check
fails.
RESOLUTION
One way to avoid the problem is to specify a unique name for the .PDB file
using the /Fd compiler option. This avoids possible confusion any default
PDB files the utilities might locate on the search path.
The .OBJ file modulename uses the .PDB file pdbfile, but the internal signature in pdbfile does not match the internal signature in modulename. Delete modulename, recompile, and relink. If a makefile is used, check the makefile dependencies.Another solution is to re-build using the /Z7 compiler option. This places all debugging information into the modules themselves. A .PDB file will not be referenced. MORE INFORMATION
For more information on .PDB files, please see the Visual C++ documentation
for the /Zi option of CL, and either /CO or /DEBUG for LINK.
Q109270 PRB: CK1024 Error May Be Caused by Modules in Library Additional query words:
Keywords : kberrmsg LinkIss |
Last Reviewed: October 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |