eos icon indicating copy to clipboard operation
eos copied to clipboard

build error,help!!!!

Open hktk1001 opened this issue 8 years ago • 5 comments

/home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp:227:28: required from ‘void eosio::chain::apply_context::generic_index<ObjectType, SecondaryKeyProxy, SecondaryKeyProxyConst>::update(int, eosio::chain::account_name, eosio::chain::apply_context::generic_index<ObjectType, SecondaryKeyProxy, SecondaryKeyProxyConst>::secondary_key_proxy_const_type) [with ObjectType = eosio::chain::secondary_index<float128_t, 12, eosio::chain::soft_long_double_less>::index_object; SecondaryKeyProxy = float128_t&; SecondaryKeyProxyConst = const float128_t&; eosio::chain::account_name = eosio::chain::name; eosio::chain::apply_context::generic_index<ObjectType, SecondaryKeyProxy, SecondaryKeyProxyConst>::secondary_key_proxy_const_type = const float128_t&]’ /home/code/eos/libraries/chain/wasm_interface.cpp:1265:7: required from here /home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp:65:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] FC_ASSERT( iterator < _iterator_to_object.size(), "iterator out of range" ); /home/code/eos/libraries/fc/include/fc/exception/exception.hpp:332:30: note: in definition of macro ‘FC_EXPAND_MACRO’ #define FC_EXPAND_MACRO( x ) x ^ /home/code/eos/libraries/fc/include/fc/exception/exception.hpp:339:11: note: in expansion of macro ‘UNLIKELY’ if( UNLIKELY(!(TEST)) )
^~~~~~~~ /home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp:65:16: note: in expansion of macro ‘FC_ASSERT’ FC_ASSERT( iterator < _iterator_to_object.size(), "iterator out of range" ); ^ /home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp: In instantiation of ‘void eosio::chain::apply_context::iterator_cache::remove(int) [with T = eosio::chain::secondary_index<float128_t, 12, eosio::chain::soft_long_double_less>::index_object]’: /home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp:223:16: required from ‘void eosio::chain::apply_context::generic_index<ObjectType, SecondaryKeyProxy, SecondaryKeyProxyConst>::remove(int) [with ObjectType = eosio::chain::secondary_index<float128_t, 12, eosio::chain::soft_long_double_less>::index_object; SecondaryKeyProxy = float128_t&; SecondaryKeyProxyConst = const float128_t&]’ /home/code/eos/libraries/chain/wasm_interface.cpp:1265:7: required from here /home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp:74:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] FC_ASSERT( iterator < _iterator_to_object.size(), "iterator out of range" ); /home/code/eos/libraries/fc/include/fc/exception/exception.hpp:332:30: note: in definition of macro ‘FC_EXPAND_MACRO’ #define FC_EXPAND_MACRO( x ) x ^ /home/code/eos/libraries/fc/include/fc/exception/exception.hpp:339:11: note: in expansion of macro ‘UNLIKELY’ if( UNLIKELY(!(TEST)) )
^~~~~~~~ /home/code/eos/libraries/chain/include/eosio/chain/apply_context.hpp:74:16: note: in expansion of macro ‘FC_ASSERT’ FC_ASSERT( iterator < _iterator_to_object.size(), "iterator out of range" ); ^ virtual memory exhausted: Cannot allocate memory make[2]: *** [libraries/chain/CMakeFiles/eosio_chain.dir/build.make:519: libraries/chain/CMakeFiles/eosio_chain.dir/wasm_interface.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:1873: libraries/chain/CMakeFiles/eosio_chain.dir/all] Error 2 make: *** [Makefile:163: all] Error 2

>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

hktk1001 avatar Jun 01 '18 15:06 hktk1001

@hktk1001 Can you run the following commands and paste the FULL output here?

cd /path/to/eos rm -rf build/ git checkout master git pull git submodule update --init --recursive ./eosio_build.sh

pacificcode avatar Jun 01 '18 15:06 pacificcode

I’m had a similar issue with cmake library. Tried the sub module update and now “destination path ‘mongo-cxx-driver’ already exists and is not empty. Do I just delete dir and re run ?

w00tcoin avatar Jun 10 '18 23:06 w00tcoin

Nm got it for now

w00tcoin avatar Jun 10 '18 23:06 w00tcoin

Is this issue solved?

taokayan avatar Jun 22 '18 09:06 taokayan

@taokayan Closing this issue.

pacificcode avatar Jun 22 '18 13:06 pacificcode