Re: Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Félix Robles
I modified configure.ac , I'll try ./buildconf and see what happens. Thanks for the info. Kind regards, Felix Robles On Mon, Dec 29, 2014 at 12:07 AM, Steve Holme wrote: > On Sun, 28 Dec 2014, Félix Robles wrote: > > > This is out of my area of expertise, but I've tried option a) and it > > doe

RE: Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Steve Holme
On Sun, 28 Dec 2014, Félix Robles wrote: > This is out of my area of expertise, but I've tried option a) and it > doesn't seem to solve it. I mean, with that -lgdi32 still shows up > before -lssl -lcrypto . So unfortunately I still have the same problem. Are you working with a download of the cur

Re: Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Félix Robles
This is out of my area of expertise, but I've tried option a) and it doesn't seem to solve it. I mean, with that -lgdi32 still shows up before -lssl -lcrypto . So unfortunately I still have the same problem. Kind regards, Félix Robles On Sun, Dec 28, 2014 at 9:24 PM, Steve Holme wrote: > On Sun

RE: Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Steve Holme
On Sun, 28 Dec 2014, Gisle Vanem wrote: > '-lgdi32' must come after the libs using it. So: >-L/usr/local/ssl/lib ../lib/.libs/libcurl.a -lssl -lcrypto -lgdi32 -lws2_32 > > should work. No idea why that isn't done already. I'm certainly no configure expert, and don’t run MinGW either, but look

Re: Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Daniel Stenberg
On Sun, 28 Dec 2014, Gisle Vanem wrote: '-lgdi32' must come after the libs using it. So: -L/usr/local/ssl/lib ../lib/.libs/libcurl.a -lssl -lcrypto -lgdi32 -lws2_32 should work. No idea why that isn't done already. My guess is that not that many people cross-compile for windows so it hasn't

Re: Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Gisle Vanem
Félix Robles wrote: curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o -L/usr/local/ssl/lib ../lib/.libs/libcurl.a -lgdi32 -lssl -lcrypto -lws2_32 '-lgdi32' must come after the libs using it. So: -L/usr/local/ssl/lib ../lib/.libs/l

Cross-compiling linux to windows and OpenSSL

2014-12-28 Thread Félix Robles
Hi everybody, I'm on ubuntu 14.04 64 bits, and I'm trying to cross compile libcurl as a static library with OpenSSL to windows 64bits using mingw32, but I get an error. First I cross compile statically OpenSSL 1.0.1j : cd openssl-1.0.1j/ export CROSS_COMPILE="x86_64-w64-mingw32-" ./Configure min

Re: Duplicate DNS Requests using cURL and C-ARES

2014-12-28 Thread Daniel Stenberg
On Tue, 25 Nov 2014, Josh Russell wrote: What I'm finding is that when I make a few requests to various URLs on the same domain multiple DNS requests are made for the same domain. Once the first DNS response returned its cached I don't see any more requests for that domain - as expected. The