cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Mike Dobbs <sales_at_mdobbs.com>
Date: Tue, 15 Feb 2005 22:38:04 -0600

Message: 9 Date: Fri, 11 Feb 2005 08:02:25 +0100 From: Gisle Vanem
Subject: Re: Mingw can't compile undefined reference to `_imp_ To:
libcurl development <curl-library_at_cool.haxx.se> Message-ID:
<14b201c51007$a406c610$0600000a_at_broadpark.no> Content-Type: text/plain;
format=flowed; charset=iso-8859-1; reply-type=response "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

Yep that did it. I just wish this was either generated with configure
or included in the INSTALL file. Thanks.
Mike
Received on 2005-02-16