Hi,
I use a 64-bit MinGW (gcc-4.7.0) compiler on Windows Vista64.
=====
Issue 1
=====
Having run configure, make croaks with undefined references to `rc4_md5_enc'
in libcrypto.a.
I can find the rc4_md5_enc prototype in
openssl-1.0.1b\crypto\evp\e_rc4_hmac_md5.c
but that's all. How does one fix this problem ?
One solution seems to be to supply the "no-asm" arg to configure. Is that
the only solution ?
=====
Issue 2
=====
My "gcc.exe" is actually called "x86_64-w64-mingw32-gcc.exe".
That's not a problem - I just supply configure with the
"os/compiler:x86_64-w64-mingw32-gcc" argument.
But my 'ar.exe' and 'nm.exe' are also prefixed with "x86_64-w64-mingw32-".
How do I tell configure about that ?
(Currently, I just modify the Makefile that configure generates - but that's
a bit of a nuisance. Perhaps the problem arises because there's also an
"ar.exe" and "nm.exe" in the path ?)
=====
Issue 3
=====
I always have to modify the generated include/openssl/ocsp.h by inserting:
#if defined(OPENSSL_SYS_WINDOWS)
#include <windows.h>
#undef X509_NAME
#undef X509_EXTENSIONS
#undef X509_CERT_PAIR
#undef PKCS7_ISSUER_AND_SERIAL
#undef OCSP_REQUEST
#undef OCSP_RESPONSE
#endif
near the beginning of that file. (All of those undeffed symbols have been
defined by wincrypt.h. I don't know why my 32-bit builds are not similarly
afflicted, as the 32-bit wincrypt.h also defines some, if not all, of those
symbols. I haven't gone digging.)
None of the above issues arise when I build with my 32-bit gcc-4.5.2. I can
run simply:
./config no-shared zlib -I/usr/local/include -L/usr/local/lib && make
and all goes fine.
The actual command that I ran to finally build the x64 version was:
./config no-shared no-asm zlib
os/compiler:x86_64-w64-mingw32-gcc -IC:/_64/msys/1.0/local_470/include -LC:/_64/msys/1.0/local_470/lib
-lz -lws2_32 -lgdi32 -lcrypt32 --prefix=C:/_64/msys/1.0/local_470
I'd like to be able to leave out the "no-asm" switch, and I'd like to not
have to make manual alterations to any of the generated files.
Any pointers as to how that can be achieved would be most welcome.
Cheers,
Rob
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org