-
Notifications
You must be signed in to change notification settings - Fork 780
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
Cannot compile on Unbuntu 16.04 #196
Comments
GCC 5.4 is the highest available in the Ubuntu 16.04 PPAs, but it's not the latest version. I recommend installing GCC 7.1+. You also have two alternative options:
|
I upgraded to gcc version 7.1.0 (Ubuntu 7.1.0-10ubuntu1~16.04.york0) |
There should be more info about the error above this failure message. Can you provide that? |
Not sure if that helps but here is the complete output for make:
|
You need to regenerate your makefiles: |
Nope - done that already and it gives me the same result. |
@axelay I've had the issue. It started happening immediately after some cleanup of the seeder code. Cleaning my build dir, and rerunning the commands I listed above fixed it. |
I have now successfully compiled it and it's running - I cloned the repository again in the end just to make sure I had nothing left that could mess things up. |
@axelay How to solve it? Do you remember? Because I've had this problem, too. |
Required for fixing Bitcoin-ABC#196. Offers all fundamental integer types, so should be robust against any size type definition imaginable. Also solves undefined behaviour for e.g. `UniValue(NaN).typ` and some nits. Test plan: `ninja check-univalue all check`
Make UniValue accept any integer type (Bitcoin-ABC#196) Closes Bitcoin-ABC#196 See merge request bitcoin-cash-node/bitcoin-cash-node!870
you started all from begining? |
Cannot compile as the title says
~/bitcoin-abc$ make
Making all in src
make[1]: Entering directory '/home/ubuntu/bitcoin-abc/src'
make[2]: Entering directory '/home/ubuntu/bitcoin-abc/src'
make[2]: *** No rule to make target 'seeder/dns.c', needed by 'seeder/libbitcoin_seeder_a-dns.o'. Stop.
make[2]: Leaving directory '/home/ubuntu/bitcoin-abc/src'
Makefile:9780: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/bitcoin-abc/src'
Makefile:722: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
GCC is up to date: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
Any ideas?
The text was updated successfully, but these errors were encountered: