cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: winnt4, making project

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 17 Nov 2000 09:45:19 +0100 (MET)

On Thu, 16 Nov 2000, Juhani Olkku wrote:

> I'm thinking that something is wrong with my compiler.

I don't think the problem is in your compiler.

> First try to compile curl example project using winnt4 and visual c 6.0,
> curl 7.4.2 package was without ssl.
>
> It cannot find .obj or lib files?
> ---
> Linking...
> curl0.obj : error LNK2001: unresolved external symbol _curl_easy_cleanup
> curl0.obj : error LNK2001: unresolved external symbol _curl_easy_perform
> curl0.obj : error LNK2001: unresolved external symbol _curl_easy_setopt
> curl0.obj : error LNK2001: unresolved external symbol _curl_easy_init
> Debug/curl0.exe : fatal error LNK1120: 4 unresolved externals

This looks like the file lib/easy.c is missing in the link phase.

> Second problem was compile whole curl, "... Run the 'vcvars32.bat' file
> to get the proper environment variables set, then run 'nmake -f
> Makefile.vc6' in the lib/ dir and then 'nmake -f Makefile.vc6' in the
> src/ dir."
>
> It crashes on:
> ----

> NMAKE : fatal error U1073: don't know how to make 'writeout.c'

So, there's something wrong in the makfile or something. The file is
src/writeout.c and you need to compile that and include the object file when
you link curl.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-11-17