Problem compiling kdpatch

Sysprogs forums Forums VisualDDK/VirtualKD discussion Problem compiling kdpatch

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10546
    tigros
    Participant

    Hi,

    Thanks for speeding up kernel debugging!

    Why do i get these errors when compiling kdpatch, everything else compiles ok:

     

    4>bzshlp.lib(device.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static unsigned __int64 __cdecl stlp_std::char_traits<wchar_t>::length(wchar_t const *)” (__imp_?length@?$char_traits@_W@stlp_std@@SA_KPEB_W@Z) referenced in function “public: __cdecl BazisLib::_DynamicStringT<wchar_t,class stlp_std::char_traits<wchar_t>,16,class BazisLib::HeapAllocator>::_DynamicStringT<wchar_t,class stlp_std::char_traits<wchar_t>,16,class BazisLib::HeapAllocator>(wchar_t const *,unsigned __int64)” (??0?$_DynamicStringT@_WV?$char_traits@_W@stlp_std@@$0BA@VHeapAllocator@BazisLib@@@BazisLib@@QEAA@PEB_W_K@Z)
    4>bzscore.lib(security.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned __int64 __cdecl stlp_std::char_traits<wchar_t>::length(wchar_t const *)” (__imp_?length@?$char_traits@_W@stlp_std@@SA_KPEB_W@Z)
    4>bzshlp.lib(device.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static void * __cdecl stlp_std::__node_alloc::allocate(unsigned __int64 &)” (__imp_?allocate@__node_alloc@stlp_std@@SAPEAXAEA_K@Z) referenced in function “public: class stlp_std::priv::_List_node<class BazisLib::ActionStatus::LocationRecord> * __cdecl stlp_std::allocator<class stlp_std::priv::_List_node<class BazisLib::ActionStatus::LocationRecord> >::allocate(unsigned __int64,void const *)” (?allocate@?$allocator@V?$_List_node@VLocationRecord@ActionStatus@BazisLib@@@priv@stlp_std@@@stlp_std@@QEAAPEAV?$_List_node@VLocationRecord@ActionStatus@BazisLib@@@priv@2@_KPEBX@Z)
    4>bzscore.lib(security.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static void * __cdecl stlp_std::__node_alloc::allocate(unsigned __int64 &)” (__imp_?allocate@__node_alloc@stlp_std@@SAPEAXAEA_K@Z)
    4>bzshlp.lib(device.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static void __cdecl stlp_std::__node_alloc::deallocate(void *,unsigned __int64)” (__imp_?deallocate@__node_alloc@stlp_std@@SAXPEAX_K@Z) referenced in function “public: void __cdecl stlp_std::allocator<class stlp_std::priv::_List_node<class BazisLib::DDK::Security::TranslatedAce> >::deallocate(class stlp_std::priv::_List_node<class BazisLib::DDK::Security::TranslatedAce> *,unsigned __int64)” (?deallocate@?$allocator@V?$_List_node@VTranslatedAce@Security@DDK@BazisLib@@@priv@stlp_std@@@stlp_std@@QEAAXPEAV?$_List_node@VTranslatedAce@Security@DDK@BazisLib@@@priv@2@_K@Z)
    4>bzscore.lib(security.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static void __cdecl stlp_std::__node_alloc::deallocate(void *,unsigned __int64)” (__imp_?deallocate@__node_alloc@stlp_std@@SAXPEAX_K@Z)
    4>bzshlp.lib(device.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static void __cdecl stlp_std::priv::_List_global<bool>::_Transfer(struct stlp_std::priv::_List_node_base *,struct stlp_std::priv::_List_node_base *,struct stlp_std::priv::_List_node_base *)” (__imp_?_Transfer@?$_List_global@_N@priv@stlp_std@@SAXPEAU_List_node_base@23@00@Z) referenced in function “public: void __cdecl stlp_std::list<class BazisLib::ActionStatus::LocationRecord,class stlp_std::allocator<class BazisLib::ActionStatus::LocationRecord> >::splice(struct stlp_std::priv::_List_iterator<class BazisLib::ActionStatus::LocationRecord,struct stlp_std::_Nonconst_traits<class BazisLib::ActionStatus::LocationRecord> >,class stlp_std::list<class BazisLib::ActionStatus::LocationRecord,class stlp_std::allocator<class BazisLib::ActionStatus::LocationRecord> > &)” (?splice@?$list@VLocationRecord@ActionStatus@BazisLib@@V?$allocator@VLocationRecord@ActionStatus@BazisLib@@@stlp_std@@@stlp_std@@QEAAXU?$_List_iterator@VLocationRecord@ActionStatus@BazisLib@@U?$_Nonconst_traits@VLocationRecord@ActionStatus@BazisLib@@@stlp_std@@@priv@2@AEAV12@@Z)
    4>bzscore.lib(security.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static void __cdecl stlp_std::priv::_List_global<bool>::_Transfer(struct stlp_std::priv::_List_node_base *,struct stlp_std::priv::_List_node_base *,struct stlp_std::priv::_List_node_base *)” (__imp_?_Transfer@?$_List_global@_N@priv@stlp_std@@SAXPEAU_List_node_base@23@00@Z)
    4>bzscore.lib(security.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) void __cdecl stlp_std::__stl_throw_overflow_error(char const *)” (__imp_?__stl_throw_overflow_error@stlp_std@@YAXPEBD@Z) referenced in function “void __cdecl stlp_std::priv::_S_sort<class BazisLib::DDK::Security::TranslatedAce,class stlp_std::allocator<class BazisLib::DDK::Security::TranslatedAce>,struct stlp_std::less<class BazisLib::DDK::Security::TranslatedAce> >(class stlp_std::list<class BazisLib::DDK::Security::TranslatedAce,class stlp_std::allocator<class BazisLib::DDK::Security::TranslatedAce> > &,struct stlp_std::less<class BazisLib::DDK::Security::TranslatedAce>)” (??$_S_sort@VTranslatedAce@Security@DDK@BazisLib@@V?$allocator@VTranslatedAce@Security@DDK@BazisLib@@@stlp_std@@U?$less@VTranslatedAce@Security@DDK@BazisLib@@@6@@priv@stlp_std@@YAXAEAV?$list@VTranslatedAce@Security@DDK@BazisLib@@V?$allocator@VTranslatedAce@Security@DDK@BazisLib@@@stlp_std@@@1@U?$less@VTranslatedAce@Security@DDK@BazisLib@@@1@@Z)
    4>G:\work\VirtualKD\x64\Debug\kdpatch.sys : fatal error LNK1120: 5 unresolved externals

     

    I’m using VS 2013 but set all toolsets to v100 (VS2010).

    hoping it’s an easy one for someone.

     

    thanks in advance!

     

     

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.