You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error when running make -j4 (error shown below). I am somewhat of a novice when it comes to make. I believe I have all of the dependencies installed, but it's possible that I missed something. I'm on Ubuntu 22.04.1 LTS 64 bit.
ERROR:
[ 7%] Building CXX object src/lib/consensus/CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o
cd /home/keith/Crypto/metaverse/build/src/lib/consensus && /usr/bin/c++ -DBCK_STATIC=1 -DBOOST_ALL_NO_LIB -DHAVE_BYTESWAP_H -DHAVE_DECL_BE16TOH=1 -DHAVE_DECL_BE32TOH=1 -DHAVE_DECL_BE64TOH=1 -DHAVE_DECL_BSWAP_16=1 -DHAVE_DECL_BSWAP_32=1 -DHAVE_DECL_BSWAP_64=1 -DHAVE_DECL_HTOBE16=1 -DHAVE_DECL_HTOBE32=1 -DHAVE_DECL_HTOBE64=1 -DHAVE_DECL_HTOLE16=1 -DHAVE_DECL_HTOLE32=1 -DHAVE_DECL_HTOLE64=1 -DHAVE_DECL_LE16TOH=1 -DHAVE_DECL_LE32TOH=1 -DHAVE_DECL_LE64TOH=1 -DHAVE_ENDIAN_H -I/home/keith/Crypto/metaverse/contrib -I/home/keith/Crypto/metaverse/include -I/home/keith/Crypto/metaverse/src/lib/consensus/clone -std=c++14 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-type-limits -Wno-deprecated-declarations -Werror -pthread -fno-enforce-eh-specs -fnothrow-opt -Wno-reorder -Wno-ignored-qualifiers -Wno-unused-function -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-but-set-parameter -Wno-implicit-fallthrough -Wno-parentheses -fpermissive -O3 -DNDEBUG -MD -MT src/lib/consensus/CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o -MF CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o.d -o CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o -c /home/keith/Crypto/metaverse/src/lib/consensus/clone/crypto/ripemd160.cpp
In file included from /usr/include/c++/11/vector:60,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.h:28,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.cpp:24:
In static member function ‘static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*) [with _Tp = unsigned char; bool _IsMove = true]’,
inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:495:30,
inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:522:42,
inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:529:31,
inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = std::move_iterator<unsigned char*>; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:620:7,
inlined from ‘static _ForwardIterator std::__uninitialized_copy::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11/bits/stl_uninitialized.h:110:27,
inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11/bits/stl_uninitialized.h:151:15,
inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_uninitialized.h:333:37,
inlined from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = unsigned char*; _ForwardIterator = unsigned char*; _Allocator = std::allocator]’ at /usr/include/c++/11/bits/stl_uninitialized.h:355:2,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/11/bits/vector.tcc:783:9,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_insert_dispatch(std::vector<_Tp, _Alloc>::iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/11/bits/stl_vector.h:1665:19,
inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; = void; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/11/bits/stl_vector.h:1383:22,
inlined from ‘cryptojs::data_chunk cryptojs::encrypt(const string&, const string&)’ at /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.cpp:131:9:
/usr/include/c++/11/bits/stl_algobase.h:431:30: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/c++allocator.h:33,
from /usr/include/c++/11/bits/allocator.h:46,
from /usr/include/c++/11/vector:64,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.h:28,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.cpp:24:
/usr/include/c++/11/ext/new_allocator.h: In function ‘cryptojs::data_chunk cryptojs::encrypt(const string&, const string&)’:
/usr/include/c++/11/ext/new_allocator.h:127:48: note: at offset 8 into source object of size 8 allocated by ‘operator new’
127 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object src/lib/consensus/CMakeFiles/consensus_static.dir/clone/crypto/sha1.cpp.o
The text was updated successfully, but these errors were encountered:
I'm getting an error when running make -j4 (error shown below). I am somewhat of a novice when it comes to make. I believe I have all of the dependencies installed, but it's possible that I missed something. I'm on Ubuntu 22.04.1 LTS 64 bit.
ERROR:
[ 7%] Building CXX object src/lib/consensus/CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o
cd /home/keith/Crypto/metaverse/build/src/lib/consensus && /usr/bin/c++ -DBCK_STATIC=1 -DBOOST_ALL_NO_LIB -DHAVE_BYTESWAP_H -DHAVE_DECL_BE16TOH=1 -DHAVE_DECL_BE32TOH=1 -DHAVE_DECL_BE64TOH=1 -DHAVE_DECL_BSWAP_16=1 -DHAVE_DECL_BSWAP_32=1 -DHAVE_DECL_BSWAP_64=1 -DHAVE_DECL_HTOBE16=1 -DHAVE_DECL_HTOBE32=1 -DHAVE_DECL_HTOBE64=1 -DHAVE_DECL_HTOLE16=1 -DHAVE_DECL_HTOLE32=1 -DHAVE_DECL_HTOLE64=1 -DHAVE_DECL_LE16TOH=1 -DHAVE_DECL_LE32TOH=1 -DHAVE_DECL_LE64TOH=1 -DHAVE_ENDIAN_H -I/home/keith/Crypto/metaverse/contrib -I/home/keith/Crypto/metaverse/include -I/home/keith/Crypto/metaverse/src/lib/consensus/clone -std=c++14 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-type-limits -Wno-deprecated-declarations -Werror -pthread -fno-enforce-eh-specs -fnothrow-opt -Wno-reorder -Wno-ignored-qualifiers -Wno-unused-function -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-but-set-parameter -Wno-implicit-fallthrough -Wno-parentheses -fpermissive -O3 -DNDEBUG -MD -MT src/lib/consensus/CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o -MF CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o.d -o CMakeFiles/consensus_static.dir/clone/crypto/ripemd160.cpp.o -c /home/keith/Crypto/metaverse/src/lib/consensus/clone/crypto/ripemd160.cpp
In file included from /usr/include/c++/11/vector:60,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.h:28,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.cpp:24:
In static member function ‘static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*) [with _Tp = unsigned char; bool _IsMove = true]’,
inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:495:30,
inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:522:42,
inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:529:31,
inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = std::move_iterator<unsigned char*>; _OI = unsigned char*]’ at /usr/include/c++/11/bits/stl_algobase.h:620:7,
inlined from ‘static _ForwardIterator std::__uninitialized_copy::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11/bits/stl_uninitialized.h:110:27,
inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*]’ at /usr/include/c++/11/bits/stl_uninitialized.h:151:15,
inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<unsigned char*>; _ForwardIterator = unsigned char*; _Tp = unsigned char]’ at /usr/include/c++/11/bits/stl_uninitialized.h:333:37,
inlined from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = unsigned char*; _ForwardIterator = unsigned char*; _Allocator = std::allocator]’ at /usr/include/c++/11/bits/stl_uninitialized.h:355:2,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/11/bits/vector.tcc:783:9,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_insert_dispatch(std::vector<_Tp, _Alloc>::iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/11/bits/stl_vector.h:1665:19,
inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; = void; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/11/bits/stl_vector.h:1383:22,
inlined from ‘cryptojs::data_chunk cryptojs::encrypt(const string&, const string&)’ at /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.cpp:131:9:
/usr/include/c++/11/bits/stl_algobase.h:431:30: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/c++allocator.h:33,
from /usr/include/c++/11/bits/allocator.h:46,
from /usr/include/c++/11/vector:64,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.h:28,
from /home/keith/Crypto/metaverse/contrib/cryptojs/cryptojs_impl.cpp:24:
/usr/include/c++/11/ext/new_allocator.h: In function ‘cryptojs::data_chunk cryptojs::encrypt(const string&, const string&)’:
/usr/include/c++/11/ext/new_allocator.h:127:48: note: at offset 8 into source object of size 8 allocated by ‘operator new’
127 | return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object src/lib/consensus/CMakeFiles/consensus_static.dir/clone/crypto/sha1.cpp.o
The text was updated successfully, but these errors were encountered: