Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #55

Open
rianby64 opened this issue Nov 1, 2021 · 1 comment
Open

Build error #55

rianby64 opened this issue Nov 1, 2021 · 1 comment

Comments

@rianby64
Copy link

rianby64 commented Nov 1, 2021

The execution of this

podman run -it ubuntu:bionic
apt-get update
apt-get upgrade
apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler qt5-default build-essential libtool autotools-dev automake pkg-config libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libgmp3-dev libdb-dev libdb++-dev libgmp3-dev lzma-dev libssl-dev zlib1g-dev zlib1g libgmp-dev git wget
git clone https://github.com/pepeteam/pepecoin.git
cd pepecoin
qmake
make -j2 -f Makefile USE_UPNP=0

ends up with the following error:

src/tests.c: In function 'test_ecdsa_der_parse':
src/tests.c:3561:52: error: dereferencing pointer to incomplete type 'ECDSA_SIG {aka struct ECDSA_SIG_st}'
         valid_openssl = !BN_is_negative(sig_openssl->r) && !BN_is_negative(sig_openssl->s) && BN_num_bits(sig_openssl->r) > 0 && BN_num_bits(sig_openssl->r) <= 256 && BN_num_bits(sig_openssl->s) > 0 && BN_num_bits(sig_openssl->s) <= 256;
                                                    ^~
Makefile:933: recipe for target 'src/tests-tests.o' failed
make[1]: *** [src/tests-tests.o] Error 1
make[1]: Leaving directory '/pepecoin/src/secp256k1'
Makefile:962: recipe for target '/pepecoin/src/secp256k1/src/libsecp256k1_la-secp256k1.o' failed
make: *** [/pepecoin/src/secp256k1/src/libsecp256k1_la-secp256k1.o] Error 2
make: *** Waiting for unfinished jobs....
@crypt0pepe
Copy link

You need to change libssl-dev to libssl1.0-dev in the apt-get line:

apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler qt5-default build-essential libtool autotools-dev automake pkg-config libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libgmp3-dev libdb-dev libdb++-dev libgmp3-dev lzma-dev libssl1.0-dev zlib1g-dev zlib1g libgmp-dev git wget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants