Hi there, I am trying to cross compile openssl 1.0.0beta4 on my Linux box. I am using mingw-w32 (http://sourceforge.net/projects/mingw-w64/files/ Toolchains%20targetting%20Win32/Release%20for%20GCC%204.4.1/mingw-w32- bin_x86-64-linux_4.4.1a.tar.bz2/download).
$ export CC=/home/zmichl/tools/mingw-w32/bin/i686-w64-mingw32-gcc $ ./Configure mingw shared $ make ... /home/zmichl/tools/mingw-w32/bin/i686-w64-mingw32-gcc -I.. -I../.. - I../asn1 -I../evp -I../../include -D_WINDLL -DOPENSSL_USE_APPLINK - DOPENSSL_PIC -DOPENSSL_THREADS -DDSO_WIN32 -mno-cygwin -DL_ENDIAN - DOPENSSL_NO_CAPIENG -fomit-frame-pointer -O3 -march=i486 -Wall - DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT - DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM - DWHIRLPOOL_ASM -c -o err_all.o err_all.c In file included from err_all.c:96: ../../include/openssl/ocsp.h:206: error: expected specifier-qualifier- list before '(' token ../../include/openssl/ocsp.h:350: error: expected specifier-qualifier- list before '(' token ../../include/openssl/ocsp.h:416: error: expected declaration specifiers or '...' before '(' token ../../include/openssl/ocsp.h:427: error: expected declaration specifiers or '...' before '(' token ../../include/openssl/ocsp.h:487: error: expected declaration specifiers or '...' before '(' token make[2]: *** [err_all.o] Error 1 make[2]: Leaving directory `/tmp/x/openssl-1.0.0-beta4/crypto/err' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/tmp/x/openssl-1.0.0-beta4/crypto' make: *** [build_crypto] Error 1 Any hints please? Thanks Zbynek ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org