ubuntu16.04:gxb-core源码编译错误(93%)



  • 我按照 https://github.com/gxchain/gxb-core上面的步骤安装,但是在执行
    cmake -DOPENSSL_ROOT_DIR=/usr/bin -DOPENSSL_INCLUDE_DIR=/usr/include/openssl -DOPENSSL_LIBRARIES=/usr/lib/openssh -DCMAKE_BUILD_TYPE=Release .. && make -j4 的时候执行报错了,能不能帮忙解决一下啊
    错误信息如下:
    /code/gxb/gxb-core/libraries/chain/include/graphene/chain/wasm_injection.hpp:81:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    /code/gxb/gxb-core/libraries/chain/include/graphene/chain/wasm_injection.hpp: In instantiation of 'static void graphene::chain::wasm_injections::injector_utils::add_import(IR::Module&, const char*, int32_t&) [with IR::ResultType Result = (IR::ResultType)1u; IR::ValueType ...Params = {(IR::ValueType)3u, (IR::ValueType)3u}; int32_t = int]':
    /code/gxb/gxb-core/libraries/chain/include/graphene/chain/wasm_injection.hpp:503:85: required from 'static void graphene::chain::wasm_injections::f32_relop_injector<Opcode>::accept(graphene::chain::wasm_ops::instr*, graphene::chain::wasm_ops::visitor_arg&) [with short unsigned int Opcode = 96u]'
    /code/gxb/gxb-core/libraries/chain/include/graphene/chain/wasm_binary_ops.hpp:565:7: required from 'void graphene::chain::wasm_ops::instr_base<Mutators>::visit(graphene::chain::wasm_ops::visitor_arg&&) [with Mutators = {graphene::chain::wasm_injections::f32_relop_injector<96u>}]'
    /code/gxb/gxb-core/libraries/chain/webassembly/wavm.cpp:130:4: required from here
    /code/gxb/gxb-core/libraries/chain/include/graphene/chain/wasm_injection.hpp:81:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    libraries/chain/CMakeFiles/graphene_chain.dir/build.make:816: recipe for target 'libraries/chain/CMakeFiles/graphene_chain.dir/wasm_interface.cpp.o' failed
    make[2]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/wasm_interface.cpp.o] Error 1
    libraries/chain/CMakeFiles/graphene_chain.dir/build.make:855: recipe for target 'libraries/chain/CMakeFiles/graphene_chain.dir/webassembly/wavm.cpp.o' failed
    make[2]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/webassembly/wavm.cpp.o] Error 1
    CMakeFiles/Makefile2:2206: recipe for target 'libraries/chain/CMakeFiles/graphene_chain.dir/all' failed
    make[1]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/all] Error 2
    Makefile:129: recipe for target 'all' failed
    make: *** [all] Error




Log in to reply
 

Looks like your connection to GXChain Community was lost, please wait while we try to reconnect.