Specifications

Linker Tools Messages Page 12 of 32
for an object file, recompile to recreate the PDB.
Linker Tools Error LNK1210
insufficient memory for incremental link; relink with /INCREMENTAL:NO
There was not enough virtual memory available for LINK to create the incremental status (.ILK) file.
Linker Tools Error LNK1211
precompiled type information not found; "filename" not linked or overwritten
The given object file, compiled with /Yc, either was not specified in the LINK command or was
overwritten.
Linker Tools Error LNK1212
error opening program database; file is in use
The PDB is already in use by another application.
Linker Tools Error LNK1213
unexpected import object encountered
The import library has become corrupted. Rebuild the library.
Linker Tools Error LNK1221
a subsystem can’t be inferred and must be defined
The linker does not have enough information to infer which subsystem you will target your
application. To fix this error, use the /SUBSYSTEM option.
Linker Tools Error LNK1561
entry point must be defined
The symbol specified by the /ENTRY option is not defined.
Linker Tools Error LNK1581
corrupted object or old compiler (bad Pcode entry point)
Your object file contained a bad entry point. The object file is probably corrupt. See Corrupt Object
File for more information.
Return to Main Linker Error Page
Linker Errors LNK2001 to LNK2014
Linker Tools Error LNK2001
unresolved external symbol "symbol"
Code will generate this error message if it references something (like a function, variable, or label) that
the linker cannot find in all the libraries and object files it searches. In general, there are two reasons
this error occurs: what the code asks for doesn’t exist (the symbol is spelled incorrectly or uses the
wrong case, for example), or the code asks for the wrong thing (you are using mixed versions of the
libraries; some from one version of the product, others from another version).
Numerous kinds of coding and build errors can cause LNK2001. Several specific causes are listed
below, and some have more detailed explanations.
Coding Problems: