Don't know if the dev list is the right place for this question... please repost if it 
isn't.

I'm trying to build a static library on win32 (using ms\nt.mak) and while that 
succeeds just fine, when I link the ssleay32.lib and libeay32.lib(combined, about 2.7 
Mbytes) to my application, I get linker errors. See below.

I've tried excluding certain libraries but the problem seems to snowball and get 
worse. Anyone have an ideas to point me in the right direction?

(my app links fine, BTW, when I use the DLL version of the library, it's just that I 
don't want to distribute the DLLs)

Thanks in advance,

-Lee



Linking...
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _time already defined in LIBCMT.lib(time.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in 
LIBCMT.lib(strncmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in 
LIBCMT.lib(memmove.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in 
LIBCMT.lib(strncpy.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in 
LIBCMT.lib(strchr.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in 
LIBCMT.lib(isctype.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in 
LIBCMT.lib(sprintf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fopen already defined in LIBCMT.lib(fopen.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fclose already defined in 
LIBCMT.lib(fclose.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fwrite already defined in 
LIBCMT.lib(fwrite.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in 
LIBCMT.lib(fflush.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __setmode already defined in 
LIBCMT.lib(setmode.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _ftell already defined in LIBCMT.lib(ftell.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fseek already defined in LIBCMT.lib(fseek.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _localtime already defined in 
LIBCMT.lib(localtim.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _getenv already defined in 
LIBCMT.lib(getenv.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _gmtime already defined in 
LIBCMT.lib(gmtime.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower already defined in 
LIBCMT.lib(tolower.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCMT.lib(free.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in 
LIBCMT.lib(realloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _signal already defined in 
LIBCMT.lib(winsig.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtoul already defined in 
LIBCMT.lib(strtol.obj)
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use 
/NODEFAULTLIB:library
Telnet__/Telnet.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to