Hiya, I'm not at work at the moment so I can't verify this, but, if I recall correctly you'd see that kind of behaviour if the project you were linking to has a different setting for /MT /MTd, etc. Verify from the nt.mak file that it's the setting you want, and that it's the same as the one in your project.
G'luck Pascal -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Pratibha Gupta Sent: Friday, 28 December 2001 9:16 a.m. To: [EMAIL PROTECTED] Subject: Warnings while linking with OpenSSL static libraries on Windows Hi, I have compiled OpenSSL on my Win 2000 machine using the makefiles provided with OpenSSL 0.9.6c. I build static libraries libeay32.lib, ssleay32.lib and RSAglue.lib. Now I am trying to compile Libcurl using these OpenSSL static libraries. I have made the following change to Makefile.vc6 that comes with curl-7.9.2. LFLAGSSSL = /LIBPATH:$(OPENSSL_PATH)/out32 The library is finally built but it throws up a lot of warnings about things that have been defined twice in the SSL libraries. Eg. ssleay32.lib(ADVAPI32.dll) : warning LNK4006: _AbortSystemShutdownA@4 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored ssleay32.lib(ADVAPI32.dll) : warning LNK4006: __imp__AbortSystemShutdownA@4 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored ssleay32.lib(ADVAPI32.dll) : warning LNK4006: _AbortSystemShutdownW@4 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored ssleay32.lib(ADVAPI32.dll) : warning LNK4006: __imp__AbortSystemShutdownW@4 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored ssleay32.lib(ADVAPI32.dll) : warning LNK4006: _AccessCheck@32 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored RSAglue.lib(ADVAPI32.dll) : warning LNK4006: _TrusteeAccessToObjectW@24 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored RSAglue.lib(ADVAPI32.dll) : warning LNK4006: __imp__TrusteeAccessToObjectW@24 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored RSAglue.lib(ADVAPI32.dll) : warning LNK4006: _UnlockServiceDatabase@4 already defined in libeay32.lib(ADVAPI32.dll); second definition ignored There are hundreds and hundreds of these errors. My client program that links to Libcurl (and uses HTTPS) does work fine, but I'd like to understand why these errors are being thrown. Thanks ______________________________________________________________________ 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]