Having issues while compiling OVALDI code

Help
2011-04-11
2013-12-05
  • Danny Haynes

    Danny Haynes - 2011-04-11

    From the oval-developer-list:

    Hi All,
    I am trying to build OVALDI and facing issue with Xerces, here following link errors are coming. Is anyone else encounter same issue? Please help me ASAP.

    1>   Creating library Debug/ovaldiD.lib and object Debug/ovaldiD.exp
    1>VariableValue.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(unsigned short * *)" (__imp_?release@XMLString@xercesc_2_8@@SAXPAPAG@Z)
    1>CollectedObject.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(unsigned short * *)" (__imp_?release@XMLString@xercesc_2_8@@SAXPAPAG@Z) referenced in function "public: void __thiscall CollectedObject::Write(class xercesc_2_8::DOMDocument *,class xercesc_2_8::DOMElement *)" (?Write@CollectedObject@@QAEXPAVDOMDocument@xercesc_2_8@@PAVDOMElement@3@@Z)
    1>Item.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(unsigned short * *)" (__imp_?release@XMLString@xercesc_2_8@@SAXPAPAG@Z)
    1>XmlCommon.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(unsigned short * *)" (__imp_?release@XMLString@xercesc_2_8@@SAXPAPAG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLString::release(unsigned short * *)" (__imp_?release@XMLString@xercesc_2_8@@SAXPAPAG@Z)
    1>StringEntityValue.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>XmlCommon.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>VariableValue.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>CollectedObject.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z) referenced in function "public: void __thiscall CollectedObject::Write(class xercesc_2_8::DOMDocument *,class xercesc_2_8::DOMElement *)" (?Write@CollectedObject@@QAEXPAVDOMDocument@xercesc_2_8@@PAVDOMElement@3@@Z)
    1>Item.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>ItemEntity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>ItemFieldEntityValue.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short * __cdecl xercesc_2_8::XMLString::transcode(char const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPAGQBD@Z)
    1>ProbeFactory.obj : error LNK2019: unresolved external symbol "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr(void)" (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ) referenced in function "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefault(void)" (?getDefault@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ)
    1>Main.obj : error LNK2001: unresolved external symbol "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr(void)" (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr(void)" (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ)
    1>DataCollector.obj : error LNK2001: unresolved external symbol "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr(void)" (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ)
    1>ObjectCollector.obj : error LNK2001: unresolved external symbol "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr(void)" (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::NodeRefList::NodeRefList(class xalanc_1_10::NodeRefList const &,class xercesc_2_8::MemoryManager &)" (__imp_??0NodeRefList@xalanc_1_10@@QAE@ABV01@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function __catch$?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z$0
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::NodeRefList::NodeRefList(class xalanc_1_10::NodeRefListBase const &,class xercesc_2_8::MemoryManager &)" (__imp_??0NodeRefList@xalanc_1_10@@QAE@ABVNodeRefListBase@1@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function __catch$?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z$0
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::XPathEvaluator::XPathEvaluator(class xercesc_2_8::MemoryManager &)" (__imp_??0XPathEvaluator@xalanc_1_10@@QAE@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function __catch$?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z$0
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::XalanDocumentPrefixResolver::XalanDocumentPrefixResolver(class xalanc_1_10::XalanDocument const *,class xalanc_1_10::XalanDOMString const &,class xercesc_2_8::MemoryManager &)" (__imp_??0XalanDocumentPrefixResolver@xalanc_1_10@@QAE@PBVXalanDocument@1@ABVXalanDOMString@1@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function __catch$?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z$0
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual class xalanc_1_10::XalanDocument * __thiscall xalanc_1_10::XalanSourceTreeParserLiaison::parseXMLStream(class xercesc_2_8::InputSource const &,class xalanc_1_10::XalanDOMString const &)" (__imp_?parseXMLStream@XalanSourceTreeParserLiaison@xalanc_1_10@@UAEPAVXalanDocument@2@ABVInputSource@xercesc_2_8@@ABVXalanDOMString@2@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::XalanDOMString::XalanDOMString(class xercesc_2_8::MemoryManager &)" (__imp_??0XalanDOMString@xalanc_1_10@@QAE@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "public: static class xercesc_2_8::MemoryManager & __cdecl xalanc_1_10::XalanMemMgrs::getDummyMemMgr(void)" (?getDummyMemMgr@XalanMemMgrs@xalanc_1_10@@SAAAVMemoryManager@xercesc_2_8@@XZ) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xercesc_2_8::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,class xercesc_2_8::MemoryManager * const)" (__imp_??0LocalFileInputSource@xercesc_2_8@@QAE@QBGQAVMemoryManager@1@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall xercesc_2_8::LocalFileInputSource::LocalFileInputSource(unsigned short const * const,class xercesc_2_8::MemoryManager * const)" (__imp_??0LocalFileInputSource@xercesc_2_8@@QAE@QBGQAVMemoryManager@1@@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::XalanDOMString::XalanDOMString(char const *,class xercesc_2_8::MemoryManager &,unsigned int)" (__imp_??0XalanDOMString@xalanc_1_10@@QAE@PBDAAVMemoryManager@xercesc_2_8@@I@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall xalanc_1_10::XalanSourceTreeParserLiaison::setEntityResolver(class xercesc_2_8::EntityResolver *)" (__imp_?setEntityResolver@XalanSourceTreeParserLiaison@xalanc_1_10@@UAEXPAVEntityResolver@xercesc_2_8@@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(class xalanc_1_10::XalanSourceTreeDOMSupport &,class xercesc_2_8::MemoryManager &)" (__imp_??0XalanSourceTreeParserLiaison@xalanc_1_10@@QAE@AAVXalanSourceTreeDOMSupport@1@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall xalanc_1_10::XalanSourceTreeInit::XalanSourceTreeInit(class xercesc_2_8::MemoryManager &)" (__imp_??0XalanSourceTreeInit@xalanc_1_10@@QAE@AAVMemoryManager@xercesc_2_8@@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xalanc_1_10::XPathEvaluator::initialize(class xercesc_2_8::MemoryManager &)" (__imp_?initialize@XPathEvaluator@xalanc_1_10@@SAXAAVMemoryManager@xercesc_2_8@@@Z) referenced in function "private: class Item * __thiscall XmlFileContentProbe::EvaluateXpath(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?EvaluateXpath@XmlFileContentProbe@@AAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
    1>XmlFileContentProbe.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl xalanc_1_10::OutputString(class std::basic_ostream<char,struct std::char_traits<char> > &,unsigned short const *,class xercesc_2_8::MemoryManager &)" (__imp_?OutputString@xalanc_1_10@@YAXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@PBGAAVMemoryManager@xercesc_2_8@@@Z) referenced in function "void __cdecl xalanc_1_10::OutputString(class std::basic_ostream<char,struct std::char_traits<char> > &,class xalanc_1_10::XalanDOMString const &,class xercesc_2_8::MemoryManager &)" (?OutputString@xalanc_1_10@@YAXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@ABVXalanDOMString@1@AAVMemoryManager@xercesc_2_8@@@Z)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::InputSource::getEncoding(void)const " (?getEncoding@InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2019: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::InputSource::getEncoding(void)const " (?getEncoding@InputSource@xercesc_2_8@@UBEPBGXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::InputSource::getPublicId(void)const " (?getPublicId@InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::InputSource::getPublicId(void)const " (?getPublicId@InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::InputSource::getSystemId(void)const " (?getSystemId@InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::InputSource::getSystemId(void)const " (?getSystemId@InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::InputSource::setEncoding(unsigned short const * const)" (?setEncoding@InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::InputSource::setEncoding(unsigned short const * const)" (?setEncoding@InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::InputSource::setPublicId(unsigned short const * const)" (?setPublicId@InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::InputSource::setPublicId(unsigned short const * const)" (?setPublicId@InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlFileContentProbe.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::InputSource::setSystemId(unsigned short const * const)" (?setSystemId@InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::InputSource::setSystemId(unsigned short const * const)" (?setSystemId@InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlCommon.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static char * __cdecl xercesc_2_8::XMLString::transcode(unsigned short const * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SAPADQBG@Z) referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl XmlCommon::ToString(unsigned short const *)" (?ToString@XmlCommon@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::Wrapper4InputSource::getEncoding(void)const " (?getEncoding@Wrapper4InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::Wrapper4InputSource::getPublicId(void)const " (?getPublicId@Wrapper4InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::Wrapper4InputSource::getSystemId(void)const " (?getSystemId@Wrapper4InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned short const * __thiscall xercesc_2_8::Wrapper4InputSource::getBaseURI(void)const " (?getBaseURI@Wrapper4InputSource@xercesc_2_8@@UBEPBGXZ)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::Wrapper4InputSource::setEncoding(unsigned short const * const)" (?setEncoding@Wrapper4InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::Wrapper4InputSource::setPublicId(unsigned short const * const)" (?setPublicId@Wrapper4InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::Wrapper4InputSource::setSystemId(unsigned short const * const)" (?setSystemId@Wrapper4InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall xercesc_2_8::Wrapper4InputSource::setBaseURI(unsigned short const * const)" (?setBaseURI@Wrapper4InputSource@xercesc_2_8@@UAEXQBG@Z)
    1>XmlProcessor.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned short const * __thiscall xercesc_2_8::XMLException::getMessage(void)const " (__imp_?getMessage@XMLException@xercesc_2_8@@QBEPBGXZ) referenced in function __catch$??0XmlProcessor@@AAE@XZ$0
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesDOMHasPSVIInfo" (__imp_?fgXercesDOMHasPSVIInfo@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesValidationErrorAsFatal" (__imp_?fgXercesValidationErrorAsFatal@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesSchemaFullChecking" (__imp_?fgXercesSchemaFullChecking@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgXercesSchema" (__imp_?fgXercesSchema@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMValidation" (__imp_?fgDOMValidation@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMNamespaces" (__imp_?fgDOMNamespaces@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMDatatypeNormalization" (__imp_?fgDOMDatatypeNormalization@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMComments" (__imp_?fgDOMComments@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class xercesc_2_8::DOMImplementation * __cdecl xercesc_2_8::DOMImplementationRegistry::getDOMImplementation(unsigned short const *)" (__imp_?getDOMImplementation@DOMImplementationRegistry@xercesc_2_8@@SAPAVDOMImplementation@2@PBG@Z) referenced in function "public: class xercesc_2_8::DOMDocument * __thiscall XmlProcessor::ParseFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?ParseFile@XmlProcessor@@QAEPAVDOMDocument@xercesc_2_8@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMWRTBOM" (__imp_?fgDOMWRTBOM@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMWRTFormatPrettyPrint" (__imp_?fgDOMWRTFormatPrettyPrint@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMWRTDiscardDefaultContent" (__imp_?fgDOMWRTDiscardDefaultContent@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_8::XMLUni::fgDOMWRTSplitCdataSections" (__imp_?fgDOMWRTSplitCdataSections@XMLUni@xercesc_2_8@@2QBGB)
    1>XmlProcessor.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl xercesc_2_8::XMLString::transcode(char const * const,unsigned short * const,unsigned int,class xercesc_2_8::MemoryManager * const)" (__imp_?transcode@XMLString@xercesc_2_8@@SA_NQBDQAGIQAVMemoryManager@2@@Z) referenced in function "public: void __thiscall XmlProcessor::WriteDOMDocument(class xercesc_2_8::DOMDocument *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool)" (?WriteDOMDocument@XmlProcessor@@QAEXPAVDOMDocument@xercesc_2_8@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
    1>Debug/ovaldiD.exe : fatal error LNK1120: 47 unresolved externals

     
  • Danny Haynes

    Danny Haynes - 2011-04-12

    Hi Vikas,

    Based on your output, I am guessing that you are trying to build the OVAL Interpreter with the binaries of xerces-c 2.8.0 and xalan-c 1.10?  Unfortunately, the binaries do not work together and you will need to build them from source using our instructions (docs/build.xerces.xalan.win32.txt).  If you can upgrade to the latest version of the OVAL Interpreter (ovaldi-5.9.1), we switched back to xerces-c 2.7.0 and xalan-c 1.10 where the binaries do in fact work together.  Hope this helps.  Please let me know if you run into any other issues.

    Thanks,

    Danny

     
  • Danny Haynes

    Danny Haynes - 2011-04-12

    Hi Danny,
    Thanks a lot… The issue was with xerces and xalan build I was using, we are able to build 8.2, here are the steps taken

    1. Install VS 2005.
    2. Download and install MS Platform SDK 7 from the Microsoft site by running the attached  executable  (winsdk_web.exe). Reboot if required.
    3. Launch the Start Menu -> Programs -> Microsoft Windows SDK v7.1 -> Visual Studio Registration -> Windows SDK Configuration Tool
    4. Launch VS 2005
    5. Add the following directories to you VC Include and VC Lib directory settings in VS (Tools -> Options -> Projects and Solutions->VC++ Directories)
    Include Dirs=
            D:\Install\Ovaldi - related\pcre-8.12\\include;
            D:\Install\Ovaldi - related\gpg-w32-dev-20100713\gpg-w32-dev-20100713\include;
            D:\Install\Ovaldi - related\xerces-c_2_7_0-windows_2000-msvc_60\xerces-c-windows_2000-msvc_60\include;
            D:\Install\Ovaldi - related\Xalan-C_1_10_0-win32-msvc_60\Xalan-C_1_10_0-win32-msvc_60\include

    Library Dirs=
                    D:\Install\Ovaldi - related\pcre-8.12\From Srikanth\lib;
                    D:\Install\Ovaldi - related\gpg-w32-dev-20100713\gpg-w32-dev-20100713\lib;
                    D:\Install\Ovaldi - related\xerces-c_2_7_0-windows_2000-msvc_60\xerces-c-windows_2000-msvc_60\lib;
                    D:\Install\Ovaldi - related\Xalan-C_1_10_0-win32-msvc_60\Xalan-C_1_10_0-win32-msvc_60\lib

    Regards,
    Vikas Talegaonkar

     
  • Anton

    Anton - 2013-12-05

    upd:sorry tread missed

     
    Last edit: Anton 2013-12-05

Log in to post a comment.