bcosorg / bcos

BCOS平台(Be Credible, Open & Secure)
GNU General Public License v3.0
874 stars 286 forks source link

一键快速部署执行失败,执行build.sh报错 #113

Open windsunboyu opened 5 years ago

windsunboyu commented 5 years ago

在CentOS7.2环境下,执行build.sh出现以下错误:

[ 57%] Built target p2p [ 60%] Built target whisper [ 61%] Building CXX object libethereum/CMakeFiles/ethereum.dir/BlockChain.cpp.o [ 62%] Building CXX object libethereum/CMakeFiles/ethereum.dir/Client.cpp.o /root/bcos/libethereum/BlockChain.cpp: 在成员函数‘std::pair<dev::eth::Block, boost::multiprecision::number<boost::multiprecision::backends::cpp_int_backend<256u, 256u, (boost::multiprecision::cpp_integer_type)0u, (boost::multiprecision::cpp_int_check_type)0u, void> > > dev::eth::BlockChain::getBlockCache(const h256&) const’中: /root/bcos/libethereum/BlockChain.cpp:499:1: 警告:在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type] } ^ c++: 编译器内部错误:已杀死(程序 cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. make[2]: [libethereum/CMakeFiles/ethereum.dir/BlockChain.cpp.o] 错误 4 make[2]: 正在等待未完成的任务.... make[1]: [libethereum/CMakeFiles/ethereum.dir/all] 错误 2 make: [all] 错误 2 cp: 无法获取"eth/bcoseth" 的文件状态(stat): 没有那个文件或目录 ✔ Installed 11 packages ✔ Linked 0 latest versions ✔ Run 0 scripts ✔ All packages installed (used 105ms(network 100ms), speed 0B/s, json 0(0B), tarball 0B) ✔ Installed 11 packages ✔ Linked 0 latest versions ✔ Run 0 scripts ✔ All packages installed (used 27ms(network 23ms), speed 0B/s, json 0(0B), tarball 0B) bcoseth build fail!