curl-users
RE: problrm building curl and libcurl 7.9.8 on WIN32
Date: Thu, 1 Aug 2002 15:08:41 +0300
Shalom.
First of all, thank you for the immediate reply.
I did as you said, and added winmm.lib - that way I could compile using the
makefile.
But here again I had a problem with the multi functions. when I link
against curl static libs , everything is ok, but when I use curl dll I meet
"unresolved external symbols" again, even though multi.obj was created
during the compilation.
Any ideas?
Thanx.
Ofira.
:) Have a good day.
Ofira Shaer
ext. 4518
-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Thursday, August 01, 2002 12:34 PM
To: Shaer, Ofira
Cc: Curl Mailinglist
Subject: Re: problrm building curl and libcurl 7.9.8 on WIN32
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 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-08-01