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:

Linker Tools Warning LNK4010
invalid version number "number"; default version assumed
Either the major or the minor number in the specified version argument was not valid. Each part of a version specification must be an integer in the range 1-65535. Options that take a version argument include /SUBSYSTEM and /VERSION.

Linker Tools Warning LNK4011
unknown subsystem "argument"; default assumed
The /SUBSYSTEM option was incorrectly specified. Either no argument was specified or argument did not have the expected syntax. The tool assumed an appropriate default.

Linker Tools Warning LNK4012
invalid value "argument", must be keywords; option ignored
The given argument was not a valid keyword for the option it was specified with. The valid arguments are shown in the given list of keywords.

Linker Tools Warning LNK4013
image size imagesize exceeds specified maximum maxsize
The base address file specified with the /BASE option listed the maximum size of the program as maxsize, but maxsize was less than the resulting image size of the program.

Linker Tools Warning LNK4014
cannot find member object "objectname"
LIB could not find objectname in the library. The /REMOVE and /EXTRACT options require the full name of the member object that is to be deleted or copied to a file. The full name includes the path of the original object file. To see the full names of member objects in a library, use DUMPBIN /ARCHIVEMEMBERS or LIB /LIST.

Linker Tools Warning LNK4015
memorytype commit exceeds reserve; commit size set to size
The value specified for the commit size for the memorytype exceeded the value specified for the reserve size. The tool assumed size as the value of the commit size.

Linker Tools Warning LNK4017
keyword statement not supported for the target platform; ignored
The given module-definition statement is not supported by this version of the linker tools. The tool ignored the statement in the .DEF file.

Linker Tools Warning LNK4018
too many type indexes in PDB "filename", discarding subsequent type information
There are more than 64K type indexes in the program database (PDB). The PDB might contain unneeded type information. Delete the existing PDB and rebuild. If the warning persists, then compile some modules without debugging information.

Linker Tools Warning LNK4019
corrupt string table (table end); new end assumed
The object file is corrupt. The tool attempted to correct the problem. To prevent this warning, rebuild the object file. See Corrupt Object File for more information.

Linker Tools Warning LNK4022
cannot find unique match for symbol "symbol"
LINK or LIB found multiple matches for the given undecorated symbol and it could not resolve the ambiguity. No output file (.EXE, .DLL, .EXP, or .LIB) is produced. This warning is followed by one warning LNK4006 for each duplicate symbol and is finally followed by fatal error LNK1152. To prevent this warning, specify the symbol in its decorated form. Run DUMPBIN on the object to see decorated names.

Linker Tools Warning LNK4023
base address address not a 64K multiple; assumed newaddress
The base address specified with the /BASE option must be a multiple of 64K. The tool assumed a newaddress value for the base address.

Linker Tools Warning LNK4027
CVPACK error
LINK called CVPACK to process the debugging information, but one of the following occurred:

Linker Tools Warning LNK4028
option option is obsolete; ignored
The given option is not supported. LINK ignored the option and continued the build.

Linker Tools Warning LNK4030
invalid file offset number for category; category not dumped
DUMPBIN could not display information for the given category. Probably the file is invalid or corrupt. See Corrupt Object File for more information.

Linker Tools Warning LNK4031
no subsystem specified; CONSOLE assumed
The /SUBSYSTEM option was not specified, and LINK was not able to determine a subsystem from the input files.

Linker Tools Warning LNK4033
converting object format from OMF to COFF
The format of the object file is OMF. This tool requires COFF input. To permanently convert the file, run EDITBIN on the file with no options.

Linker Tools Warning LNK4037
"symbol" does not exist; ignored
The symbol could not be ordered using the /ORDER option because it could not be found in the program. Check the specification of symbol in the ordering file.
Note: LINK cannot order static functions because static function names are not public symbol names. When /ORDER is specified, this linker warning is generated for each symbol, in the order file, that is either static or not found.

Linker Tools Warning LNK4038
displaying raw data in number units per line
The /RAWDATA option was specified without a formatting argument. DUMPBIN assumed a format value of number units per line of the specified or assumed data type, as follows:

Data Type Number
none  16
BYTES  16
SHORTS  8
LONGS  4

Linker Tools Warning LNK4039
section "name" specified with /SECTION option does not exist
DUMPBIN or EDITBIN could not find a section called name in the input file. To see the sections in a file, run DUMPBIN with the /HEADERS option.


Return to Main Linker Error Page