Hi everybody,
I just started studying the OpenSSL library and I already have a problem...
I´m using minGW and the OpenSSL package from http://www.slproweb.com/products/Win32OpenSSL.html
on Windows 2000.
I´m having problems when I try to compile a simple application, like the one below:
#include "openssl/bio.h"
#include "openssl/ssl.h"
#include "openssl/err.h"
int main(){
SSL_load_error_strings();
ERR_load_BIO_strings();
OpenSSL_add_all_algorithms();
return 1;
}
I get these error messages:
undefined reference to ´SSL_load_error_strings´
undefined reference to ´ERR_load_BIO_strings´
undefined reference to ´OpenSSL_add_all_algorithms´
I´ve been told to use the -llibssl32.a, -llibeay32.a commands, but nothing changed...
I use the following command to compile a file:
gcc -o test test.c
If anyone knows anything about this, P.L.E.A.S.E. help!!!
Thanks!!!
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!