dll def 내보내기 오류

6965 단어 dll
질문: getServerObjects@1만 내보내기 오류 없음, 업데이트 서비스 Object 추가 후 오류 보고,
dll의 def 파일은 다음과 같습니다.
1 LIBRARY "lbcd"

2 

3 EXPORTS

4 getServerObjects     @1

5 updateServiceObject     @2

 
오류는 다음과 같습니다.
lbcd.def : warning LNK4022: cannot find unique match for symbol 'updateServiceObject'1>lbcd.def : warning LNK4002: "void __stdcall updateServiceObject(class std::basic_string,class std::allocator>,class std::basic_string,class std::allocator>,class std::basic_string,class std::allocator>)"(?updateServiceObject@@YGXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z) defined in Debug\LBC.obj1>lbcd.def : warning LNK4002: "public: virtual int __thiscall IceDelegateD::LB::LoadBalance::updateServiceObject(class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::map,class std::allocator>,class std::basic_string,class std::allocator>,struct std::less,class std::allocator> >,class std::allocator,class std::allocator> const ,class std::basic_string,class std::allocator> >> > const *)"(?updateServiceObject@LoadBalance@LB@IceDelegateD@@UAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00PBV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@5@@Z) defined in Debug\Load_Balance.obj1>lbcd.def : warning LNK4002: "public: virtual int __thiscall IceDelegateM::LB::LoadBalance::updateServiceObject(class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::map,class std::allocator>,class std::basic_string,class std::allocator>,struct std::less,class std::allocator> >,class std::allocator,class std::allocator> const ,class std::basic_string,class std::allocator> >> > const *)"(?updateServiceObject@LoadBalance@LB@IceDelegateM@@UAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00PBV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@5@@Z) defined in Debug\Load_Balance.obj1>lbcd.def : warning LNK4002: "private: int __thiscall IceProxy::LB::LoadBalance::updateServiceObject(class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::map,class std::allocator>,class std::basic_string,class std::allocator>,struct std::less,class std::allocator> >,class std::allocator,class std::allocator> const ,class std::basic_string,class std::allocator> >> > const *)"(?updateServiceObject@LoadBalance@LB@IceProxy@@AAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00PBV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@5@@Z) defined in Debug\Load_Balance.obj1>lbcd.def : warning LNK4002: "public: int __thiscall IceProxy::LB::LoadBalance::updateServiceObject(class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &,class std::basic_string,class std::allocator> const &)"(?updateServiceObject@LoadBalance@LB@IceProxy@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z) defined in Debug\LBC.obj1>lbcd.def : error LNK2001: unresolved external symbol updateServiceObject
 
원인: 업데이트 서비스 Object 함수와 어떤 dll의 함수 이름이 같습니다. ICE 라이브러리의 함수 이름이 같습니다.
참조: http://blog.csdn.net/esinhee/article/details/5500842

좋은 웹페이지 즐겨찾기