cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem when linking libcurl with Eclipse and MinGW

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 May 2011 11:20:09 +0200 (CEST)

On Sun, 1 May 2011, Johan Vermeire wrote:

> I always get the 'undefined reference' errors during the linker step.
> Does anybody have a solution for this?

I believe you simply put the object files and libs in the wrong order. You
should put the object files to the left and then add the necessary libs (like
-lcurl etc) on the right side on the linker command line.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-02