curl / Mailing Lists / curl-library / Single Mail

curl-library

Problems cross-compiling with openssl 1.1.0

From: Chris Carlmar <chris_at_carlmar.no>
Date: Wed, 7 Jun 2017 17:14:10 +0200

Hi again.
I'm trying to cross compile 7.54.0 with OpenSSL 1.1.0f for powerpc-linux
and compiling fails with this:

vtls/openssl.c:279:5: error: implicit declaration of function 'RAND_egd'
[-Werror=implicit-function-declaration]

I checked lib/curl_config.h, and HAVE_RAND_EGD is set to 1.

I configure it with the following:

./configure --host powerpc-linux --with-ssl=$(SSLDIR)
--with-librtmp=$(RTMPDIR)

During the configuring, I see this which might be interesting:
checking for OpenSSL headers version... 1.1.0 - 0x1010006fL
checking for OpenSSL library version... 1.0.1

I'm guessing that configure uses my system library, Debian 8.8 with
openssl 1.0.1t-1+deb8u6, and not the OpenSSL at the path I specify.

Is there a way to make this work?

-- 
mvh
Chris
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-07