cURL / Mailing Lists / curl-library / Single Mail


Re: Problem when linking libcurl with Eclipse and MinGW

From: Daniel Stenberg <>
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.

List admin:
Received on 2011-05-02