> From: Eystein Måløy Stenberg > > I manage to build OpenSSL beta3 successfully on two mingw > installations - one on 32 bit WinXP (mingw.org), and one on 64 bit > Vista (http://sourceforge.net/projects/mingw-w64/). > I use "./Configure mingw shared" and "./Configure mingw64 no-asm > no-shared", respectively (followed by make, make install). > > However, the problem is that I can not link to *any* functions in the > openssl libraries... > > ... > > I try to compile it, on both mingw installations, with: "gcc > -I/usr/local/ssl/include -L/usr/local/ssl/lib -lcrypto aes.c", which > gives: > --- > C:\Users\Limit\AppData\Local\Temp\ccwPokzy.o:aes.c:(.text+0xe): > undefined reference to `EVP_aes_256_cbc' > collect2: ld returned 1 exit status > ---
Try linking against libcrypto ;). "gcc -I/usr/local/ssl/include -L/usr/local/ssl/lib ses.c -lcrypto" might work. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org