Okay, I'll bet your're right :-) How do I build OpenSSL with multithread option on? The option is on in my project so I'm guessing it must be off in OpenSSLs nt.mak? Atleast there's "/MD"-option which is the same as in the ntdll.mak... Should it be /MT? I tried that but keep still getting the very same errors :-( Could there be other options also upside down?
yours VW -----Original Message----- From: David Schwartz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 11:47 AM To: [EMAIL PROTECTED] Subject: Re: Static OpenSSL lib in NT with VC++ Sounds like a classic case of mixing use of the multithreaded run-time library with use of the single-threaded run-time library. You should compile both OpenSSL and all your appls with the multi-threaded run-time library. (Who writes single-threaded apps on WIN32 anyway?!) DS On Wed, 2 Jan 2002 11:28:21 +0200, Wirta Ville wrote: >Hi! > >Has anyone tried building (and using) static OpenSSL (0.9.6c) libraries on >Win NT? I'm building with VC++ and get the following error: (I don't suffer >from these with dynamic libs) > >Linking... >MSVCRT.lib(MSVCRT.dll) : error LNK2005: _time already defined in >LIBCMT.lib(time.obj) > >there are about 25 more of those all dealing with common functions like >memmove, strncpy etc. I told the linker to ignore LIBCMT.lib ...with no >better success. I know this is an environment question and propably has >nothing to do with OpenSSL but just with my project files, but I'd >appreciate a helping hand if there's one available :-) > >Thanks! VW > >______________________________________________________________________ >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] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]