// **IMPORTANT** -- Notify user ed (marcim) if you alter this file.
// (Examples -- add/delete errors; add/remove comment marks that precede
// errors; change an error number; alter a message; "overload" an error)

// This file is no longer automatically processed by the linker makefile.
// If you change it you should say "nmake errgen OBJDIR=nt" in the
// linker\coff directory and check in the resulting files.

//
// Numbering convention --
//    LNKnnnn for all linker tools (LINK, LIB, DUMPBIN, EDITBIN)
//    LNK1nnn for fatal errors
//    LNK2nnn for nonfatal errors
//    LNK4nnn for warnings
//    LNKn5nn for Mac-specific errors/warnings
//    LNK6nnn for informational msgs used by ilink
//    LNK9nnn for messages

// Strings for warning or error
LNK000:: ERRORSTR:: error
LNK001:: WARNSTR:: warning
LNK002:: NOTESTR:: note
LNK003:: MSGSTR:: msg

// Linker Errors
LNK1000:: INTERNAL_ERR:: unknown error; consult documentation for technical support options
LNK1100:: USAGE::
// LNK1101:: GENERICERROR:: %s
LNK1102:: OUTOFMEMORY:: out of memory
// LNK1103:: FILENOTFOUND:: file "%s" not found
LNK1104:: CANTOPENFILE:: cannot open file "%s"
LNK1105:: CANTCLOSEFILE:: cannot close file "%s"
LNK1106:: CANTSEEKFILE:: invalid file or disk full : cannot seek to 0x%lx
LNK1107:: CANTREADFILE:: invalid or corrupt file : cannot read at 0x%lx
LNK1108:: CANTWRITEFILE:: cannot write file at 0x%lx
LNK1109:: CANTREMOVEFILE:: cannot remove file "%s"
LNK1110:: CANTRENAMEFILE:: cannot rename file "%s"
LNK1111:: BADBASE:: invalid /BASE argument "%s"
LNK1112:: CONFLICTINGMACHINETYPE:: Has a conflicting machine type of "%s"
LNK1113:: UNKNOWNMACHINETYPE:: invalid machine type
// LNK1114:: NODEFFILE:: No def file specified
LNK1115:: NOMACHINESPECIFIED:: Machine switch must be specified
LNK1116:: KEYNOTFOUND:: base key "%s" not found
LNK1117:: SWITCHSYNTAX:: syntax error in option "%s"
LNK1118:: DEFSYNTAX:: syntax error in "%s" statement
LNK1119:: BADORDINAL:: invalid ordinal number "%s"
LNK1120:: UNDEFINEDEXTERNALS:: %d unresolved externals
LNK1121:: DUPLICATEORDINAL:: duplicate ordinal number "%d"
LNK1122:: BADDEFFILEKEYWORD:: invalid keyword "%s"
LNK1123:: CONVERSIONERROR:: failure during conversion to COFF : file invalid or corrupt
// LNK1124:: LIBRARYOUTOFDATE:: LIBRARY out of date
LNK1125:: CONFLICTINGSUBSYSTEM:: Conflicting subsystem
// LNK1126:: UNKNOWNSWITCH1::
LNK1127:: BADLIBRARY:: library is corrupt
// LNK1128:: GPOVERFLOW:: Relocation at 0x%lx has reference to symbol not in .sdata
LNK1129:: BADWEAKEXTERN:: cannot find resolution for weak extern %s
LNK1130:: BASERELOCTIONMISCALC:: Linker miscalc (base relocations off by 0x%lx)
LNK1131:: NOLIBRARYFILE:: no library file specified
LNK1132:: BADSTUBFILE:: invalid format for MS-DOS stub file "%s"
// LNK1133:: MISMATCHINSYMBOLSIZE:: Size mismatch for symbol %s
// LNK1134:: OMFFILE:: %s is an OMF file
// LNK1135:: UNKNOWNSWITCH2:: <NUL>
LNK1136:: BAD_FILE:: invalid or corrupt file
LNK1137:: BADSECTIONSWITCH:: invalid argument specified with /SECTION
LNK1138:: CORRUPTOBJECT:: corrupt debugging information in object file "%s"
// LNK1139:: BADCOFF_LINENUM:: corrupt debugging information in section 0x%x
LNK1140:: PDBLIMIT:: a program database does not have the capacity for this many modules, relink "-pdb:none"
LNK1141:: DEFLIB_FAILED:: failure during build of exports file
// LNK1142:: DISASMFAILURE:: disassembler failure
LNK1143:: BADCOFF_COMDATNOSYM:: invalid or corrupt file : no symbol for comdat section 0x%x
LNK1144:: CANT_OPEN_REPRO:: error with LINK_REPRO var; cannot open "%s"
LNK1145:: CIRCULAR_MERGE:: -merge created circular link for section "%s"
LNK1146:: MISSING_SWITCH_VALUE:: no argument specified with option "/%s"
LNK1147:: BAD_NUMBER:: invalid number specified with option "/%s"
LNK1148:: COPY_TEMPFILE:: failure during conversion to COFF : cannot copy temp file "%s"
LNK1149:: DUP_OUT_FILE:: output filename matches input filename "%s"
LNK1150:: BIND_ERROR:: /BIND error : %s
LNK1151:: REBASE_ERROR:: /REBASE error : %s
LNK1152:: FAILEDFUZZYMATCH:: cannot resolve one or more undecorated symbols
LNK1153:: VXD_NEEDED:: /VXD command-line option required
LNK1154:: DUPLICATEIMPLIB:: specified import library filename matches exports file "%s"
LNK1155:: SPECIALSYMDEF:: Special symbol "%s" already defined.
LNK1156:: SBSSFOUND:: .sbss sections not supported
// LNK1157:: GPNOTDEFINED:: cannot apply gp relative fixup, gp not defined
LNK1158:: SPAWNFAILED:: failed to spawn a full build
LNK1159:: NOOUTPUTFILE:: no output file specified
LNK1160:: LASTLIBOBJECT:: library with zero objects not allowed
LNK1161:: BADEXPORTSPEC:: invalid export specification
LNK1162:: NOAUXSYMFORCOMDAT:: expected aux symbol for comdat section 0x%x
LNK1163:: INVALIDCOMDATSEL:: invalid selection for comdat section 0x%x
LNK1164:: CONALIGNTOOLARGE:: section 0x%x alignment (%u) greater than /ALIGN value
LNK1165:: FIXUPERRORS:: link failed because of fixup errors
LNK1166:: TEXTPADFAILED:: cannot adjust code @ offset=0x%08x, va=0x%08x
LNK1167:: BADCOFF_NOMACHINE:: invalid or corrupt file; file contains relocs but header has no machine type specified

// PDB Errors
LNK1200:: PDBREADERROR:: error reading program database "%s"
LNK1201:: PDBWRITEERROR:: error writing to program database "%s"
LNK1202:: INVALIDSIGINPDB:: invalid signature in referenced program database "%s"
LNK1203:: INVALIDAGEINPDB:: invalid age in referenced program database "%s"
LNK1204:: TRANSITIVETYPEREF:: module "%s" contains a precompiled header which references another precompiled header, cannot generate program database, recompile all "-Zi"
// LNK1205:: ADJUSTSYNTAX:: Incorrect syntax for <Adjust:> "%s"
LNK1206:: V1PDB:: cannot (yet) overwrite Visual C++ 1.0 program database "%s"
LNK1207:: BADPDBFORMAT:: incompatible PDB format in "%s"; delete and rebuild
LNK1208:: REFDPDBNOTFOUND:: cannot find referenced program database "%s"
LNK1209:: MISMATCHINPDB:: program database "%s" differs from previous link; relink or rebuild
LNK1210:: NOTENOUGHMEMFORILINK:: insufficient memory for incremental links; relink with /incremental:no
LNK1211:: PRECOMPREQUIRED:: "%s" should have contained shared debugging information for a precompiled header; either the object was not linked or it has been overwritten

// Do NOT add new errors here.	Assign numbers less than 1200

// MAC Errors
LNK1550:: MACBADSTARTUPSN:: More than one entrypoint in startup section.
LNK1551:: MACNEARTHUNKOVF:: >32K of near thunks.
LNK1552:: MACSMALLTHUNKOVF:: Small model section %s has function(s) past 64k.
LNK1553:: MACBADPATCHVAL:: Found non-zero value in raw data - expected a zero value.
LNK1554:: MACTHUNKOUTOFRANGE:: Fixup overflow.  Thunk for symbol %s is >32k from a5 and was referenced by a 16-bit fixup.
LNK1555:: MACDATAOUTOFRANGE:: Fixup overflow.  Data symbol %s is >32k from a5 and was referenced by a 16-bit fixup.
LNK1556:: MACTARGOUTOFRANGE:: Fixup overflow.  Target symbol %s is >32k from current location and was referenced by a 16-bit fixup.
LNK1557:: MACPCODETARGOUTOFRANGE:: Pcode fixup overflow.  Target symbol %s is out of range (code section is too large).
LNK1558:: MACPCODESN:: Maximum pcode resource number exceeded by section %s.
LNK1559:: MACPROFOFF:: Maximum offset accepted by profiler exceeded by symbol %s.
LNK1560:: MACPROFSN:: Maximum section number accepted by profiler exceeded by section %s.
LNK1561:: MACNOENTRY:: Entry point must be specified and defined.
LNK1562:: MACBADCODERELOC:: Code fixup found in data section %s.
LNK1563:: MACBADDATARELOC:: Data fixup found in code section %s.
LNK1564:: MACINTERSEGCS:: CSConst fixup not in same section as symbol %s.
LNK1565:: MACDIFFSNDIFF:: DIFF fixup pair in section %s specifies different section numbers.
LNK1566:: MACDIFF8OUTOFRANGE:: DIFF fixup pair overflow.  Target symbol is >256 bytes from previous symbol.
LNK1567:: MACDIFF16OUTOFRANGE:: DIFF fixup pair overflow.  Target symbol is >32k from previous symbol.
LNK1568:: MACBADFILE:: Bad file - %s (probably empty).
LNK1569:: MACNOFUNCTIONSET:: EXPORTS keyword doesn't have function set ID.
LNK1570:: MACSTARTUPSN:: Cannot renumber startup section %s.  Startup section must be CODE1.
LNK1571:: MACCODE1:: Cannot assign resource number 1 to CODE section %s.  CODE1 is reserved for the startup section.
LNK1572:: MACCODE0:: Cannot assign resource number 0 to CODE section %s.  CODE0 is reserved for the jump table.
LNK1573:: BADMACDLLFLAG:: %s is not a valid FLAGS keyword.
LNK1574:: MACBADSACDREF:: Illegal A5 reference to symbol "%s" from standalone code
LNK1575:: MACDATAFUNC:: Attempt to call data symbol "%s" as a function
LNK1576:: MACDLLOBJECT:: Object files should not be specified when building a Mac import library.
LNK1577:: MACDLLID:: No ASLM library ID specified.
LNK1578:: MACMULTDEFFS:: function set "%s" multiply defined.
LNK1579:: MACNATIVEOPTREF:: Target pcode symbol "%s" must be <64k into code section when -opt:ref is used.
LNK1580:: MACDLLFUNCSETID:: no ASLM function set ID specified
LNK1581:: MACBADPCODEEP:: corrupted object or old compiler (bad Pcode entry point)
LNK1582:: MACBADSTARTUPSEG:: run-time fixups in startup segment
LNK1583:: MACCSNCODELIMIT:: exceeded code section number limit
LNK1584:: MACODDADDRFIXUP:: Run-time fixup on odd address
LNK1585:: MACBADCSECTBLFIXUP:: CSECTABLE fixup must be to external symbol in code
LNK1586:: MACBADDUPCONFIXUP:: DUPCON fixup must be to external symbol in code
LNK1587:: MACMULTSYMINCON:: Multiple symbols in same con refd by dupcon fixup
LNK1588:: MACBADCTOABSC32FIXUP:: Illegal CTOABSC32 reloc in dupcon
LNK1589:: MACDUPRSRCNUMS:: Duplicate resource numbers specified
LNK1590:: MACBADA5REF:: Illegal A5 ref in sacode
LNK1591:: MACRSRCREN:: Renaming of resource type only allowed for code sections

// Linker Non-fatal Errors
LNK2001:: UNDEFINED:: unresolved external symbol "%s"
LNK2002:: UNKNOWNFIXUP:: invalid fixup found, type 0x%hx, target "%s"; fixup ignored
LNK2003:: GPFIXUPNOTSDATA:: gp relative fixup to symbol not in .sdata "%s"; fixup ignored
LNK2004:: GPFIXUPTOOFAR:: gp relative fixup overflow; .sdata section is too large; fixup ignored

// Linker Warnings
// LNK4000:: INTERNAL_WARNING:: unknown warning; consult documentation for technical support options
LNK4001:: NOOBJECTFILES:: no object files specified; libraries used
LNK4002:: FUZZYMATCHINFO:: %s defined in %s
LNK4003:: NOLINKERMEMBER:: invalid library format; library ignored
// LNK4004:: UNALIGNEDFIXUP:: Bad object - fixup not aligned
LNK4005:: NOMODULESEXTRACTED:: no objects used from library %s
LNK4006:: MULTIPLYDEFINED:: %s already defined in %s; second definition ignored
LNK4007:: TOFAR:: Bad object - fixup to far
// LNK4008:: UNKNOWNFIXUP:: invalid fixup found, type 0x%hx, target "%s"; fixup ignored
LNK4009:: UNMATCHEDPAIR:: Bad object - unmatched PAIR relocation - ignored
LNK4010:: INVALIDVERSIONSTAMP:: invalid version number %s; default version assumed
LNK4011:: UNKNOWNSUBSYSTEM:: unknown subsystem %s; default assumed
LNK4012:: UNKNOWNRESPONSE:: Found "%s", expected %s
LNK4013:: IMAGELARGERTHANKEY:: image size 0x%lx exceeds specified maximum 0x%lx
LNK4014:: MEMBERNOTFOUND:: cannot find member object %s
LNK4015:: BADCOMMITSIZE:: %s commit exceeds reserve; commit size set to %0xlx
//LNK4016:: UNDEFINED:: unresolved external symbol "%s"
LNK4017:: IGNOREKEYWORD:: %s statement not supported; ignored
LNK4018:: PDBOUTOFTIS:: number of type indecies exceeds 64K in program database "%s", subsequent type information will be discarded
LNK4019:: NOSTRINGTABLEEND:: corrupt string table (table end); new end assumed
// LNK4020:: OVERLAPCODE:: Based data overlaps code. Base code @ 0x%lx
// LNK4021:: OVERLAPDATA:: Based code overlaps data. Base data @ 0x%lx
LNK4022:: MULTIPLEFUZZYMATCH:: cannot find unique match for symbol "%s"
LNK4023:: BASEADJUSTED:: base address %lx not a 64K multiple; assumed %lx
// LNK4024:: PDBMODLIMIT:: the program database does not have the capacity for this many modules, debugging information for module "%s" and subsequent modules will be discarded
LNK4025:: NODEFLIBDIRECTIVE:: nodefaultlib switch in directive section in %s
// LNK4026:: OUTOFDATELIBRARY:: LIBRARY out of date - built with old librarian
LNK4027:: CVPACKERROR:: CVPACK error
LNK4028:: OBSOLETESWITCH:: Obsolete switch -%s ignored
// LNK4029:: BAD_OBJ_COMDAT_RELOC:: invalid fixup found in comdat "%s"; fixup failed
LNK4030:: INVALIDFILEOFFSET:: invalid file offset 0x%lx for %s; category not dumped
LNK4031:: SUBSYSTEM_AMBIGUOUS:: no subsystem specified; CONSOLE assumed
// LNK4032:: TYPE_MISMATCH:: "%s" has a conflicting type in %s
LNK4033:: CONVERT_OMF:: converting object format from OMF to COFF
// LNK4034:: DEFAULTOUTPUTFILE:: Using default output filename %s
// LNK4035:: NOEXPORTSSPECIFIED:: No EXPORTS specified in DEF file or OBJECT files
// LNK4036:: ORDER_WRONG_SECTION:: ordered function "%s" not found in code section; ignored
LNK4037:: COMDATDOESNOTEXIST:: "%s" does not exist; ignored
LNK4038:: DEFAULTUNITSPERLINE:: displaying raw data in %u units per line
LNK4039:: SECTIONNOTFOUND:: section "%s" does not exist
LNK4040:: BADCOFF_STRINGTABLE:: corrupt string table (size); string table ignored
LNK4041:: EDIT_NOOPT:: no edit options specified
LNK4042:: DUPLICATE_OBJECT:: object specified more than once; extras ignored
LNK4043:: BAD_ALIGN:: invalid -align value %li. (must be power of 2.)
LNK4044:: WARN_UNKNOWN_SWITCH:: unrecognized option "%s"; ignored
LNK4045:: WARN_REPRO_DIR:: creating LINK_REPRO test case in dir "%s"
LNK4046:: IGNORE_REPRO_DIR:: LINK_REPRO is set to current directory; ignored
LNK4047:: EDIT_LIB_IGNORED:: cannot edit library file "%s"; ignored
LNK4048:: EDIT_INVALIDFILE_IGNORED:: cannot edit invalid file "%s"; ignored
LNK4049:: SELF_IMPORT:: exported symbol "%s" also imported
// LNK4050:: GENERICWARNING:: %s
LNK4051:: EXTRA_EXPORT_DELIM:: extra delimiter in /EXPORT specification
LNK4052:: DEF_IGNORED:: using .EXP file; ignoring .DEF file "%s"
// LNK4053:: IMPORTS_IGNORED:: IMPORTS statement not supported; ignored
// LNK4054:: OLD_COFF_LINENUMS:: obsolete object file format (absolute COFF linenumbers)
LNK4055:: UNKNOWN_SEG12_FIXUP:: invalid fixup found, address %08lx; fixup ignored
LNK4056:: EXTRA_SWITCH_VALUE:: extra arguments ignored for option "/%s"
LNK4057:: BAD_LIBORDER:: "%s" should precede "%s" in the link command line
LNK4058:: NO_CHECKSUM:: checksum set to 0 (calculation not supported on this OS)
LNK4059:: MULTIPLE_RSRC:: %s already specified; additional resource file ignored
LNK4060:: PARTIAL_DOS_HDR:: stub file missing full MS-DOS header; rebuild stub with /KNOWEAS 16-bit LINK option
LNK4061:: NOSTUB_IGNORED:: /NOSTUB ignored because no DOS stub is present
LNK4062:: SWITCH_INCOMPATIBLE_WITH_MACHINE:: "%s" switch not compatible with "%s" target machine (switch ignored)
LNK4063:: INVALID_SWITCH_SPEC:: invalid option specification "/%s"; ignored
// LNK4064:: OBSOLETEKEYWORD:: %s statement obsolete, ignored
LNK4065:: ORDERNOTCOMDAT:: "%s" cannot be ordered; ignored
LNK4066:: DLLHASSDATA:: DLL contains .sdata section
LNK4067:: ENTRY_AMBIGUOUS:: ambiguous entry point; selected "%s"
LNK4068:: HOSTDEFAULT:: -machine not specified.  Defaulting to %s
LNK4069:: UNABLETOCHECKSUM:: Unable to create map and/or checksum image.  Checksum set to 0
LNK4070:: OUTDRCTVDIFF:: /OUT:%s directive differs from output filename "%s"; ignoring directive

LNK4075:: SWITCH_IGNORED:: ignoring /%s due to /%s specification
LNK4076:: INVALID_DBFILE:: invalid linker database "%s"; linking non-incrementally
LNK4077:: EXPORTS_IGNORED:: exports file "%s" used; ignoring other export specifications
LNK4078:: DIFSECATTRIB:: multiple "%s" sections found with different attributes (%08lX)
LNK4079:: INVALID_FILE_ATTRIB:: no write permission for linker database "%s"; linking non-incrementally
LNK4080:: NO_NB10:: /%s specification not CV; old debug format used
LNK4081:: LOWSPACE:: insufficient disk space; linking non-incrementally

// Do NOT add new warnings here.  Assign numbers less than 4075

// MAC Warnings
LNK4550:: MACIGNOREMAPPED:: "MAPPED" option not supported - ignored
LNK4551:: MACCOMMON:: %s
LNK4552:: MACINCONSISTENTCSECTAB:: inconsistent swapper prolog/epilog being used, assume large model
LNK4553:: MACBADTHUNKVAL:: Non-zero offset to thunk "%s" at fixup location
// LNK4554:: MACGENERICWARN:: File %s %s
LNK4555:: MACPOSDATAREF:: Possible reference to non-application memory when referencing target symbol "%s"
LNK4556:: MACNOEXPORTS:: function set "%s" contains no functions.
LNK4557:: MACUSINGNATIVE:: Target pcode symbol "%s" is >64k into section "%s" so the native entry point will be used.

// Do NOT add new warnings here.  Assign numbers less than 4550

// Informational messages
LNK6001:: LOWSPACERELINK:: insufficient disk space; performing full link
LNK6002:: CORRUPTILK:: invalid .ILK file found; performing full link
LNK6003:: LNKOPTIONSCHNG:: LINK options changed; performing full link
LNK6004:: FILECHANGED:: %s not found or not built by the last incremental link; performing full link
LNK6005:: EXPORTSCHANGED:: exports changed; performing full link
LNK6006:: PDBMISSING:: program database %s missing; performing full link
LNK6007:: TOOMANYCHANGES:: too many changes; performing full link
LNK6008:: OBJADDED:: object file added; performing full link
LNK6009:: OBJREMOVED:: object file removed; performing full link
LNK6010:: LIBCHANGED:: library changed; performing full link
LNK6011:: INTLIMITEXCEEDED:: internal limit exceeded; performing full link
LNK6012:: PRECOMPREQ:: precompiled types found; performing full link
LNK6013:: PADEXHAUSTED:: padding exhausted: performing full link
LNK6014:: SYMREFSETCHNG:: symbol reference set changed; performing full link
LNK6015:: BSSCHNG:: bss change; performing full link
LNK6016:: ABSSYMCHNG:: absolute symbol changed; performing full link
LNK6017:: ILINKSUCCESS:: incremental link succeeded
LNK6018:: ILINKNOCHNG:: incremental link succeeded: no changes found

// Linker messages to user
LNK9001:: BLDIMPLIB::   Creating library %s and object %s from %s definition file.
LNK9002:: SRCHLIBS::Searching Libraries
LNK9003:: DONESRCHLIBS::Done Searching Libraries
LNK9004:: GENEXPFILE::Start Generating .exp file
LNK9005:: GENEXPFILECMD::Command:
LNK9006:: ENDGENEXPFILE::End Generating .exp file
LNK9007:: STRTPASS1::Start Pass1
LNK9008:: ENDPASS1::End Pass1
LNK9009:: LIBSRCH::Searching %s:
LNK9010:: FNDSYM::Found %s
LNK9011:: SYMREF::(referenced in %s)
LNK9012:: LOADOBJ::     *** loaded %s
LNK9013:: STRTPASS2::Start Pass2
LNK9014:: ENDPASS2::End Pass2
LNK9015:: NODEFLIB::Processed -nodefaultlib (suppressing all default libs)
LNK9016:: NODEFLIBLIB::Processed -nodefaultlib:%s
LNK9017:: DEFLIB::Processed -defaultlib:%s
LNK9018:: TCESYM::Discarded %s
LNK9019:: TCESYMINFO::Discarded "%s" from %s
LNK9020:: REPLOBJ::Replacing %s

// Special last message marker
LNK9999:: LAST_MSG::
