cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 13 Apr 2014 20:13:58 +0200 (CEST)

On Sun, 13 Apr 2014, Mihai Hanor wrote:

> 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.

It _is_ fixed in git, just possibly not the same way you did it. I'm of course
interested in getting to know if it somehow isn't complete...

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