cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problrm building curl and libcurl 7.9.8 on WIN32

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Aug 2002 11:33:46 +0200 (MET DST)

On Thu, 1 Aug 2002, Shaer, Ofira wrote:

> libcurl.lib(timeval.obj) : error LNK2001: unresolved external symbol
> __imp__time
> GetTime_at_0
> curl.exe : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link.exe' : return code '0x460'

This is because you need to link with the winmm.lib too. It was not included
in the lib/Makefile.vc6 properly in the 7.9.8 release. It is fixed in CVS
though.

> I have also tried to compile with the dsw(which did not include multi.h and
> multi.c – I have added them myself – I hope it was right to do…), -

Correct.

> multi-app.obj : error LNK2001: unresolved external symbol
> _curl_multi_cleanup
> multi-app.obj : error LNK2001: unresolved external symbol _select_at_20
> multi-app.obj : error LNK2001: unresolved external symbol _curl_multi_fdset

This looks like you're missing the lib/multi.c symbols anyway. Doublecheck
that you really build and include the lib/multi.o when the library is
created.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-08-01