How can this problem be solved? Thanks
Scanning dependencies of target print_floats
make[2]: *** No rule to make target /usr/local/lib/libboost_thread.a', needed by tools/print_floats'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 76%] Building CXX object tools/CMakeFiles/print_floats.dir/print_floats.cpp.o
make[1]: *** [tools/CMakeFiles/print_floats.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/url.cpp.o
[ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/smaz.cpp.o
[ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/zlib.cpp.o
[ 76%] Linking CXX static library libfc.a
[ 76%] Built target fc
make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
@pumatus I need a little more information. Can you run the following commands: cd /path/to/eos git pull git submodule update --init --recursive ./eosio_build.sh Capture the full output of the eosio_build.sh script and send it along with your CMakeError.log.
@pacificcode This is the corresponding output, but the cmakeerror.log file is not found in the eos project。
Last login: Thu May 3 19:43:24 on ttys000 [oh-my-zsh] Random theme '/Users/hehongda/.oh-my-zsh/themes/cloud.zsh-theme' loaded... ☁ ~ cd eos ☁ eos [master] git pull remote: Counting objects: 111, done. remote: Compressing objects: 100% (34/34), done. remote: Total 111 (delta 85), reused 90 (delta 64), pack-reused 0 Receiving objects: 100% (111/111), 14.61 KiB | 39.00 KiB/s, done. Resolving deltas: 100% (85/85), completed with 42 local objects. From https://github.com/EOSIO/eos
- ea0720b6f...841dc2b0a 2628 -> origin/2628 (forced update)
- d7a38186b...72f500e31 2633 -> origin/2633 (forced update)
-
[new branch] 2652-slim-prevent-overflow-asset-from-string -> origin/2652-slim-prevent-overflow-asset-from-string e96253b87..5c59c5f0c slim -> origin/slim
-
[new branch] slim-resource-limits-fix2 -> origin/slim-resource-limits-fix2
-
[new branch] slin -> origin/slin Already up to date. ☁ eos [master] git submodule update --init --recursive ☁ eos [master] ./eosio_build.sh
Beginning build version: 1.2 2018年 5月 3日 星期四 12时43分25秒 UTC User: hehongda git head id: 19227c9b0a095683c1df3668c110cef2d91cbb15 Current branch: * master
ARCHITECTURE: Darwin
OS name: Darwin OS Version: 10.13.4 CPU speed: 350.00Ghz CPU cores: 2 Physical Memory: 16 Gbytes Disk space total: 465G Disk space available: 385G
Checking XCode installation XCode installation found.
Checking Ruby installation Ruby installation found.
Checking Home Brew installation Home Brew installation found.
Checking dependencies. Checking automake ... automake found Checking Libtool ... Libtool found Checking OpenSSL ... OpenSSL found Checking llvm ... llvm found Checking wget ... wget found Checking CMake ... CMake found Checking GMP ... GMP found Checking gettext ... gettext found Checking MongoDB ... MongoDB found Checking Doxygen ... Doxygen found Checking Graphviz ... Graphviz found Checking LCOV ... LCOV found Checking Python3 ... Python3 found
No required Home Brew dependencies to install.
Checking boost library installation. Boost 1.66.0 found at /usr/local.
Checking MongoDB C++ driver installation. Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.
Checking secp256k1-zkp installation. secp256k1 found at /usr/local/lib/
Checking LLVM with WASM support. WASM found at /usr/local/wasm/bin/
ALL dependencies sucessfully found or installed . Installing EOS.IO
CMAKE_BUILD_TYPE=Release ENABLE_COVERAGE_TESTING=false DOXYGEN=false
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- locale
-- iostreams
-- Configuring Eos on OS X
-- binaryen building with -std=c++11
-- binaryen building for platform x86-64
-- binaryen building with -Wall
-- binaryen building with -Werror
-- binaryen building with -Wextra
-- binaryen building with -Wno-unused-parameter
-- binaryen building with -fno-omit-frame-pointer
-- binaryen building with -fPIC
-- binaryen building with -O2
-- binaryen building with -UNDEBUG
-- Using WASM clang => /usr/local/wasm/bin/clang
-- Using WASM llc => /usr/local/wasm/bin/llc
-- Using WASM llvm-link => /usr/local/wasm/bin/llvm-link
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- Configuring fc to build on Unix/Apple
-- zlib found
-- Configuring SoftFloat
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- chrono
-- unit_test_framework
-- locale
-- Configuring ChainBase on OS X
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- chrono
-- program_options
-- unit_test_framework
-- locale
-- Configuring AppBase on OS X
-- Found bsoncxx headers: /usr/local/include/bsoncxx/v_noabi
-- Found bsoncxx library: /usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE
-- Found mongocxx headers: /usr/local/include/mongocxx/v_noabi;/usr/local/include/bsoncxx/v_noabi
-- Found mongocxx library: /usr/local/lib/libmongocxx-static.a;/usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;/usr/local/lib/libmongoc-static-1.0.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;-lsasl2;-framework Security;-framework CoreFoundation;-lz;-lresolv
-- Git commit revision: 19227c9b
-- Git commit revision: 19227c9b
-- Git commit revision: 19227c9b
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hehongda/eos/build
[ 1%] Built target wasm
[ 1%] Built target binaryen
[ 1%] Built target ast
[ 2%] Built target asmjs
[ 2%] Built target cfg
[ 5%] Built target passes
[ 6%] Built target support
[ 7%] Built target emscripten-optimizer
[ 29%] Built target softfloat
[ 29%] Built target chainbase
[ 30%] Built target Platform
[ 30%] Built target appbase
[ 32%] Built target libc++
[ 33%] Built target eosiolib
[ 72%] Built target libc
[ 72%] contract...
[ 72%] Built target copy_skeleton_contract
[ 72%] Built target identity_common
[ 72%] Built target identity_interface
make[2]: *** No rule to make target /usr/local/lib/libboost_thread.a', needed by tools/print_floats'. Stop.
make[1]: *** [tools/CMakeFiles/print_floats.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 76%] Built target fc
make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
☁ eos [master] mdfind -name "CMakeError.log" ☁ eos [master]
@pumatus Looking further into this. In the meantime try the following: brew remove --force boost cd /path/to/eos rm -rf build/ git pull git submodule update --init --recursive ./eosio_build.sh *note - the build script will reinstall the boost libraries.
@pacificcode Errors appear to appear here “[ 99%] Linking CXX executable cleos”
[ 68%] Building LLVM bitcode vwscanf.c.bc
[ 68%] Building LLVM bitcode wprintf.c.bc
[ 68%] Building LLVM bitcode wscanf.c.bc
[ 68%] Building LLVM bitcode abs.c.bc
[ 68%] Building LLVM bitcode atoi.c.bc
[ 69%] Building LLVM bitcode atol.c.bc
[ 69%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/udp_socket.cpp.o
[ 69%] Building LLVM bitcode atoll.c.bc
[ 69%] Building LLVM bitcode bsearch.c.bc
[ 69%] Building LLVM bitcode div.c.bc
[ 69%] Building LLVM bitcode ecvt.c.bc
[ 69%] Building LLVM bitcode fcvt.c.bc
[ 69%] Building LLVM bitcode gcvt.c.bc
[ 69%] Building LLVM bitcode imaxabs.c.bc
[ 69%] Building LLVM bitcode imaxdiv.c.bc
[ 69%] Building LLVM bitcode labs.c.bc
[ 69%] Building LLVM bitcode ldiv.c.bc
[ 69%] Building LLVM bitcode llabs.c.bc
[ 69%] Building LLVM bitcode lldiv.c.bc
[ 70%] Building LLVM bitcode qsort.c.bc
[ 70%] Building LLVM bitcode strtol.c.bc
[ 70%] Building LLVM bitcode wcstol.c.bc
[ 70%] Building LLVM bitcode bcmp.c.bc
[ 70%] Building LLVM bitcode bcopy.c.bc
[ 70%] Building LLVM bitcode bzero.c.bc
[ 70%] Building LLVM bitcode index.c.bc
[ 70%] Building LLVM bitcode memccpy.c.bc
[ 70%] Building LLVM bitcode memchr.c.bc
[ 70%] Building LLVM bitcode memcmp.c.bc
[ 70%] Building LLVM bitcode memmem.c.bc
[ 70%] Building LLVM bitcode mempcpy.c.bc
[ 70%] Building LLVM bitcode memrchr.c.bc
[ 70%] Building LLVM bitcode rindex.c.bc
[ 71%] Building LLVM bitcode stpcpy.c.bc
[ 71%] Building LLVM bitcode stpncpy.c.bc
[ 71%] Building LLVM bitcode strcasecmp.c.bc
[ 71%] Building LLVM bitcode strcasestr.c.bc
[ 71%] Building LLVM bitcode strcat.c.bc
[ 71%] Building LLVM bitcode strchr.c.bc
[ 71%] Building LLVM bitcode strchrnul.c.bc
[ 71%] Building LLVM bitcode strcmp.c.bc
[ 71%] Building LLVM bitcode strcpy.c.bc
[ 71%] Building LLVM bitcode strcspn.c.bc
[ 71%] Building LLVM bitcode strdup.c.bc
[ 71%] Building LLVM bitcode strerror_r.c.bc
[ 71%] Building LLVM bitcode strlcat.c.bc
[ 72%] Building LLVM bitcode strlcpy.c.bc
[ 72%] Building LLVM bitcode strlen.c.bc
[ 72%] Building LLVM bitcode strncasecmp.c.bc
[ 72%] Building LLVM bitcode strncat.c.bc
[ 72%] Building LLVM bitcode strncmp.c.bc
[ 72%] Building LLVM bitcode strncpy.c.bc
[ 72%] Building LLVM bitcode strndup.c.bc
[ 72%] Building LLVM bitcode strnlen.c.bc
[ 72%] Building LLVM bitcode strpbrk.c.bc
[ 72%] Building LLVM bitcode strrchr.c.bc
[ 72%] Building LLVM bitcode strsep.c.bc
[ 72%] Building LLVM bitcode strsignal.c.bc
[ 72%] Building LLVM bitcode strspn.c.bc
[ 72%] Building LLVM bitcode strstr.c.bc
[ 73%] Building LLVM bitcode strtok.c.bc
[ 73%] Building LLVM bitcode strtok_r.c.bc
[ 73%] Building LLVM bitcode strverscmp.c.bc
[ 73%] Building LLVM bitcode swab.c.bc
[ 73%] Building LLVM bitcode wcpcpy.c.bc
[ 73%] Building LLVM bitcode wcpncpy.c.bc
[ 73%] Building LLVM bitcode wcscasecmp.c.bc
[ 73%] Building LLVM bitcode wcscasecmp_l.c.bc
[ 73%] Building LLVM bitcode wcscat.c.bc
[ 73%] Building LLVM bitcode wcschr.c.bc
[ 73%] Building LLVM bitcode wcscmp.c.bc
[ 73%] Building LLVM bitcode wcscpy.c.bc
[ 73%] Building LLVM bitcode wcscspn.c.bc
[ 74%] Building LLVM bitcode wcsdup.c.bc
[ 74%] Building LLVM bitcode wcslen.c.bc
[ 74%] Building LLVM bitcode wcsncasecmp.c.bc
[ 74%] Building LLVM bitcode wcsncasecmp_l.c.bc
[ 74%] Building LLVM bitcode wcsncat.c.bc
[ 74%] Building LLVM bitcode wcsncmp.c.bc
[ 74%] Building LLVM bitcode wcsncpy.c.bc
[ 74%] Building LLVM bitcode wcsnlen.c.bc
[ 74%] Building LLVM bitcode wcspbrk.c.bc
[ 74%] Building LLVM bitcode wcsrchr.c.bc
[ 74%] Building LLVM bitcode wcsspn.c.bc
[ 74%] Building LLVM bitcode wcsstr.c.bc
[ 74%] Building LLVM bitcode wcstok.c.bc
[ 74%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/url.cpp.o
[ 75%] Building LLVM bitcode wcswcs.c.bc
[ 75%] Building LLVM bitcode wmemchr.c.bc
[ 75%] Building LLVM bitcode wmemcmp.c.bc
[ 75%] Building LLVM bitcode wmemcpy.c.bc
[ 75%] Building LLVM bitcode wmemmove.c.bc
[ 75%] Building LLVM bitcode wmemset.c.bc
[ 75%] Building LLVM bitcode __asctime.c.bc
[ 75%] Building LLVM bitcode __month_to_secs.c.bc
[ 75%] Building LLVM bitcode __secs_to_tm.c.bc
[ 75%] Building LLVM bitcode __tm_to_secs.c.bc
[ 75%] Building LLVM bitcode __tz.c.bc
[ 75%] Building LLVM bitcode __year_to_secs.c.bc
[ 75%] Building LLVM bitcode asctime.c.bc
[ 75%] Building LLVM bitcode asctime_r.c.bc
[ 76%] Building LLVM bitcode difftime.c.bc
[ 76%] Building LLVM bitcode gmtime.c.bc
[ 76%] Building LLVM bitcode gmtime_r.c.bc
[ 76%] Building LLVM bitcode strftime.c.bc
[ 76%] Building LLVM bitcode strptime.c.bc
[ 76%] Building LLVM bitcode timegm.c.bc
[ 76%] Building LLVM bitcode wcsftime.c.bc
[ 76%] Linking LLVM bitcode library libc.bc
[ 76%] Built target libc
Scanning dependencies of target copy_skeleton_contract
[ 76%] contract...
[ 76%] Built target copy_skeleton_contract
Scanning dependencies of target identity_common
[ 76%] Building LLVM bitcode common.cpp.bc
[ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/smaz.cpp.o
[ 76%] Linking LLVM bitcode library identity_common.bc
[ 76%] Built target identity_common
[ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/zlib.cpp.o
Scanning dependencies of target identity_interface
[ 76%] Building LLVM bitcode interface.cpp.bc
[ 76%] Linking CXX static library libfc.a
[ 76%] Built target fc
Scanning dependencies of target print_floats
[ 76%] Building CXX object tools/CMakeFiles/print_floats.dir/print_floats.cpp.o
[ 76%] Linking LLVM bitcode library identity_interface.bc
[ 76%] Built target identity_interface
Scanning dependencies of target eosio-s2wasm
[ 76%] Building CXX object externals/binaryen/CMakeFiles/eosio-s2wasm.dir/src/tools/s2wasm.cpp.o
[ 76%] Linking CXX executable print_floats
[ 76%] Built target print_floats
Scanning dependencies of target test_cypher_suites
[ 76%] Building CXX object libraries/fc/test/crypto/CMakeFiles/test_cypher_suites.dir/test_cypher_suites.cpp.o
[ 76%] Building CXX object externals/binaryen/CMakeFiles/eosio-s2wasm.dir/src/wasm-emscripten.cpp.o
[ 76%] Linking CXX executable test_cypher_suites
[ 76%] Built target test_cypher_suites
Scanning dependencies of target chainbase_test
[ 76%] Building CXX object libraries/chainbase/test/CMakeFiles/chainbase_test.dir/test.cpp.o
[ 76%] Building CXX object externals/binaryen/CMakeFiles/eosio-s2wasm.dir/src/wasm-linker.cpp.o
[ 76%] Linking CXX executable chainbase_test
[ 76%] Built target chainbase_test
Scanning dependencies of target Logging
[ 76%] Building CXX object libraries/wasm-jit/Source/Logging/CMakeFiles/Logging.dir/Logging.cpp.o
[ 76%] Linking CXX static library libLogging.a
[ 76%] Built target Logging
Scanning dependencies of target appbase_example
[ 76%] Building CXX object libraries/appbase/examples/CMakeFiles/appbase_example.dir/main.cpp.o
[ 76%] Linking CXX executable bin/eosio-s2wasm
[ 76%] Built target eosio-s2wasm
Scanning dependencies of target test_exchange
[ 77%] Building CXX object contracts/exchange/CMakeFiles/test_exchange.dir/test_exchange.cpp.o
/Users/hehongda/eos/contracts/exchange/test_exchange.cpp:347:1: warning: control may
reach end of non-void function [-Wreturn-type]
}
^
/Users/hehongda/eos/contracts/exchange/test_exchange.cpp:361:1: warning: control reaches
end of non-void function [-Wreturn-type]
}
^
/Users/hehongda/eos/contracts/exchange/test_exchange.cpp:368:1: warning: control reaches
end of non-void function [-Wreturn-type]
}
^
/Users/hehongda/eos/contracts/exchange/test_exchange.cpp:376:1: warning: control reaches
end of non-void function [-Wreturn-type]
}
^
4 warnings generated.
[ 77%] Linking CXX executable test_exchange
[ 77%] Linking CXX executable appbase_example
[ 77%] Built target test_exchange
[ 77%] Built target appbase_example
Scanning dependencies of target test.inline
Scanning dependencies of target exchange
[ 77%] Building LLVM bitcode test.inline.cpp.bc
[ 77%] Building LLVM bitcode exchange.cpp.bc
[ 77%] Generating test.inline.abi.hpp
[ 77%] Linking LLVM bitcode executable test.inline.bc
[ 77%] Generating textual assembly test.inline.s
[ 77%] Generating WAST test.inline.wast
/Users/hehongda/eos/contracts/exchange/exchange.cpp:115:34: warning: unused parameter
'fee' [-Wunused-parameter]
uint32_t fee,
^
[ 77%] Generating test.inline.wast.hpp
[ 77%] Built target test.inline
Scanning dependencies of target hello
[ 77%] Building LLVM bitcode hello.cpp.bc
[ 77%] Generating hello.abi.hpp
[ 77%] Linking LLVM bitcode executable hello.bc
[ 77%] Generating textual assembly hello.s
[ 77%] Generating WAST hello.wast
[ 78%] Generating hello.wast.hpp
[ 78%] Built target hello
Scanning dependencies of target asserter
[ 78%] Building LLVM bitcode asserter.cpp.bc
1 warning generated.
[ 78%] Generating exchange.abi.hpp
[ 78%] Linking LLVM bitcode executable exchange.bc
[ 78%] Generating textual assembly exchange.s
/Users/hehongda/eos/contracts/asserter/asserter.cpp:14:26: warning: unused parameter
'receiver' [-Wunused-parameter]
void apply( uint64_t receiver, uint64_t code, uint64_t action ) {
^
[ 78%] Generating WAST exchange.wast
1 warning generated.
[ 78%] Generating asserter.abi.hpp
[ 78%] Linking LLVM bitcode executable asserter.bc
[ 78%] Generating exchange.wast.hpp
[ 78%] Built target exchange
[ 78%] Generating textual assembly asserter.s
Scanning dependencies of target infinite
[ 78%] Building LLVM bitcode infinite.cpp.bc
[ 78%] Generating WAST asserter.wast
[ 78%] Generating asserter.wast.hpp
[ 78%] Built target asserter
Scanning dependencies of target proxy
/Users/hehongda/eos/contracts/infinite/infinite.cpp:10:48: warning: function 'apply'
could be declared with attribute 'noreturn' [-Wmissing-noreturn]
void apply( uint64_t, uint64_t, uint64_t ) {
^
1 warning generated.
[ 78%] Linking LLVM bitcode executable infinite.bc
[ 78%] Generating textual assembly infinite.s
[ 78%] Generating WAST infinite.wast
[ 78%] Generating infinite.wast.hpp
[ 78%] Built target infinite
Scanning dependencies of target test_api
[ 78%] Building LLVM bitcode proxy.cpp.bc
[ 78%] Building LLVM bitcode test_api.cpp.bc
/Users/hehongda/eos/contracts/proxy/proxy.cpp:36:56: warning: unused parameter 'code'
[-Wunused-parameter]
void apply_transfer(uint64_t receiver, account_name code, const T& transfer) {
^
In file included from /Users/hehongda/eos/contracts/test_api/test_api.cpp:21:
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:31:30: warning: implicit
conversion changes signedness: 'unsigned long long' to 'const long long'
[-Wsign-conversion]
testtype
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:69:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_block, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:70:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_account, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:71:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_code, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:72:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_table_rows, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:73:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_currency_balance, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:74:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_currency_stats, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:75:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(abi_json_to_bin, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:76:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(abi_bin_to_json, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:77:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_required_keys, 200),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:78:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RW_CALL(push_block, 202),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:59:54: note: expanded
from macro 'CHAIN_RW_CALL'
#define CHAIN_RW_CALL(call_name, http_response_code) CALL(chain, rw_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:79:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RW_CALL(push_transaction, 202),
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:59:54: note: expanded
from macro 'CHAIN_RW_CALL'
#define CHAIN_RW_CALL(call_name, http_response_code) CALL(chain, rw_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:80:7: warning: lambda
capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RW_CALL(push_transactions, 202)
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:59:54: note: expanded
from macro 'CHAIN_RW_CALL'
#define CHAIN_RW_CALL(call_name, http_response_code) CALL(chain, rw_api, chain_a...
^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
13 warnings generated.
[ 95%] Linking CXX static library libchain_api_plugin.a
[ 95%] Built target chain_api_plugin
Scanning dependencies of target wallet_api_plugin
[ 95%] Building CXX object plugins/wallet_api_plugin/CMakeFiles/wallet_api_plugin.dir/wallet_api_plugin.cpp.o
[ 95%] Linking CXX static library libaccount_history_plugin.a
[ 95%] Built target account_history_plugin
Scanning dependencies of target txn_test_gen_plugin
[ 95%] Building CXX object plugins/txn_test_gen_plugin/CMakeFiles/txn_test_gen_plugin.dir/txn_test_gen_plugin.cpp.o
[ 96%] Linking CXX static library libwallet_api_plugin.a
[ 96%] Built target wallet_api_plugin
Scanning dependencies of target faucet_testnet_plugin
[ 96%] Building CXX object plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/faucet_testnet_plugin.cpp.o
[ 96%] Linking CXX static library libtxn_test_gen_plugin.a
[ 96%] Built target txn_test_gen_plugin
Scanning dependencies of target mongo_db_plugin
[ 96%] Linking CXX static library libfaucet_testnet_plugin.a
[ 96%] Built target faucet_testnet_plugin
Scanning dependencies of target keosd
[ 96%] Building CXX object plugins/mongo_db_plugin/CMakeFiles/mongo_db_plugin.dir/mongo_db_plugin.cpp.o
[ 96%] Building CXX object programs/keosd/CMakeFiles/keosd.dir/main.cpp.o
[ 97%] Linking CXX executable keosd
[ 97%] Built target keosd
Scanning dependencies of target chain_test
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/auth_tests.cpp.o
[ 97%] Linking CXX static library libmongo_db_plugin.a
[ 97%] Built target mongo_db_plugin
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/block_tests.cpp.o
Scanning dependencies of target net_plugin
[ 97%] Building CXX object plugins/net_plugin/CMakeFiles/net_plugin.dir/net_plugin.cpp.o
/Users/hehongda/eos/plugins/net_plugin/net_plugin.cpp:758:29: warning: lambda capture
'this' is not used [-Wunused-lambda-capture]
[this, tx](boost::system::error_code ec, std::size_t ) {
^
/Users/hehongda/eos/plugins/net_plugin/net_plugin.cpp:773:26: warning: lambda capture
'this' is not used [-Wunused-lambda-capture]
[this, tx](boost::system::error_code ec, std::size_t ) {
^
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/bootseq_tests.cpp.o
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/delay_tests.cpp.o
2 warnings generated.
[ 97%] Linking CXX static library libnet_plugin.a
[ 97%] Built target net_plugin
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/producer_schedule_tests.cpp.o
Scanning dependencies of target account_history_api_plugin
[ 97%] Building CXX object plugins/account_history_api_plugin/CMakeFiles/account_history_api_plugin.dir/account_history_api_plugin.cpp.o
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:50:7: warning:
lambda capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_transaction),
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
expanded from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:51:7: warning:
lambda capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_transactions),
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
expanded from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:52:7: warning:
lambda capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_key_accounts),
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
expanded from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:53:7: warning:
lambda capture 'this' is not used [-Wunused-lambda-capture]
CHAIN_RO_CALL(get_controlled_accounts)
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
expanded from macro 'CALL'
[this, api_handle](string, string body, url_response_callback cb) mutable {
^
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/proof_tests.cpp.o
4 warnings generated.
[ 97%] Linking CXX static library libaccount_history_api_plugin.a
[ 97%] Built target account_history_api_plugin
Scanning dependencies of target cleos
[ 97%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/main.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/recovery_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/api_tests/api_tests.cpp.o
[ 99%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/httpc.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o
[ 99%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/help_text.cpp.o
[ 99%] Linking CXX executable cleos
Undefined symbols for architecture x86_64:
"_libintl_bindtextdomain", referenced from:
_main in main.cpp.o
"_libintl_gettext", referenced from:
eosio::client::localize::localized_with_variant(char const*, fc::variant_object const&) in main.cpp.o
eosio::client::localize::localized_with_variant(char const*, fc::variant_object const&) in help_text.cpp.o
"_libintl_setlocale", referenced from:
_main in main.cpp.o
"_libintl_textdomain", referenced from:
_main in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/cleos/cleos] Error 1
make[1]: *** [programs/cleos/CMakeFiles/cleos.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/database_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/misc_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/currency_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/dice_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/eosio.system_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/eosio.token_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/exchange_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/identity_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/multi_index_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/multisig_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/payloadless_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/tic_tac_toe_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/wasm_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/message_buffer_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/special_accounts_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/wallet_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/library_tests/chain/resource_limits_test.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/common/main.cpp.o
[100%] Linking CXX executable chain_test
[100%] Built target chain_test
make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
~/eos(master) »
brew unlink gettext && brew link gettext hehongda@pumatus Unlinking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks removed Warning: gettext is keg-only and must be linked with --force Note that doing so can interfere with building software.
If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc
I'm sorry. I'll ask what the last sentence means. I feel that problem.
@pumatus brew unlink gettext && brew link --force gettext
Last login: Fri May 4 19:50:46 on ttys000 /Users/hehongda/.zshrc:7: command not found: Set [oh-my-zsh] Random theme '/Users/hehongda/.oh-my-zsh/themes/awesomepanda.zsh-theme' loaded... ➜ ~ brew unlink gettext && brew link --force gettext Unlinking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks removed Linking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks created
If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc ➜ ~
@pumatus This looks correct but just to verify. find /usr -name libintl* -print 2>/dev/null
Your output should be similar to: $ find /usr -name libintl* -print 2>/dev/null /usr/local/include/musl/upstream/include/libintl.h /usr/local/include/libintl.h /usr/local/lib/libintl.dylib /usr/local/lib/libintl.8.dylib /usr/local/lib/libintl.a /usr/local/Cellar/gettext/0.19.8.1/include/libintl.h /usr/local/Cellar/gettext/0.19.8.1/lib/libintl.dylib /usr/local/Cellar/gettext/0.19.8.1/lib/libintl.8.dylib /usr/local/Cellar/gettext/0.19.8.1/lib/libintl.a /usr/local/Cellar/gettext/0.19.8.1/share/gettext/intl/libintl.rc
Also be aware, EOS.IO is built and tested using BASH as the default shell. It looks as though you may be running ZHS FYI.
@pacificcode Yea! running ZHS FYI. How should I change to bash. - -