cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Can't find or build libcurl

From: Michael D. Spence <spence_at_panix.com>
Date: Fri, 10 Jan 2003 18:04:43 -0500

> -----Original Message-----
> From: curl-library-admin_at_lists.sourceforge.net
> [mailto:curl-library-admin_at_lists.sourceforge.net]On Behalf Of Daniel
> Stenberg
> Sent: Thursday, January 09, 2003 11:09 AM
> To: libcurl Mailing list
> Subject: RE: Can't find or build libcurl
>
>
> On Thu, 9 Jan 2003, Michael D. Spence wrote:
>
> That helped. Chugged along for a while, then this happened:
> >
> > .\url.c(962) : warning C4013: 'ENGINE_by_id' undefined;
> assuming extern
> > returning int
> > .\url.c(962) : warning C4047: '=' : 'struct engine_st *'
> differs in levels
> > of indirection from 'int '
> > .\url.c(965) : warning C4013: 'ENGINE_free' undefined;
> assuming extern
> > returning int
>
> These seem to indicate that you don't have/use the proper
> engine include file
> (openssl/engine.h). I just tried to rebuild libcurl with
> 0.9.7, and it worked
> like a charm.
>
> Those functions have their prototypes in that header file, so
> you shouldn't
> get those warnings...

I did this:

D:\curl-7.10.2>set OPENSSL_PATH=d:\openssl-0.9.7
D:\curl-7.10.2>nmake vc-ssl

Then it ran for a while, and this came out:

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I
"d:\openssl-0.9.7/inc32" /I "d:\openssl-0.9.7/inc32/openssl" /I ".
./include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD
/c /D "MSDOS" /Fo".\release-ssl\url.obj" .\
url.c
url.c
.\url.c(962) : warning C4013: 'ENGINE_by_id' undefined; assuming extern
returning int
.\url.c(962) : warning C4047: '=' : 'struct engine_st *' differs in levels
of indirection from 'int '
.\url.c(965) : warning C4013: 'ENGINE_free' undefined; assuming extern
returning int
.\url.c(985) : warning C4013: 'ENGINE_set_default' undefined; assuming
extern returning int
.\url.c(985) : error C2065: 'ENGINE_METHOD_ALL' : undeclared identifier
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1\VC98\BIN\NMAKE.EXE' :
return code '0x2'
Stop.

D:\curl-7.10.2>

Now in the command line that failed, I see this: /I
"d:\openssl-0.9.7/inc32/openssl"

And in that directory, there's an engine.h:

D:\curl-7.10.2>dir "d:\openssl-0.9.7/inc32/openssl\engine.h"
 Volume in drive D has no label.
 Volume Serial Number is 9C5B-695C

 Directory of d:\openssl-0.9.7\inc32\openssl

10/15/02 09:32p 35,774 engine.h
               1 File(s) 35,774 bytes
                          2,756,804,608 bytes free

D:\curl-7.10.2>

So I'm really confused, now. I looked in engine.h and ENGINE_by_id() is
indeed defined. Can you give me any other advice?

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-11