Hi,

I removed the sipXmediaMediaProcessing.lib from the dependencies of sipXtapi 
and it builds without errors now. But I was wondering if this is what was 
required to be done or I'm missing something?

Thanks,
Hitesh
  ----- Original Message ----- 
  From: logan 
  To: [email protected] 
  Sent: Tuesday, January 02, 2007 1:22 PM
  Subject: [sipxtapi-dev] build errors in sipxtapi


  Hi guys,

  I was away from this project for a while, but now I'm back. So the first 
thing I did was to update my source from the SVN. After updating my sources I'm 
able to build sipxportlib, sipxtacklib, sipxcalllib, sipxmedialib, 
sipxmediaadapterlib. But when I try to build sipxtapi I get the following 
linker errors (I'm using VC++ 7.1 and sipxtapi main branch and have tried both 
debug and debug_novideo configurations):

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : error LNK2005: 
"public: __thiscall CpMediaInterfaceFactory::CpMediaInterfaceFactory(void)" 
(??0CpMediaInterfaceFactory@@[EMAIL PROTECTED]) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj)
  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : error LNK2005: 
"public: virtual __thiscall 
CpMediaInterfaceFactory::~CpMediaInterfaceFactory(void)" 
(??1CpMediaInterfaceFactory@@[EMAIL PROTECTED]) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj)

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : error LNK2005: 
"public: void __thiscall 
CpMediaInterfaceFactory::setFactoryImplementation(class 
CpMediaInterfaceFactoryImpl *)" ([EMAIL 
PROTECTED]@@QAEXPAVCpMediaInterfaceFactoryImpl@@@Z) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj)

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : error LNK2005: 
"public: class CpMediaInterfaceFactoryImpl * __thiscall 
CpMediaInterfaceFactory::getFactoryImplementation(void)" ([EMAIL 
PROTECTED]@@QAEPAVCpMediaInterfaceFactoryImpl@@XZ) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj)

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : warning LNK4006: 
"public: __thiscall CpMediaInterfaceFactory::CpMediaInterfaceFactory(void)" 
(??0CpMediaInterfaceFactory@@[EMAIL PROTECTED]) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj); second definition 
ignored

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : warning LNK4006: 
"public: virtual __thiscall 
CpMediaInterfaceFactory::~CpMediaInterfaceFactory(void)" 
(??1CpMediaInterfaceFactory@@[EMAIL PROTECTED]) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj); second definition 
ignored

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : warning LNK4006: 
"public: void __thiscall 
CpMediaInterfaceFactory::setFactoryImplementation(class 
CpMediaInterfaceFactoryImpl *)" ([EMAIL 
PROTECTED]@@QAEXPAVCpMediaInterfaceFactoryImpl@@@Z) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj); second definition 
ignored

  sipXmediaAdapterLib.lib(CpMediaInterfaceFactory.obj) : warning LNK4006: 
"public: class CpMediaInterfaceFactoryImpl * __thiscall 
CpMediaInterfaceFactory::getFactoryImplementation(void)" ([EMAIL 
PROTECTED]@@QAEPAVCpMediaInterfaceFactoryImpl@@XZ) already defined in 
sipXmediaMediaProcessing.lib(CpMediaInterfaceFactory.obj); second definition 
ignored

  Creating library .\sipXtapi\Debug/sipXtapid.lib and object 
.\sipXtapi\Debug/sipXtapid.exp

  sipXmediaMediaProcessing.lib(sipXmediaFactoryImpl.obj) : error LNK2019: 
unresolved external symbol "public: int __thiscall UtlString::compareTo(char 
const *)const " ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function 
"public: __thiscall sipXmediaFactoryImpl::sipXmediaFactoryImpl(class OsConfigDb 
*)" (??0sipXmediaFactoryImpl@@[EMAIL PROTECTED]@@@Z)

  sipXmediaMediaProcessing.lib(CpPhoneMediaInterface.obj) : error LNK2001: 
unresolved external symbol "public: int __thiscall UtlString::compareTo(char 
const *)const " ([EMAIL PROTECTED]@@[EMAIL PROTECTED])

  sipXmediaMediaProcessing.lib(CpPhoneMediaInterface.obj) : error LNK2019: 
unresolved external symbol "public: class UtlString const & __thiscall 
OsSocket::getLocalIp(void)const " ([EMAIL PROTECTED]@@QBEABVUtlString@@XZ) 
referenced in function "public: virtual enum OsStatus __thiscall 
CpPhoneMediaInterface::getCapabilities(int,class UtlString &,int &,int &,int 
&,int &,class SdpCodecFactory &,struct SdpSrtpParameters &,int,int &,int &)" 
([EMAIL 
PROTECTED]@@UAE?AW4OsStatus@@HAAVUtlString@@AAH111AAVSdpCodecFactory@@AAUSdpSrtpParameters@@[EMAIL
 PROTECTED])

  sipXmediaMediaProcessing.lib(CpPhoneMediaInterface.obj) : error LNK2019: 
unresolved external symbol "public: enum OsStatus __thiscall 
MpCallFlowGraph::playBuffer(char *,unsigned long,int,int,int,class 
OsNotification *)" ([EMAIL 
PROTECTED]@@QAE?AW4OsStatus@@PADKHHHPAVOsNotification@@@Z) referenced in 
function "public: virtual enum OsStatus __thiscall 
CpPhoneMediaInterface::playBuffer(char *,unsigned long,int,int,int,int,class 
OsNotification *,int,int)" ([EMAIL 
PROTECTED]@@UAE?AW4OsStatus@@PADKHHHHPAVOsNotification@@[EMAIL PROTECTED])

  .\sipXtapi\Debug/sipXtapid.dll : fatal error LNK1120: 3 unresolved externals

  Please help.

  Thanks,
  Hitesh



------------------------------------------------------------------------------


  _______________________________________________
  sipxtapi-dev mailing list
  [email protected]
  List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to