Re: [reSIProcate] build resip_test & basicRegister failed on Visual C++.NET 7.1
Hi,
Simply add resiprocate/StatisticManager.cxx,
resiprocate/StatisticMessage.cxx and resiprocate/TransportMessage.cxx (and
resiprocate/StackThread.cxx if you plan to use DUM) to the resiprocate
project.
It will solve your linkage problems.
Dom.
----- Original Message -----
From: "kaiduan xie" <kaiduanx@xxxxxxxx>
To: <resiprocate-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Friday, September 03, 2004 12:21 AM
Subject: [reSIProcate] build resip_test & basicRegister failed on Visual
C++.NET 7.1
> Hi, all,
>
> I downloaded the resiprocate via svn co
> http://scm.sipfoundry.org/rep/resiprocate/main last
> night, the revision number was 3298.
>
> While building on Visual C++ .NET 7.1, the following
> errors popped out:
>
> resip_test error LNK2019: unresolved external symbol
> "public: void __thiscall
> resip::StatisticsManager::process(void)"
> (?process@StatisticsManager@resip@@QAEXXZ) referenced
> in function "public: virtual void __thiscall
> resip::SipStack::process(class resip::FdSet &)"
> (?process@SipStack@resip@@UAEXAAVFdSet@2@@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: __thiscall
> resip::StatisticsManager::StatisticsManager(class
> resip::TransactionController &,unsigned long)"
> (??0StatisticsManager@resip@@QAE@AAVTransactionController@1@K@Z)
> referenced in function "public: __thiscall
> resip::TransactionController::TransactionController(bool,class
> resip::Fifo<class resip::Message> &,bool)"
> (??0TransactionController@resip@@QAE@_NAAV?$Fifo@VMessage@resip@@@1@0@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: void __thiscall
> resip::StatisticsManager::setInterval(unsigned long)"
> (?setInterval@StatisticsManager@resip@@QAEXK@Z)
> referenced in function "public: void __thiscall
> resip::TransactionController::setStatisticsInterval(unsigned
> long)const "
> (?setStatisticsInterval@TransactionController@resip@@QBEXK@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: __thiscall
> resip::TransportMessage::TransportMessage(class
> resip::Data,bool)"
> (??0TransportMessage@resip@@QAE@VData@1@_N@Z)
> referenced in function "public: void __thiscall
> resip::TransportSelector::transmit(class
> resip::SipMessage *,class resip::Tuple &)"
> (?transmit@TransportSelector@resip@@QAEXPAVSipMessage@2@AAVTuple@2@@Z)
>
> resip_test error LNK2001: unresolved external symbol
> "public: __thiscall
> resip::TransportMessage::TransportMessage(class
> resip::Data,bool)"
> (??0TransportMessage@resip@@QAE@VData@1@_N@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: bool __thiscall
> resip::TransportMessage::isFailed(void)const "
> (?isFailed@TransportMessage@resip@@QBE_NXZ) referenced
> in function "public: void __thiscall
> resip::StatelessHandler::process(void)"
> (?process@StatelessHandler@resip@@QAEXXZ)
>
> resip_test error LNK2019: unresolved external symbol
> "public: bool __thiscall
> resip::TransportMessage::isFailed(void)const "
> (?isFailed@TransportMessage@resip@@QBE_NXZ) referenced
> in function "public: static void __cdecl
> resip::TransactionState::process(class
> resip::TransactionController &)"
> (?process@TransactionState@resip@@SAXAAVTransactionController@2@@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "private: bool __thiscall
> resip::StatisticsManager::received(class
> resip::SipMessage *)"
> (?received@StatisticsManager@resip@@AAE_NPAVSipMessage@2@@Z)
> referenced in function "public: static void __cdecl
> resip::TransactionState::process(class
> resip::TransactionController &)"
> (?process@TransactionState@resip@@SAXAAVTransactionController@2@@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "private: bool __thiscall
> resip::StatisticsManager::sent(class resip::SipMessage
> *,bool)"
> (?sent@StatisticsManager@resip@@AAE_NPAVSipMessage@2@_N@Z)
> referenced in function "private: void __thiscall
> resip::TransactionState::sendToWire(class
> resip::TransactionMessage *,bool)"
> (?sendToWire@TransactionState@resip@@AAEXPAVTransactionMessage@2@_N@Z)
>
> resip_test fatal error LNK1120: 7 unresolved externals
>
> It seems that some functions are not implemented yet.
> Anything wrong?
>
> Besides that,I found two minor bugs in
> basicRegister.cpp and fixed it to get it compiled.
>
> 1. Add onRemoved function.
> class Client:: virtual void
> onRemoved(ClientRegistrationHandle)//xkd
> {
> }
>
> 2. in main()
>
> auto_ptr<ClientAuthManager> p(&clientAuth);
> //clientDum.setClientAuthManager(&clientAuth);
> clientDum.setClientAuthManager(p);
>
> What is the status of DUM?
>
> Thanks,
>
> kaiduan
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>