<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><body>Anton,<br/><br/>Does the  ./configure script under stunnel-4.53 finish OK? I also think that you should pass a parameter to force the cross compilation of stunnel. It could be using the default system compiler. Maybe set CC, GCC environment vars to point to the cross compiler path before running ./configure: eg<br/><br/> export CC=/usr/pathtomingwgcc/bin/gcc<br/><br/>Enjoy!<br/><hr/><div><b>From: </b> Anton Tkachev <anton.tkachev@gmail.com>
</div><div><b>Date: </b>Fri, 20 Jul 2012 21:44:09 +0700</div><div><b>To: </b><josealf@rocketmail.com></div><div><b>Cc: </b><stunnel-users-bounces@stunnel.org>; <stunnel-users@stunnel.org></div><div><b>Subject: </b>Re: [stunnel-users] Build stunnel 4.53 binaries for windows error</div><div><br/></div>Hey Jose,<br>Thank you for your response!<br><br>> You cross compiled your openssl 1.01c for mingw32, right?<br>Yes, I used <br>./Configure --cross-compile-prefix=i586-mingw32msvc- mingw shared zlib-dynamic<br>command.<br>

<br>> Try passing the path of your mingw32 openssl includes and libs to stunnel configure:<br>
> <br>
> --with-openssl*=<br>
> <br>
> Do configure --help to see the exact syntax.<br><br>Do you mean<br>./configure --with-ssl=/usr/src/openssl-1.0.1c-i586 --includedir=/usr/i586-mingw32msvc/include --libdir=/usr/i586-mingw32msvc/lib <br>?<br>Unfortunately 'make stunnel.exe' returns the same error in this case.<br>

<br><div class="gmail_quote">2012/7/20  <span dir="ltr"><<a href="mailto:josealf@rocketmail.com" target="_blank">josealf@rocketmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Anton,<br>
<br>
Ahh... The joys of cross compiling!<br>
<br>
You cross compiled your openssl 1.01c for mingw32, right? Or you installed the mingw32 version. �Try passing the path of your mingw32 openssl includes and libs to stunnel configure:<br>
<br>
--with-openssl*=<br>
<br>
Do configure --help to see the exact syntax.<br>
<br>
Let us know how it goes.<br>
-----Original Message-----<br>
From: Anton Tkachev <<a href="mailto:anton.tkachev@gmail.com">anton.tkachev@gmail.com</a>><br>
Sender: <a href="mailto:stunnel-users-bounces@stunnel.org">stunnel-users-bounces@stunnel.org</a><br>
Date: Fri, 20 Jul 2012 16:28:57<br>
To: <<a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a>><br>
Subject: [stunnel-users] Build stunnel 4.53 binaries for windows error<br>
<br>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br>
<a href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users" target="_blank">http://stunnel.mirt.net/mailman/listinfo/stunnel-users</a><br>
<br>
<br>
<br>
</blockquote></div><br>

</body></html>