[reSIProcate] Can't link reSIProcate lib with openSSL

Scott Godin slgodin at icescape.com
Tue May 10 14:53:29 CDT 2005


I haven't actually tried this myself - (but I will be soon).  So I can't
help much with the Security.obj error.   As for the libcmtd.lib error - it
is likely due to mismatched C-Runtime library version.  Ensure you build all
resip stuff and OpenSSL using the same runtime library version.

 

  _____  

From: Yariv Trabelsi [mailto:Yariv.Trabelsi at kayote.com] 
Sent: Monday, May 09, 2005 11:21 AM
To: resiprocate-devel at list.sipfoundry.org
Subject: [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 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/20050510/b90098fa/attachment.htm>


More information about the resiprocate-devel mailing list