News:

Are you new to Groestlcoin and have questions you are afraid to ask?
Check out the New Users board and post there.
Welcome to all newcomers.

Main Menu

Groestlcoin Core on Linux - compile error

Started by ilija_gromovnik, November 07, 2017, 03:00:52 PM

Previous topic - Next topic

ilija_gromovnik

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

#######
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

jackielove4u

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.