cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: unresolved symbol in 7.14.0

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 30 Aug 2005 07:58:38 +0200 (CEST)

On Mon, 29 Aug 2005, JB wrote:

> I was under the impression from the docs that the statically compiled
> libcurl.lib also has the statically compiled ssl libraries incorporated into
> it.

You can most probably make your build do that too with a little convincing.

> libcurl.lib(timeval.obj) : error LNK2019: unresolved external symbol
> __imp__timeGetTime_at_0 referenced in function _gettimeofday
>
> Any help on dealing with this would be much appreciated!

I believe -lwinmm is the key, as used by Makefile.m32.

Or as the code comment in lib/timeval.c says:

  "Need to link against winmm.lib for this"

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-08-30