[Issue 21587] Please capture and output failed/error message from "link" step

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 29 17:08:24 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21587

--- Comment #2 from apham <apz28 at hotmail.com> ---
Below is sample build output in command line but not found when build in
visuald
The problem is that build with "release" work but fails with "debug"

C:\Development\Projects\DLang\std\xml\xml_new\xml_new\Bug>dmd.exe -debug -w -wi
-m32mscoff -g -gf -gx -dip25 -dip1000 -preview=fixAliasThis -unittest -X
-Xf"xml_new.json" -version=noxmlTraceProfile -version=noxmlTraceParser
-version=noxmlTraceXPathParser -od"Debug" main.d 
main.obj : error LNK2019: unresolved external symbol
__D9main_test11TestOptions6__ctorMFNcAAyaZSQBoQBh referenced in function
__Dmain
main.obj : error LNK2019: unresolved external symbol
__D9main_test11TestExecute6__ctorMFNcPFAyaZC6ObjectQoPFQmZAxaZSQCiQCb
referenced in function __Dmain
main.obj : error LNK2019: unresolved external symbol
__D9main_test11TestExecute7executeMFSQBi11TestOptionsZSQCa10TestResult
referenced in function __Dmain
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9exception28XmlInvalidOperationException7__ClassZ referenced in
function
__D4pham3xml3dom__T7XmlNodeTAyaZQn14checkAttributeMFNfCQCaQByQBx__TQBwTQBrZQCeQByZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage18eInvalidOpDelegateyAa referenced in function
__D4pham3xml3dom__T7XmlNodeTAyaZQn14checkAttributeMFNfCQCaQByQBx__TQBwTQBrZQCeQByZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3utl9utlobject14shortClassNameFNaNbNfC6ObjectZAya referenced in
function
__D4pham3xml3dom__T7XmlNodeTAyaZQn14checkAttributeMFNfCQCaQByQBx__TQBwTQBrZQCeQByZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage21eNotAllowAppendDifDocyAa referenced in
function
__D4pham3xml3dom__T7XmlNodeTAyaZQn14checkAttributeMFNfCQCaQByQBx__TQBwTQBrZQCeQByZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage20eAttributeDuplicatedyAa referenced in
function
__D4pham3xml3dom__T7XmlNodeTAyaZQn14checkAttributeMFNfCQCaQByQBx__TQBwTQBrZQCeQByZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage14eNotAllowChildyAa referenced in function
__D4pham3xml3dom__T7XmlNodeTAyaZQn10checkChildMFNfCQBwQBuQBt__TQBsTQBnZQCaQBuZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage19eNotAllowAppendSelfyAa referenced in function
__D4pham3xml3dom__T7XmlNodeTAyaZQn10checkChildMFNfCQBwQBuQBt__TQBsTQBnZQCaQBuZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage25eInvalidOpFromWrongParentyAa referenced in
function
__D4pham3xml3dom__T7XmlNodeTAyaZQn11checkParentMFNaNfCQBzQBxQBw__TQBvTQBqZQCdbQByZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml4util7isSpaceFNaNbNfwZb referenced in function
__D4pham3xml6writer__T9XmlWriterTAyaZQp10putCommentMFNfMAxaZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml4util12isNameStartCFNaNbNfwZb referenced in function
__D4pham3xml4util__T6isNameTAyaVE3std8typecons__T4FlagVQBba10_416c6c6f77456d707479ZQBii1ZQCrFNaNbNfAxaZb
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml4util9isNameInCFNaNbNfwZb referenced in function
__D4pham3xml4util__T6isNameTAyaVE3std8typecons__T4FlagVQBba10_416c6c6f77456d707479ZQBii1ZQCrFNaNbNfAxaZb
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml4util6isCharFNaNbNfwZb referenced in function
__D4pham3xml4util__T13convertToCharTAyaZQuFNaNbNfAxaJwZb
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9exception18XmlParserException7__ClassZ referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp16readElementENameMFNfJSQCiQCgQCf__T12ParseContextTQCfZQtZAxa
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage10eBlankNameyAa referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp16readElementENameMFNfJSQCiQCgQCf__T12ParseContextTQCfZQtZAxa
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9xmlobject6XmlLoc10sourceLineMxFNbNdNfZk referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp16readElementENameMFNfJSQCiQCgQCf__T12ParseContextTQCfZQtZAxa
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9xmlobject6XmlLoc12sourceColumnMxFNbNdNfZk referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp16readElementENameMFNfJSQCiQCgQCf__T12ParseContextTQCfZQtZAxa
main.obj : error LNK2019: unresolved external symbol
__D4pham3utl4utf827unicodeTrailingBytesForUTF8yAh referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp6decodeMFNaNfZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3utl4utf822unicodeOffsetsFromUTF8yAk referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp6decodeMFNaNfZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9exception19XmlConvertException7__ClassZ referenced in function
__D4pham3xml6reader__T9XmlReaderTAyaZQp6decodeMFNfZ9errorUtf8MFNaNfEQCnQClQCk16UnicodeErrorKindkZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage23eInvalidUtf8SequenceEosyAa referenced in
function
__D4pham3xml6reader__T9XmlReaderTAyaZQp6decodeMFNfZ9errorUtf8MFNaNfEQCnQClQCk16UnicodeErrorKindkZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage24eInvalidUtf8SequenceCodeyAa referenced in
function
__D4pham3xml6reader__T9XmlReaderTAyaZQp6decodeMFNfZ9errorUtf8MFNaNfEQCnQClQCk16UnicodeErrorKindkZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9exception18XmlParserException8__mixin16__ctorMFNfSQCiQCg9xmlobject6XmlLocAyaC9ExceptionZCQDvQDtQDsQDl
referenced in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe5parseMFNfZCQDmQDk3dom__T11XmlDocumentTQDjZQs
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage4eEosyAa referenced in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe5parseMFNfZCQDmQDk3dom__T11XmlDocumentTQDjZQs
main.obj : error LNK2001: unresolved external symbol
__D4pham3xml9exception12XmlException7__ClassZ
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage21eExpectedStringButEosyAa referenced in
function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe10parseCDataMFNfKSQDsQDq6reader__T12ParseContextTQDtZQtZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage26eExpectedStringButNotFoundyAa referenced in
function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe10parseCDataMFNfKSQDsQDq6reader__T12ParseContextTQDtZQtZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage12eInvalidNameyAa referenced in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe25parseAttributeDeclarationMFNfCQEgQEe3dom__T14XmlDeclarationTQEgZQvKSQFsQFq6reader__T12ParseContextTQFtZQtZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage30eExpectedOneOfStringsButStringyAa referenced
in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe34parseDocumentTypeAttributeListItemMFNfCQEpQEn3dom__T28XmlDocumentTypeAttributeListTQFdZQBjZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage18eMultipleTextFoundyAa referenced in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe30parseDocumentTypeElementChoiceMFNfCQElQEj3dom__T22XmlDocumentTypeElementTQEtZQBdCQGfQGdQBu__T26XmlDocumentTypeElementItemTQGqZQBhZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage24eExpectedStringButStringyAa referenced in
function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe11parseEntityMFNfKSQDtQDr6reader__T12ParseContextTQDuZQtZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage16eExpectedEndNameyAa referenced in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe16parseElementXEndMFNfAxaZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage19eExpectedCharButEosyAa referenced in function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe__T10expectCharVii0ZQrMFNfwZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage20eExpectedCharButCharyAa referenced in
function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe__T10expectCharVii0ZQrMFNfwZv
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9xmlobject6XmlLoc11isSpecifiedMxFNbNfZb referenced in function
__D4pham3xml9exception18XmlParserException8__mixin1__T6__ctorTwTwZQmMFNeSQCsQCq9xmlobject6XmlLocAxawwZCQDwQDuQDtQDm
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml9xmlobject6XmlLoc11lineMessageMxFNbNfZAya referenced in function
__D4pham3xml9exception18XmlParserException8__mixin1__T6__ctorTwTwZQmMFNeSQCsQCq9xmlobject6XmlLocAxawwZCQDwQDuQDtQDm
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage25eExpectedOneOfCharsButEosyAa referenced in
function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe__T10expectCharVii0ZQrMFNfQCwZw
main.obj : error LNK2019: unresolved external symbol
__D4pham3xml7message10XmlMessage26eExpectedOneOfCharsButCharyAa referenced in
function
__D4pham3xml6parser__T9XmlParserTAyaVE3std8typecons__T4FlagVQBba3_534158ZQti0ZQCe__T10expectCharVii0ZQrMFNfQCwZw
main.obj : error LNK2001: unresolved external symbol
__D4pham3xml3dom12__ModuleInfoZ
main.obj : error LNK2001: unresolved external symbol
__D4pham3xml5xpath12__ModuleInfoZ
main.obj : error LNK2001: unresolved external symbol
__D9main_test12__ModuleInfoZ
main.exe : fatal error LNK1120: 43 unresolved externals
Error: linker exited with status 1120

--


More information about the Digitalmars-d-bugs mailing list