I've installed the Shining Light openssl on Windows XP. I can compile and link my program using Microsoft VC++ and the libeay32MD.lib library.
When I try gcc, I get a linker error. Am I pointing to the wrong library? Do I need an additional library? Am I missing some flag? NOTE: I am not trying to build openssl. I am trying to link to the prebuilt openssl. Here's a snippet of the linker output: c:/progra~1/mingw/bin/gcc.exe -ggdb "c:/Program Files/OpenSSL/lib/MinGW/libeay32.a" "c:/Program Files/OpenSSL/lib/MinGW/ssleay32.a" crypto.o -o crypto.exe crypto.o: In function `MY_SHA1': E:\eclipse\udx/crypto.c:315: undefined reference to `SHA1' E:\eclipse\udx/crypto.c:657: undefined reference to `RSA_new' E:\eclipse\udx/crypto.c:678: undefined reference to `RSA_public_decrypt' E:\eclipse\udx/crypto.c:690: undefined reference to `RSA_free' ... -- Ken Goldman kg...@watson.ibm.com 914-784-7646 (863-7646)