BUG: LNK1200 Error Issued Because of Low Disk Space (122262)
The information in this article applies to:
- The Microsoft Linker (LINK.EXE), when used with:
This article was previously published under Q122262 SYMPTOMS
When building a project with debug information under low disk space
conditions (on either the project drive or the TEMP\ directory drive),
the following error may be generated:
LINK : error LNK1200: error reading program database
When linking incrementally, the following warning may precede the
LNK1200 error:
LINK : warning LNK4081: low on disk space;
linking non-incrementally
CAUSE
When LINK fails because of low disk space conditions, corruption of the
.PDB file associated with the target may occur. Because .PDB files are
updated incrementally, subsequent builds that update the .PDB file for the
target will fail and give the LNK1200 error.
RESOLUTION
Having LINK generate a new .PDB file for the target will alleviate the
problem. The resolution has two steps:
- Delete the (corrupt) .PDB file for the target.
- Free up enough disk space, so that there is sufficient room for the
new .PDB file and the updated target.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
MORE INFORMATION
The LNK4081 warning is warning you that there is not enough disk space for
the Linker to update the .ILK file or write out a new one if one doesn't
already exist.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | KB122262 |
---|
|