Your project is trying to link with multiple versions of the c runtime
library. As the compiler is suggesting, try using the /NODEFAULTLIB:library
in your linker options. I believe LIBCMT.lib is the multi-threaded static
verison of the c runtime, so try "/NODEFAULTLIB:MSVCRT.lib". (I think
MSVCRT.lib the single-threaded dynamic version of the c library which you
don't want). See the MSDN for the above link option to get all the details.

good luck,
Marc

> -----Original Message-----
> From: Antonio Ruiz Martínez [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 7:37 AM
> To: [EMAIL PROTECTED]
> Subject: Problems whit the last Snapshot(2)
> 
> 
> Hello!
> 
>     I've solved the problem of my last message with /MT and 
> revome /WX.
> But
> now I get the next problem....
> 
>         cl /Fotmp32\hmactest.obj -Iinc32 -Itmp32 /MT /W3 /G5 /Ox /O2
> /Ob2 /Gs0 /
> GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN 
> -DL_ENDIAN
> -DDSO_WI
> N32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32
> -DOPENSSL_NO_KRB5  -c .\
> crypto\hmac\hmactest.c
> hmactest.c
>         link /nologo /subsystem:console /machine:I386 /opt:ref
> /out:out32\hmacte
> st.exe @C:\DOCUME~1\arm\CONFIG~1\Temp\nmi01344.
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fprintf already defined in
> LIBCMT.lib(f
> printf.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in
> LIBCMT.lib(s
> printf.obj)
> LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with 
> use of other
> libs; us
> e /NODEFAULTLIB:library
> out32\hmactest.exe : fatal error LNK1169: one or more multiply defined
> symbols f
> ound
> NMAKE : fatal error U1077: 'link' : return code '0x491'
> Stop.
> 
> How I can fix?
> 
> Thanks in advance,
> Regards,
> Antonio.
> 
> 
> --
> ------------------------------------------------------
> Antonio Ruiz Martínez
> Facultad de Informática-Universidad de Murcia
> 30001 Murcia - España (Spain)
> Telf: +34-968-364644 e-mail: [EMAIL PROTECTED]
> ------------------------------------------------------
> 
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to