Thread: openssl on win2k

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    21

    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

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    21
    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?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Check out Shining Light Productions for a complete installation version of OpenSSL in the Win32 platform.

    http://www.slproweb.com/products/Win32OpenSSL.html

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Messageboxes will work in win2k, fail in XP
    By Rippy in forum Windows Programming
    Replies: 10
    Last Post: 02-22-2008, 10:36 PM
  2. OpenSSL AES library documentation
    By kronixx in forum C Programming
    Replies: 1
    Last Post: 11-21-2005, 12:24 PM
  3. WIN2k equiv
    By jinx in forum Tech Board
    Replies: 3
    Last Post: 05-13-2004, 01:27 PM
  4. OpenSSL and Win32 SSL API :: SSL/TLS
    By kuphryn in forum Networking/Device Communication
    Replies: 0
    Last Post: 03-10-2004, 07:46 PM
  5. SAM Win2k File
    By (TNT) in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2002, 01:15 PM