Daniel Stenberg | 2 May 2011 11:20
Picon
Favicon
Gravatar

Re: Problem when linking libcurl with Eclipse and MinGW

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


Gmane