error: implicit declaration of function 'RAND_egd'
Date: Mon, 23 Mar 2020 17:42:22 -0400
Hi Everyone,
I'm building curl-7.69.1.tar.gz on NetBSD 8.1 x86_64, fully patched.
curl and all of its dependencies are built and installed into
--prefix=$HOME/tmp. RPATHs are set so objects can find the right
components. PKG_CONFIG_PATH is also set, and it is
PKG_CONFIG_PATH=$HOME/tmp/lib/pkgconfig.
I'm also using OpenSSL 1.1.e, and it is installed in $HOME/tmp too.
But to complicate matters:
$ /usr/bin/openssl version
OpenSSL 1.0.2k 26 Jan 2017
Configure goes well but compile is failing:
libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING
_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /home/jwalton/tmp/include -DNDEBUG -I/ho
me/jwalton/tmp/include -I/home/jwalton/tmp/include -I/home/jwalton/tmp/include -
I/home/jwalton/tmp/include -fvisibility=hidden -fPIC -pthread -Werror-implicit-f
unction-declaration -O2 -Wno-system-headers -MT vtls/libcurl_la-openssl.lo -MD -
MP -MF vtls/.deps/libcurl_la-openssl.Tpo -c vtls/openssl.c -fPIC -DPIC -o vtls/
.libs/libcurl_la-openssl.o
vtls/openssl.c: In function 'Curl_ossl_seed':
vtls/openssl.c:500:15: error: implicit declaration of function
'RAND_egd' [-Werror=implicit-function-declaration]
int ret = RAND_egd(data->set.str[STRING_SSL_EGDSOCKET]?
^
Any ideas?
Thanks in advance.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
- application/zip attachment: config.log.zip