Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Datacoin - Censorship-Free Data Storage
by
MarcusDe
on 28/05/2020, 16:47:00 UTC
Hi,

Guys, are you able to compile with Ubuntu 18?

I needed to upgrade pool machine from 16 -> 18 and with new openssl there are serious problems with compile:

Code:
In file included from main.h:10:0,
                 from checkpoints.cpp:11:
bignum.h:51:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
 class CBigNum : public BIGNUM
                        ^~~~~~
In file included from /usr/include/openssl/bn.h:19:0,
                 from bignum.h:10,
                 from main.h:10,
                 from checkpoints.cpp:11:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
 typedef struct bignum_st BIGNUM;
                ^~~~~~~~~
In file included from main.h:10:0,
                 from checkpoints.cpp:11:
bignum.h: In constructor ‘CBigNum::CBigNum()’:
bignum.h:56:9: error: ‘BN_init’ was not declared in this scope
         BN_init(this);
         ^~~~~~~
bignum.h:56:9: note: suggested alternative: ‘zmq_init’
         BN_init(this);
         ^~~~~~~
         zmq_init
bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
bignum.h:61:9: error: ‘BN_init’ was not declared in this scope
         BN_init(this);
         ^~~~~~~


and many more.