< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Can't link reSIProcate lib with openSSL


Hello

 

I’m trying to build a stateless proxy that supports TLS on windows.

I managed to get the proxy running without USE_SSL defined and it works great.

 

I installed and compiled OpenSSL then I added USE_SSL to the processor definitions in the project properties.

I also added the ssleay32.lib libeay32.lib to the linker input.

I added the libraries path to the lib directories Path to use when searching for library files while building a VC++ project. 

 

After all that I get Link errors like the errors printed here.

 

resiprocate.lib(Security.obj) : error LNK2019: unresolved external symbol _d2i_X509 referenced in function "protected: void __thiscall resip::BaseSecurity::addCertDER(enum resip::BaseSecurity::PEMType,class resip::Data const &,class resip::Data const &,bool)const " (?addCertDER@BaseSecurity@resip@@IBEXW4PEMType@12@ABVData@2@1_N@Z)

 

I also get an errors with libcmtd.lib :

 

MSVCRT.lib(MSVCR71.dll) : error LNK2005: _sscanf already defined in LIBCMTD.lib(sscanf.obj)

 

Can any one please help me I’m using VC 7 in windows XP.

 

Thanks for our help.

Yariv