Groestlcoin Forum

Groestl => Technical Support => Topic started by: ilija_gromovnik on November 07, 2017, 03:00:52 PM

Title: Groestlcoin Core on Linux - compile error
Post by: ilija_gromovnik on November 07, 2017, 03:00:52 PM
Hi to all,
I tried to compile GRS Core on my Debian(Testing). All clear, except when I try 'make':
-- following instructions via http://groestlcoin.org/forum/index.php?topic=97.0 (http://groestlcoin.org/forum/index.php?topic=97.0)

#######
Makefile:4885: recipe for target 'libgroestlcoin_common_a-groestlcoin.o' failed
make[2]: *** [libgroestlcoin_common_a-groestlcoin.o] Error 1
make[2]: Leaving directory '~/GRS/groestlcoin/src'
Makefile:8944: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '~/GRS/groestlcoin/src'
Makefile:685: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
////////////////
Error:
  CXX      libgroestlcoin_common_a-base58.o
  CXX      libgroestlcoin_common_a-groestlcoin.o
In file included from groestlcoin.cpp:19:0:
bignum.h:51:24: error: invalid use of incomplete type 'BIGNUM {aka struct bignum_st}'
class CBigNum : public BIGNUM

Seems it is related to SSl 1.0 vs SSL 1.1
https://www.openssl.org/docs/man1.1.0/crypto/BN_new.html

#######

any ideas?

Very much appreciated,
Tomislav
Title: Re: Groestlcoin Core on Linux - compile error
Post by: jackielove4u on November 08, 2017, 11:08:05 AM
This is caused by the backwards incompatible changes in OpenSSL v1.1
You should compile against OpenSSL v1.0, most linux distros have instructions for that because more applications suffer this upgrade.