Sergio,
I'm guessing this has to do with collisions in the DLL you are compiling
with and the ones that were used to build the OpenSSL DLLs. Check the
INSTALL.W32 for details, but I'm pretty sure they use (and require) the
multithreaded DLLs. Go to your VC6 project settings (Project->Settings...).
Select each configuration (Settings For:) and on the C/C++ tab, select 'Code
Generation' in the Category dropdown. Make sure that the runtime library
for each config is of the multithreaded variety.
Glenn
> -----Original Message-----
> From: Sergio Gallego Sacristana Martinez
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 11, 2000 6:11 AM
> To: [EMAIL PROTECTED]
> Subject: Problem linking the examples in WinNT4
>
>
> Hello!!
>
> I tried to compile the examples included in OpenSSL and after
> setting the
> libraries Libeay32.dll Ssleay32.dll and RSAglue.lib on the
> link settings
> (input) of MS Visual C++ 6.0 I get this error:
>
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in
> LIBCD.lib(sprintf.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in
> LIBCD.lib(strncpy.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fclose already defined in
> LIBCD.lib(fclose.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in
> LIBCD.lib(fflush.obj)
> LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with
> use of other libs;
> use /NODEFAULTLIB:library
> ..\..\bin\signRSA.exe : fatal error LNK1169: one or more
> multiply defined
> symbols found
> Error executing link.exe.
> signRSA.exe - 5 error(s), 1 warning(s)
>
>
> If I use the option /NODEFAULTLIB:library the same error
> ocurrs but whith other
> functions in the same libraries. This happens in all the
> examples I've tried
> with and with my own files.
>
> Could somebody help me??
> Thak you in advance,
> Sergio Gallego.
>
> PD. Please write me back to current address
> ([EMAIL PROTECTED])
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]