Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
C++ 1.6.0, C++ 1.7.0
-
None
-
None
-
Security Level: Public (Public issues, viewable by everyone)
Description
Symptom:
Compile Santuario with visual studio 2003 occurred bellow error:
Linking...
Creating library ../../../../Build/Win32/VC7/Release/xsec_1.lib and object ../../../../Build/Win32/VC7/Release/xsec_1.exp
DSIGKeyInfoList.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DSIGKeyInfoDEREncoded::load(void)" (?load@DSIGKeyInfoDEREncoded@@UAEXXZ)
XSECKeyInfoResolverDefault.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DSIGKeyInfoDEREncoded::load(void)" (?load@DSIGKeyInfoDEREncoded@@UAEXXZ)
DSIGKeyInfoList.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall DSIGKeyInfoDEREncoded::~DSIGKeyInfoDEREncoded(void)" (1DSIGKeyInfoDEREncoded@@UAE@XZ) referenced in function "public: virtual void * __thiscall DSIGKeyInfoDEREncoded::`scalar deleting destructor'(unsigned int)" (_GDSIGKeyInfoDEREncoded@@UAEPAXI@Z)
XSECKeyInfoResolverDefault.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall DSIGKeyInfoDEREncoded::~DSIGKeyInfoDEREncoded(void)" (??1DSIGKeyInfoDEREncoded@@UAE@XZ)
DSIGKeyInfoList.obj : error LNK2019: unresolved external symbol "public: __thiscall DSIGKeyInfoDEREncoded::DSIGKeyInfoDEREncoded(class XSECEnv const *,class xercesc_2_7::DOMNode *)" (??0DSIGKeyInfoDEREncoded@@QAE@PBVXSECEnv@@PAVDOMNode@xercesc_2_7@@@Z) referenced in function $L53993
DSIGKeyInfoList.obj : error LNK2019: unresolved external symbol "public: class xercesc_2_7::DOMElement * __thiscall DSIGKeyInfoDEREncoded::createBlankDEREncoded(unsigned short const *)" (?createBlankDEREncoded@DSIGKeyInfoDEREncoded@@QAEPAVDOMElement@xercesc_2_7@@PBG@Z) referenced in function "public: class DSIGKeyInfoDEREncoded * __thiscall DSIGKeyInfoList::appendDEREncoded(unsigned short const *)" (?appendDEREncoded@DSIGKeyInfoList@@QAEPAVDSIGKeyInfoDEREncoded@@PBG@Z)
DSIGKeyInfoList.obj : error LNK2019: unresolved external symbol "public: __thiscall DSIGKeyInfoDEREncoded::DSIGKeyInfoDEREncoded(class XSECEnv const *)" (??0DSIGKeyInfoDEREncoded@@QAE@PBVXSECEnv@@@Z) referenced in function "public: class DSIGKeyInfoDEREncoded * __thiscall DSIGKeyInfoList::appendDEREncoded(unsigned short const *)" (?appendDEREncoded@DSIGKeyInfoList@@QAEPAVDSIGKeyInfoDEREncoded@@PBG@Z)
../../../../Build/Win32/VC7/Release/xsec_1_6.dll : fatal error LNK1120: 5 unresolved externals
Root Cause:
In section xsec->dsig is missed include file DSIGKeyInfoDEREncoded.cpp
How to fix:
add file DSIGKeyInfoDEREncoded.cpp into project dsig.
<File
RelativePath="..\..\..\..\xsec\dsig\DSIGKeyInfoDEREncoded.cpp">
</File>