[reSIProcate] build resip_test & basicRegister failed on Visual C++.NET 7.1

Dominique Prunier dominique.prunier at micromedia-int.com
Fri Sep 3 02:07:21 CDT 2004


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 at yahoo.ca>
To: <resiprocate-devel at list.sipfoundry.org>
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 at StatisticsManager@resip@@QAEXXZ) referenced
> in function "public: virtual void __thiscall
> resip::SipStack::process(class resip::FdSet &)"
> (?process at SipStack@resip@@UAEXAAVFdSet at 2@@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: __thiscall
> resip::StatisticsManager::StatisticsManager(class
> resip::TransactionController &,unsigned long)"
> (??0StatisticsManager at resip@@QAE at AAVTransactionController@1 at K@Z)
> referenced in function "public: __thiscall
> resip::TransactionController::TransactionController(bool,class
> resip::Fifo<class resip::Message> &,bool)"
> (??0TransactionController at resip@@QAE at _NAAV?$Fifo at VMessage@resip@@@1 at 0@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: void __thiscall
> resip::StatisticsManager::setInterval(unsigned long)"
> (?setInterval at StatisticsManager@resip@@QAEXK at Z)
> referenced in function "public: void __thiscall
> resip::TransactionController::setStatisticsInterval(unsigned
> long)const "
> (?setStatisticsInterval at TransactionController@resip@@QBEXK at Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: __thiscall
> resip::TransportMessage::TransportMessage(class
> resip::Data,bool)"
> (??0TransportMessage at resip@@QAE at VData@1 at _N@Z)
> referenced in function "public: void __thiscall
> resip::TransportSelector::transmit(class
> resip::SipMessage *,class resip::Tuple &)"
> (?transmit at TransportSelector@resip@@QAEXPAVSipMessage at 2@AAVTuple at 2@@Z)
>
> resip_test error LNK2001: unresolved external symbol
> "public: __thiscall
> resip::TransportMessage::TransportMessage(class
> resip::Data,bool)"
> (??0TransportMessage at resip@@QAE at VData@1 at _N@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "public: bool __thiscall
> resip::TransportMessage::isFailed(void)const "
> (?isFailed at TransportMessage@resip@@QBE_NXZ) referenced
> in function "public: void __thiscall
> resip::StatelessHandler::process(void)"
> (?process at StatelessHandler@resip@@QAEXXZ)
>
> resip_test error LNK2019: unresolved external symbol
> "public: bool __thiscall
> resip::TransportMessage::isFailed(void)const "
> (?isFailed at TransportMessage@resip@@QBE_NXZ) referenced
> in function "public: static void __cdecl
> resip::TransactionState::process(class
> resip::TransactionController &)"
> (?process at TransactionState@resip@@SAXAAVTransactionController at 2@@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "private: bool __thiscall
> resip::StatisticsManager::received(class
> resip::SipMessage *)"
> (?received at StatisticsManager@resip@@AAE_NPAVSipMessage at 2@@Z)
> referenced in function "public: static void __cdecl
> resip::TransactionState::process(class
> resip::TransactionController &)"
> (?process at TransactionState@resip@@SAXAAVTransactionController at 2@@Z)
>
> resip_test error LNK2019: unresolved external symbol
> "private: bool __thiscall
> resip::StatisticsManager::sent(class resip::SipMessage
> *,bool)"
> (?sent at StatisticsManager@resip@@AAE_NPAVSipMessage at 2@_N at Z)
> referenced in function "private: void __thiscall
> resip::TransactionState::sendToWire(class
> resip::TransactionMessage *,bool)"
> (?sendToWire at TransactionState@resip@@AAEXPAVTransactionMessage at 2@_N at 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 at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>




More information about the resiprocate-devel mailing list