cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1212940 ] curl does not detect cares on mingw

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 01 Jun 2005 11:34:37 -0700

Bugs item #1212940, was opened at 2005-06-01 20:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1212940&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Tupone Alfredo (atupone)
Assigned to: Daniel Stenberg (bagder)
Summary: curl does not detect cares on mingw

Initial Comment:
I'm building curl for windows in linux, using mingw. I
have build c-ares.
If I configure curl with the following command :

../curl-7.14.0/configure --host=i386-mingw32msvc
--build=i686-pc-linux-gnu --prefix=/opt/xmingw
--enable-ares --disable-shared

it does think c-ares is badly installed, while is
missing the windows library it need to link for network
access.

The problem is that the link command is similar to

gcc test -lws2_32 -lcares

while it should be

gcc test -lcares -lws2_32

and that is due to have in configure.ac, just before
testing c-ares:

LIBS="$LIBS -lcares"

while it should be:

LIBS=" -lcares $LIBS"

well, I used AC_CHECK_LIB to do that, in the patch file
to configure.ac, attached

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1212940&group_id=976
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-tracker
Received on 2005-06-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET