cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Mingw can't compile undefined reference to `_imp_

From: Gisle Vanem <giva_at_bgnett.no>
Date: Fri, 11 Feb 2005 08:02:25 +0100

"Mike Dobbs" wrote:

> All I can find is a reference to include -DCURL_STATICLIB
> -DBUILDING_LIBCURL in the flags when using liburl.
>
> What's going on here? Does this just not work with mingw? Where do I
> get a static mingw non ssl lib from?

Try the lib\makefile.m32 file. It has a "-DBUILDING_LIBCURL" which the
generated makefile seems to miss.

--gv
Received on 2005-02-11