Specifications

Linker Tools Messages Page 17 of 32
However, if data is referenced in multiple modules, then the TOC space cannot be eliminated to save
space.
Linker Tools Error LNK2014
TLS relative fixup overflow; .tls section ("section") is too large
The section created for thread-local storage (.tls) is too large. TLS data must fit in 32 KB. This data is
created using the __declspec(thread) storage class modifier in the declaration and definition of that
data. To work around the problem:
Reduce the amount of thread-local data in the code.
Use dynamic TLS by calling functions such as TlsAlloc and TlsFree.
Return to Main Linker Error Page
Linker Warnings LNK4001 to LNK4039
Linker Tools Warning LNK4001
no object files specified; libraries used
The command did not specify any object files as input. The tool used objects from the libraries that
were specified as input.
Linker Tools Warning LNK4002
symbol defined in object
The given symbol, displayed in its decorated form, was specified in its undecorated form in object, but
a unique match to a decorated symbol could not be found. This warning is always preceded by
warning LNK4022 and followed by fatal error LNK1152.
Linker Tools Warning LNK4003
invalid library format; library ignored
The file header for the input library was invalid. The tool did not use the library.
Linker Tools Warning LNK4005
no objects used from library library
The library was specified in the command, but no references were resolved from that library.
Linker Tools Warning LNK4006
symbol already defined in object; second definition ignored
The given symbol, displayed in its decorated form, was multiply defined. When this warning is
encountered, symbol will be added twice, but only its first form will be used. Tips:
The given symbol may be a packaged function, created by compiling with /Gy. This symbol was
included in more than one file but was changed between compilations. Recompile all files that
include the symbol.
The given symbol may have been defined differently in two member objects in different libraries.
An absolute may have been defined twice, with a different value in each definition.
If the error message is received when combining libraries, symbol already exists in the library
being added to.
Linker Tools Warning LNK4010