cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Hello everyone and undefined reference to....

From: Michael Wood <esiotrot_at_gmail.com>
Date: Thu, 19 Mar 2009 10:49:12 +0200

On Thu, Mar 19, 2009 at 12:28 AM, Pierre ANCELOT <pierreact_at_gmail.com> wrote:
> Hello everyone,
>
> I'm running into an issue with libcurl which is most likely to be my fault,
> still, I couldn't yet guess what.
>
> First some small background:
> I run on a windows XP pro and use mingw.
> I downloaded precompiled version of libcurl and after had the issue
> downloaded the source and compiled it by myself (without any issue). I now
> only want to concentrate on the version I compiled.
>
> I'm having the following error when compiling my app against libcurl:
>
>   [Linker Error] undefined reference to `_imp__curl_global_init'

This is covered in the FAQ:

http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur

See also:
http://lists-archives.org/mingw-users/11150-_imp__-error-on-mingw.html

-- 
Michael Wood <esiotrot_at_gmail.com>
Received on 2009-03-19