Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-11 Thread Peter Mosmans
openssl 1.0.1 compilable on MinGW Linda Zhang lind...@qq.com wrote: 2. There is a conflict of the order of winsock2.h and windows.h in some source files so that the compiler shows error messages: #error ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead

[PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread Linda Zhang
Hello, OpenSSL 1.0.1 can't be compiled on MinGW because of 2 bugs: 1. There is a bad configuration of output format of asm files. 2. There is a conflict of the order of winsock2.h and windows.h in some source files so that the compiler shows error messages: #error ws2tcpip.h is not

Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread Gisle Vanem
Linda Zhang lind...@qq.com wrote: 2. There is a conflict of the order of winsock2.h and windows.h in some source files so that the compiler shows error messages: #error ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead. mingw32-make: *** [tmp\t1_lib.o] Error 1

Re: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread Linda Zhang
, Linda Zhang 发件人: Gisle Vanem 发送时间: 2014-08-10 19:45:04 收件人: openssl-dev@openssl.org; lind...@qq.com 抄送: 主题: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW Linda Zhang lind...@qq.com wrote: 2. There is a conflict of the order of winsock2.h and windows.h in some source files so

Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread Support
\mingw32.bat works without error. Maybe we should fix something of mingw building scripts? Regards, Linda Zhang 发件人: Gisle Vanem 发送时间: 2014-08-10 19:45:04 收件人: openssl-dev@openssl.org; lind...@qq.com 抄送: 主题: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW Linda Zhang lind

Re: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread Gisle Vanem
Linda Zhang lind...@qq.com wrote: So, I build openssl with command line ms\mingw32.bat. It seems there must be something wrong that it didn't pass CFLAGS configured by perl Configure mingw to gcc. OpenSSL (on Windows at least) is close to the package from hell. Someone here remember gettext?

Re: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread dcruette
Hi Gisle I contribute to the openssl-testing group by providing regular results of compilation/test for various platforms (Linux Ubuntu 32b i386, Linux Raspberry ARM, Windows 7 32b i386, may be OpenBSD Raspberry ARM in the future) Could someone communicate on the - must have (pre requisite for

Re: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread Linda Zhang
should fix something of mingw building scripts? Regards, Linda Zhang 发件人: Gisle Vanem 发送时间: 2014-08-10 19:45:04 收件人: openssl-dev@openssl.org; lind...@qq.com 抄送: 主题: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW Linda Zhang lind...@qq.com wrote: 2

Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread dcruette
. Maybe we should fix something of mingw building scripts? Regards, Linda Zhang 发件人: Gisle Vanem 发送时间: 2014-08-10 19:45:04 收件人: openssl-dev@openssl.org; lind...@qq.com 抄送: 主题: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW Linda Zhang lind...@qq.com wrote: 2. There is a conflict