cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unable to build dll version of curl 7.36.0 on Windows

From: Mihai Hanor <mhanor_at_yahoo.com>
Date: Sun, 13 Apr 2014 09:29:17 -0700 (PDT)

Building the dll version of curl 7.36.0 (MSVC 10), on Windows, fails when linking, with this error message:
tool_cb_rear.obj : error LNK2019: unresolved external symbol curlx_read referenced in function tool_read_cb

As I see it, BUILDING_WARNLESS_C should be defined in lib/warnless.h, not in lib/warnless.c. At least, with this modification, I can successfully build the dll. The affected file in the git repository is unchanged in this regard, so I assume this is not fixed.

The issue was also reported here:
http://curl.haxx.se/mail/archive-2014-03/0059.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-13