cURL / Mailing Lists / curl-library / Single Mail

curl-library

mingw dev package

From: C.Alvarez <carlos_at_ref2000.com>
Date: Mon, 30 May 2005 14:07:49 +0200

I just got a linking problem with curl 7.13.0 ssl devel for mingw32.
In the package, we can see a static library and a dynamic library. Linking the dynamic library (libcurldll.a) works very well, but linking the static library (libcurl.a) fails :

Linking...
httpreq.o:httpreq.cpp:(.text+0x92): undefined reference to `_imp__curl_free'
httpreq.o:httpreq.cpp:(.text+0x9b): undefined reference to `_imp__curl_free'
httpreq.o:httpreq.cpp:(.text+0xc9): undefined reference to `_imp__curl_easy_init'
httpreq.o:httpreq.cpp:(.text+0x136): undefined reference to `_imp__curl_easy_setopt'
httpreq.o:httpreq.cpp:(.text+0x151): undefined reference to `_imp__curl_easy_setopt'
httpreq.o:httpreq.cpp:(.text+0x167): undefined reference to `_imp__curl_easy_setopt'
httpreq.o:httpreq.cpp:(.text+0x180): undefined reference to `_imp__curl_easy_setopt'
httpreq.o:httpreq.cpp:(.text+0x19c): undefined reference to `_imp__curl_easy_setopt'
httpreq.o:httpreq.cpp:(.text+0x1b8): more undefined references to `_imp__curl_easy_setopt' follow
httpreq.o:httpreq.cpp:(.text+0x1fc): undefined reference to `_imp__curl_easy_perform'
httpreq.o:httpreq.cpp:(.text+0x207): undefined reference to `_imp__curl_easy_cleanup'
collect2: ld returned 1 exit status

Is there something I forgoten, or is the package broken ?
Received on 2005-05-30