Hi, I try to compile the latest openssl (1.0.2a) with Mingw-w64. The compiling part looks fine. If there only wasn't this nasty link problem at the end (see end of mail). I configured it with: ./Configure mingw64 shared --prefix=/usr/local My build environment and configuration cannot be that wrong, since it works with version 1.0.1m. Ok, works except for the installation, but I can live without this step. Any ideas? Guido libcrypto.a(aesni-sha256-x86_64.o):fake:(.pdata+0x0): undefined reference to `.L SEH_begin_aesni_cbc_sha256_enc_xop' libcrypto.a(aesni-sha256-x86_64.o):fake:(.pdata+0x4): undefined reference to `.L SEH_end_aesni_cbc_sha256_enc_xop' libcrypto.a(aesni-sha256-x86_64.o):fake:(.pdata+0x8): undefined reference to `.L SEH_info_aesni_cbc_sha256_enc_xop' libcrypto.a(aesni-sha256-x86_64.o):fake:(.pdata+0xc): undefined reference to `.L SEH_begin_aesni_cbc_sha256_enc_avx' libcrypto.a(aesni-sha256-x86_64.o):fake:(.pdata+0x10): undefined reference to `. LSEH_end_aesni_cbc_sha256_enc_avx' libcrypto.a(aesni-sha256-x86_64.o):fake:(.pdata+0x14): undefined reference to `. LSEH_info_aesni_cbc_sha256_enc_avx' collect2.exe: error: ld returned 1 exit status Makefile.shared:279: recipe for target 'link_a.cygwin' failed make[4]: *** [link_a.cygwin] Error 1 make[4]: Leaving directory 'C:/Users/wargand/openssl-1.0.2a' Makefile:349: recipe for target 'do_cygwin-shared' failed make[3]: *** [do_cygwin-shared] Error 2 make[3]: Leaving directory 'C:/Users/wargand/openssl-1.0.2a' Makefile:302: recipe for target 'libcrypto.dll.a' failed make[2]: *** [libcrypto.dll.a] Error 2 make[2]: Leaving directory 'C:/Users/wargand/openssl-1.0.2a' Makefile:109: recipe for target 'shared' failed make[1]: *** [shared] Error 2 make[1]: Leaving directory 'C:/Users/wargand/openssl-1.0.2a/crypto' Makefile:279: recipe for target 'build_crypto' failed make: *** [build_crypto] Error 1