cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: RE: RE: RE: Linker errors when statically compiled linkinglibcurl+openssl to my project

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Thu, 25 Aug 2011 23:49:13 +0200

"Steve Holme" <steve_holme_at_hotmail.com> wrote:

> I use Visual Studio (and have solution and project files for .NET 2003
> (v7.1), 2005 (v8.0), 2008 (v9.0) and 2010 (v10.0)) and have them configured
> to build against OpenSSL (as a DLL rather than statically) and to include

Visual Studio uses a 2 pass linker. gnu-ld does not. The OP may have to
reorder the libs in the link-command. -lws2_32 (missing htonl_at_4 etc.)
should come after all other libs referring to those functions.

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-25