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

Running the make command giving the error #437

Closed
prologic-dev opened this issue Oct 17, 2018 · 5 comments
Closed

Running the make command giving the error #437

prologic-dev opened this issue Oct 17, 2018 · 5 comments

Comments

@prologic-dev
Copy link

git checkout alpha
./autogen.sh && ./configure && make

after running make here is the error i am getting

/usr/include/c++/7/bits/stl_vector.h:461:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/7/bits/stl_vector.h:482:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:204:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF);
^
In file included from /usr/include/c++/7/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/7/bits/vector.tcc:179:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/7/bits/stl_vector.h:461:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/7/bits/stl_vector.h:482:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
chainparams.cpp:205:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);
^
In file included from /usr/include/c++/7/vector:69:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/7/bits/vector.tcc:179:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator]
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/vector:64:0,
from chainparamsbase.h:9,
from chainparams.h:9,
from chainparams.cpp:6:
/usr/include/c++/7/bits/stl_vector.h:461:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^~~~~~~~
/usr/include/c++/7/bits/stl_vector.h:482:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator]
operator=(initializer_list<value_type> __l)
^~~~~~~~
Makefile:3175: recipe for target 'libbitcoin_common_a-chainparams.o' failed
make[2]: *** [libbitcoin_common_a-chainparams.o] Error 1
make[2]: Leaving directory '/var/www/html/work/python/elementproject/elements/src'
Makefile:6335: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/www/html/work/python/elementproject/elements/src'
Makefile:577: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@instagibbs
Copy link
Collaborator

instagibbs commented Oct 17, 2018 via email

@prologic-dev
Copy link
Author

yes but we need to use the https://github.com/ElementsProject/elements/blob/alpha/contrib/sidechain-manipulation.py file and this file not present in the elements-0.14.1 .

I want to run one main-chain and one side chain and use that file to check the manipulation of the coins

@prologic-dev
Copy link
Author

CXX test/test_test_elements-verify_amounts_tests.o
CXX wallet/test/test_test_elements-wallet_test_fixture.o
CXX wallet/test/test_test_elements-accounting_tests.o

CXX wallet/test/test_test_elements-wallet_tests.o
CXX wallet/test/test_test_elements-crypto_tests.o
CXXLD test/test_elements
CXX bench/bench_bench_bitcoin-bench_bitcoin.o
make[2]: *** No rule to make target 'bench/bench.cpp', needed by 'bench/bench_bench_bitcoin-bench.o'. Stop.
make[2]: Leaving directory '/var/www/html/work/python/element-project/elements/src'
Makefile:9616: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/www/html/work/python/element-project/elements/src'
Makefile:687: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Also the elements-0.14.1 is giving above error in the ubuntu 18

@instagibbs
Copy link
Collaborator

those python files aren't supported any longer, sorry. I'm not sure why you're getting a compilation error, did you run make clean first?

@prologic-dev
Copy link
Author

i was using the Apha branch
Its ok , i will use the elements-0.14.1 branch

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