Specifications
Linker Tools Messages Page 22 of 32
the linker before library2. For example, library1 might contain an updated version of a function in
library2. If you specify library2 first, the linker will link in the old version rather than the newer
version from library1.
Linker Tools Warning LNK4059
resourcefile already specified; additional resource file ignored
Only one resource file is allowed. The first .RES file specified in the command was used.
Linker Tools Warning LNK4060
stub file missing full MS-DOS header; rebuild stub with /KNOWEAS 16-bit LINK option
The MS-DOS application specified with the /STUB option does not have a full 40-byte header. The
stub program may not run as expected. To rebuild the 16-bit stub with a full 40-byte header, use the
undocumented /KNOWEAS option with the 16-bit LINK version 5.5x or higher.
Linker Tools Warning LNK4061
/NOSTUB ignored because no DOS stub is present
EDITBIN could not remove the stub file because it could not find one in your executable file.
Linker Tools Warning LNK4062
"option" not compatible with "platform" target machine; option ignored
The given option is not supported for the target platform of this build. LINK ignored the option and
continued the build.
Linker Tools Warning LNK4064
conflicting subsystem; image may not run
You tried to link in a library whose subsystem differs from your executable’s subsystem value, and
your executable file may not run. For more information on subsystems, see the /SUBSYSTEM linker
option. Note: You will not receive this warning if one subsystem is CONSOLE and the the other’s
subsystem is WINDOWS.
Linker Tools Warning LNK4065
"function" cannot be ordered; ignored
The given function was not compiled as a packaged function. Recompile using /Gy.
Linker Tools Warning LNK4066
DLL contains .sdata section
One or more objects was compiled using /Gt. Objects compiled with /Gt cannot be used to create a
DLL.
Linker Tools Warning LNK4067
ambiguous entry point; selected "entry"
LINK found multiple entry points for the program. It assumed the given entry.
Linker Tools Warning LNK4068
/MACHINE not specified; defaulting to machinetype
LINK did not find a machine specification. It assumed the given machine type. If the default is
incorrect, resulting in fatal error LNK1112, relink using the /MACHINE option.
Linker Tools Warning LNK4069










