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 fails on RPi2 #31

Closed
esfomeado opened this issue Oct 13, 2017 · 4 comments
Closed

Build fails on RPi2 #31

esfomeado opened this issue Oct 13, 2017 · 4 comments

Comments

@esfomeado
Copy link

esfomeado commented Oct 13, 2017

val_secalgo.c:258:8: error: dereferencing pointer to incomplete type DSA_SIG {aka struct DSA_SIG_st}
dsasig->r = R;

val_secalgo.c:291:11: error: dereferencing pointer to incomplete type ECSDA_SIG {aka struct ECDSA_SIG_st}
ecdsa_sig->r = BN_bin2bn(*sig, bnzise, ecdsa_sig->r);

val_secalgo.c:509:13: error: storage size of ctx isn't know
EVP_MD_CTX ctx;

GCC: 6.3.0

@philprobinson84
Copy link

At what point in the instructions do you encounter the error?

I haven't been able to recreate this problem - having followed the instructions in README.md to build and install, my RasPi2 is now syncing with the network.
rpi2_sumo1

My install was not completely clean, so I will repeat my test using a completely clean install and make some more detailed instructions in the process.

@philprobinson84
Copy link

I get the same problem on a clean install of Raspbian Stretch. Stretch has OpenSSL 1.1 whereas Jessie used 1.0, the build fails unless OpenSSL 1.0 is used (see related monero issue: monero-project/monero#1411). Running sudo apt-get install libssl1.0-dev switches 1.1 for 1.0 and fixes this. I'll update the instructions and submit a PR shortly.

@esfomeado
Copy link
Author

I installed later the libunbound and solved the problem.

@sumoprojects
Copy link
Owner

So the issued will be closed

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

3 participants