[reSIProcate] Can't link reSIProcate lib with openSSL

Yariv Trabelsi Yariv.Trabelsi at kayote.com
Mon May 9 10:21:06 CDT 2005


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 at BaseSecurity@resip@@IBEXW4PEMType at 12@ABVData at 2@1_N at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050509/0d9bbcd3/attachment.htm>


More information about the resiprocate-devel mailing list