cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-686328 ] cUrl 7.10.3 does not compile with openssl-0.9.7

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 13 Feb 2003 17:33:56 -0800

Bugs item #686328, was opened at 2003-02-13 17:33
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=686328&group_id=976

Category: compile or build problem
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: cUrl 7.10.3 does not compile with openssl-0.9.7

Initial Comment:
The output of "make" was:
---8<---
gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2
-MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -fPIC
-DPIC -o .libs/file.lo
In file included from file.c:81:
urldata.h:118: conflicting types for `ENGINE'
/usr/include/openssl/ossl_typ.h:116: previous
declaration of `ENGINE'
make[2]: *** [file.lo] Error 1
---8<---

The following change in lib/urldata.h solves that
problem (I think - at least the compiling and "make
check" succeeded then... ;-)

I changed
---8<---
#ifndef HAVE_OPENSSL_ENGINE_H
typedef void ENGINE;
#endif
---8<---
to
---8<---
#ifndef HAVE_OPENSSL_ENGINE_H
  //typedef void ENGINE;
#endif
---8<---

Some environment infos:
# uname -a
Linux linserv 2.4.20 #3 Sun Feb 9 20:42:09 MST 2003
i586 unknown
# make --version
GNU Make 3.80
# gcc --version
gcc (GCC) 3.2.1

Only, if on interest: the definition of ENGINE in
/usr/include/openssl/ossl_typ.h is
---8<---
typedef struct engine_st ENGINE;
---8<---

Cheers,
Matthias

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=686328&group_id=976

-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
Received on 2003-02-14