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 main() { OPENSSL_STRING a; STRING b; return 0; } --- with "gcc -I/usr/local/ssl/include ntt.c". This shows that the problem with the generic string name is solved. I will test more advanced code later, and let you know if I run into any trouble. Best regards, Eystein On Sun, Sep 20, 2009 at 3:31 PM, Dr. Stephen Henson <st...@openssl.org> wrote: > On Fri, Sep 18, 2009, Eystein Mly Stenberg wrote: > >> 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 "Structured Exception >> Handling", which is not supported on gcc? >> Unfortunately, I do not have time to dig into this right now. >> >> As for the original problem, I see that the problematic line in >> safestack.h now reads "typedef char *OPENSSL_STRING;". >> This should definitely fix the problem. >> I'll try to report back to you if I manage to compile snapshots with >> gcc some day... >> > > I've updated the code to only use __try/__except on VC++. Please try the next > snapshots on mingw. > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-us...@openssl.org > Automated List Manager majord...@openssl.org > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org