Re: Use of generic name STRING in safestack.h

2009-09-21 Thread Eystein Måløy Stenberg
Thank you Stephen. I downloaded openssl-1.0.0-stable-SNAP-20090921.tar.gz, and configured it with ./Configure mingw shared. make succeeds without any modififcations. Furthrermore, the following code compiles successfully --- #include windows.h #include ntdef.h #include openssl/safestack.h int

Re: Problems linking against OpenSSL with mingw

2009-09-21 Thread Eystein Måløy Stenberg
...@princetonpayments.com wrote: From: owner-openssl-us...@openssl.org On Behalf Of Eystein Måløy Stenberg Sent: Sunday, 20 September, 2009 15:13 snip: simple example 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

Problems linking against OpenSSL with mingw

2009-09-20 Thread Eystein Måløy Stenberg
Hi all, 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

Re: Use of generic name STRING in safestack.h

2009-09-18 Thread Eystein Måløy Stenberg
Hi Steve, Thank you for your quick reply. I tried openssl-1.0.0-stable-SNAP-20090918.tar.gz, but got into some build problems again: ... rand_win.c: In function `RAND_poll': rand_win.c:517: error: `__try' undeclared (first use in this function) ... It seems like this has something to do wits MS's

Use of generic name STRING in safestack.h

2009-09-17 Thread Eystein Måløy Stenberg
HI all, I'm using OpenSSL version 1.0.0 beta3 on Windows through MinGW. The reason for using the beta version is that I get errors compiling stable versions (openssl-0.9.8h); ./Configure mingw make gives: --- Configured for mingw. making all in crypto... make[1]: Entering directory