Problem building openssl on windows with cygwin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem building openssl on windows with cygwin

Urjit Gokhale
Hi,
 
I am facing problem while building openssl on my windows box (Windows 2000 Professional) with Cygwin.
 
I downloaded the source for openssl 0.9.8b.
I followed the steps given in INSTALL.W32:
1) ./config: This goes smooth without any problem
2) make: At this stage I am facing a problem. make gives me the following error
========
make[2]: Entering directory `/cygdrive/d/Downloads/openssl-0.9.8b/crypto/mdc2'
gcc -I.. -I../.. -I../../include -D_WINDLL -DOPENSSL_PIC -DOPENSSL_THREADS  -DDS
O_DLFCN -DHAVE_DLFCN_H -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486
 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRM
D160_ASM -DAES_ASM   -c -o mdc2dgst.o mdc2dgst.c
In file included from mdc2dgst.c:63:
../../include/openssl/mdc2.h:69:2: #error MDC2 is disabled.
make[2]: *** [mdc2dgst.o] Error 1
make[2]: Leaving directory `/cygdrive/d/Downloads/openssl-0.9.8b/crypto/mdc2'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/cygdrive/d/Downloads/openssl-0.9.8b/crypto'
make: *** [build_crypto] Error 1
=========
 
I don't understand what is going wrong here.
On the other hand, make depend runs fine.
 
Has anyone faced similar problem earlier and knows what is going wrong? Could someone tell me if I am missing something here?
If you need any more details, that could help you understand the situation better and provide a solution, please let me know.
 
Thank you in advance.
 
~ Urjit