-
openssl on win2k
i comiple openssl on win2k ,the problem is that openssl redefine some well-known function in stdlib such as fclose fopen and so on .
i used /FORCE:MULTIPLE option in linker and redefinition problem solve .
so am wondering why openssl redefine those stuff and
if there is another way to compile openssl and similar api preventing to redefine functions...
thanks in adv
-
Check how you built your library, because my library doesn't contain any predefined fopen, nor is there any predefined fopen in the source code.
Seems to me like you produced an executable rather than a library.
-
nope ,
i just download openssl and perl compiler and followed the instruction recommended in openssl readme for microsoft windows.
> perl Configure VC-WIN32
> ms\do_ms
> nmake -f ms\nt.mak //to build a statick linked lib
howevery ,do u know if there is options for nmake to prevent redefinition of standard c library?
-
No idea
Try searching the message boards / mailing lists of the library in question
Then ask your question on the message boards / mailing lists on how to solve the problem
-
Check out Shining Light Productions for a complete installation version of OpenSSL in the Win32 platform.
http://www.slproweb.com/products/Win32OpenSSL.html
Kuphryn