{"action":"created","issue":{"url":"https://api.github.com/repos/mwarning/zerotier-openwrt/issues/42","repository_url":"https://api.github.com/repos/mwarning/zerotier-openwrt","labels_url":"https://api.github.com/repos/mwarning/zerotier-openwrt/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/mwarning/zerotier-openwrt/issues/42/comments","events_url":"https://api.github.com/repos/mwarning/zerotier-openwrt/issues/42/events","html_url":"https://github.com/mwarning/zerotier-openwrt/issues/42","id":374665651,"node_id":"MDU6SXNzdWUzNzQ2NjU2NTE=","number":42,"title":" SDK cross-compilation error, how to solve this","user":{"login":"bin000000","id":34624887,"node_id":"MDQ6VXNlcjM0NjI0ODg3","avatar_url":"https://avatars3.githubusercontent.com/u/34624887?v=4","gravatar_id":"","url":"https://api.github.com/users/bin000000","html_url":"https://github.com/bin000000","followers_url":"https://api.github.com/users/bin000000/followers","following_url":"https://api.github.com/users/bin000000/following{/other_user}","gists_url":"https://api.github.com/users/bin000000/gists{/gist_id}","starred_url":"https://api.github.com/users/bin000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bin000000/subscriptions","organizations_url":"https://api.github.com/users/bin000000/orgs","repos_url":"https://api.github.com/users/bin000000/repos","events_url":"https://api.github.com/users/bin000000/events{/privacy}","received_events_url":"https://api.github.com/users/bin000000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-10-27T16:56:52Z","updated_at":"2018-10-27T20:52:53Z","closed_at":null,"author_association":"NONE","body":"bbb@Bin-Ubuntu:~/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2$ make package/feeds/zerotier/zerotier/compile V=99\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: `package/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/mipsel-openwrt-linux-uclibc/lib/lib': Too many levels of symbolic links\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: `package/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib64/lib': Too many levels of symbolic links\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: `package/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/mipsel-openwrt-linux/lib/lib': Too many levels of symbolic links\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: `package/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib32/lib': Too many levels of symbolic links\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/host/bin/find: `package/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib/lib': Too many levels of symbolic links\r\nConfig-build.in:4451:warning: defaults for choice values not supported\r\n#\r\n# configuration written to .config\r\n#\r\nmake[1]: Entering directory '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2'\r\nmake[2]: Entering directory '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/feeds/zerotier/zerotier'\r\nCFLAGS=\"-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -ffunction-sections -fdata-sections  -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include \" CXXFLAGS=\"-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -ffunction-sections -fdata-sections  -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include \" LDFLAGS=\"-L/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib -L/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lib -L/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections \" make   -C /home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/ZeroTierOne-1.2.12/. AR=mipsel-openwrt-linux-uclibc-ar AS=\"ccache_cc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -ffunction-sections -fdata-sections\" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC=\"ccache_cc\" GCC=\"ccache_cc\" CXX=\"ccache_cxx\" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CROSS=\"mipsel-openwrt-linux-uclibc-\" ARCH=\"mipsel\" DEFS=\"\"  one;\r\nmake[3]: Entering directory '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/ZeroTierOne-1.2.12'\r\nccache_cxx -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -ffunction-sections -fdata-sections  -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include  -Wall -Wno-deprecated -std=c++11 -pthread  -DNDEBUG  -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING=\\\"Linux\\\" -DMINIUPNPC_VERSION_STRING=\\\"2.0\\\" -DUPNP_VERSION_STRING=\\\"UPnP/1.1\\\" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=5 -DZT_SOFTWARE_UPDATE_DEFAULT=\"\\\"disable\\\"\" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H   -c -o controller/EmbeddedNetworkController.o controller/EmbeddedNetworkController.cpp\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp:67:10: error: #error \"unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers\"\r\n         #error \"unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers\"\r\n          ^\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static std::string nlohmann::detail::exception::name(const string&, int)':\r\ncontroller/../osdep/../ext/json/json.hpp:217:51: error: 'to_string' is not a member of 'std'\r\n         return \"[json.exception.\" + ename + \".\" + std::to_string(id_) + \"] \";\r\n                                                   ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static nlohmann::detail::parse_error nlohmann::detail::parse_error::create(int, std::size_t, const string&)':\r\ncontroller/../osdep/../ext/json/json.hpp:282:49: error: 'to_string' is not a member of 'std'\r\n                         (byte_ != 0 ? (\" at \" + std::to_string(byte_)) : \"\") +\r\n                                                 ^\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static void nlohmann::detail::lexer<BasicJsonType>::strtof(float&, const char*, char**)':\r\ncontroller/../osdep/../ext/json/json.hpp:2265:13: error: 'strtof' is not a member of 'std'\r\n         f = std::strtof(str, endptr);\r\n             ^\r\ncontroller/../osdep/../ext/json/json.hpp:2265:13: note: suggested alternative:\r\nIn file included from controller/EmbeddedNetworkController.cpp:21:0:\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include/stdlib.h:187:14: note:   'strtof'\r\n extern float strtof (__const char *__restrict __nptr,\r\n              ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static void nlohmann::detail::lexer<BasicJsonType>::strtof(long double&, const char*, char**)':\r\ncontroller/../osdep/../ext/json/json.hpp:2275:13: error: 'strtold' is not a member of 'std'\r\n         f = std::strtold(str, endptr);\r\n             ^\r\ncontroller/../osdep/../ext/json/json.hpp:2275:13: note: suggested alternative:\r\nIn file included from controller/EmbeddedNetworkController.cpp:21:0:\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include/stdlib.h:190:20: note:   'strtold'\r\n extern long double strtold (__const char *__restrict __nptr,\r\n                    ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'nlohmann::detail::lexer<BasicJsonType>::token_type nlohmann::detail::lexer<BasicJsonType>::scan_number()':\r\ncontroller/../osdep/../ext/json/json.hpp:2604:28: error: 'strtoull' is not a member of 'std'\r\n             const auto x = std::strtoull(yytext.data(), &endptr, 10);\r\n                            ^\r\ncontroller/../osdep/../ext/json/json.hpp:2604:28: note: suggested alternative:\r\nIn file included from controller/EmbeddedNetworkController.cpp:21:0:\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include/stdlib.h:232:31: note:   'strtoull'\r\n extern unsigned long long int strtoull (__const char *__restrict __nptr,\r\n                               ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp:2620:28: error: 'strtoll' is not a member of 'std'\r\n             const auto x = std::strtoll(yytext.data(), &endptr, 10);\r\n                            ^\r\ncontroller/../osdep/../ext/json/json.hpp:2620:28: note: suggested alternative:\r\nIn file included from controller/EmbeddedNetworkController.cpp:21:0:\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include/stdlib.h:227:22: note:   'strtoll'\r\n extern long long int strtoll (__const char *__restrict __nptr,\r\n                      ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'std::string nlohmann::detail::iteration_proxy<IteratorType>::iteration_proxy_internal::key() const':\r\ncontroller/../osdep/../ext/json/json.hpp:4226:28: error: 'to_string' is not a member of 'std'\r\n                     return std::to_string(array_index);\r\n                            ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static void nlohmann::detail::serializer<BasicJsonType>::throw_if_invalid_utf8(const string&)':\r\ncontroller/../osdep/../ext/json/json.hpp:6803:85: error: 'to_string' is not a member of 'std'\r\n                 JSON_THROW(type_error::create(316, \"invalid UTF-8 byte at index \" + std::to_string(i) + \": 0x\" + ss.str()));\r\n                                                                                     ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static int nlohmann::json_pointer::array_index(const string&)':\r\ncontroller/../osdep/../ext/json/json.hpp:7025:25: error: 'stoi' is not a member of 'std'\r\n         const int res = std::stoi(s, &processed_chars);\r\n                         ^\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer> nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::meta()':\r\ncontroller/../osdep/../ext/json/json.hpp:7542:62: error: 'to_string' is not a member of 'std'\r\n         result[\"compiler\"] = {{\"family\", \"gcc\"}, {\"version\", std::to_string(__GNUC__) + \".\" + std::to_string(__GNUC_MINOR__) + \".\" + std::to_string(__GNUC_PATCHLEVEL__)}};\r\n                                                              ^\r\ncontroller/../osdep/../ext/json/json.hpp:7542:95: error: 'to_string' is not a member of 'std'\r\n         result[\"compiler\"] = {{\"family\", \"gcc\"}, {\"version\", std::to_string(__GNUC__) + \".\" + std::to_string(__GNUC_MINOR__) + \".\" + std::to_string(__GNUC_PATCHLEVEL__)}};\r\n                                                                                               ^\r\ncontroller/../osdep/../ext/json/json.hpp:7542:134: error: 'to_string' is not a member of 'std'\r\n         result[\"compiler\"] = {{\"family\", \"gcc\"}, {\"version\", std::to_string(__GNUC__) + \".\" + std::to_string(__GNUC_MINOR__) + \".\" + std::to_string(__GNUC_PATCHLEVEL__)}};\r\n                                                                                                                                      ^\r\ncontroller/../osdep/../ext/json/json.hpp:7558:37: error: 'to_string' is not a member of 'std'\r\n         result[\"compiler\"][\"c++\"] = std::to_string(__cplusplus);\r\n                                     ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::value_type& nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::at(nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::size_type)':\r\ncontroller/../osdep/../ext/json/json.hpp:9991:71: error: 'to_string' is not a member of 'std'\r\n                 JSON_THROW(out_of_range::create(401, \"array index \" + std::to_string(idx) + \" is out of range\"));\r\n                                                                       ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'const value_type& nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::at(nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::size_type) const':\r\ncontroller/../osdep/../ext/json/json.hpp:10038:71: error: 'to_string' is not a member of 'std'\r\n                 JSON_THROW(out_of_range::create(401, \"array index \" + std::to_string(idx) + \" is out of range\"));\r\n                                                                       ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'void nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::erase(nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::size_type)':\r\ncontroller/../osdep/../ext/json/json.hpp:10927:71: error: 'to_string' is not a member of 'std'\r\n                 JSON_THROW(out_of_range::create(401, \"array index \" + std::to_string(idx) + \" is out of range\"));\r\n                                                                       ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\ncontroller/../osdep/../ext/json/json.hpp: In lambda function:\r\ncontroller/../osdep/../ext/json/json.hpp:14009:87: error: 'to_string' is not a member of 'std'\r\n                                 JSON_THROW(out_of_range::create(401, \"array index \" + std::to_string(idx) + \" is out of range\"));\r\n                                                                                       ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer> nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::diff(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>&, const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>&, const string&)':\r\ncontroller/../osdep/../ext/json/json.hpp:14255:82: error: 'to_string' is not a member of 'std'\r\n                         auto temp_diff = diff(source[i], target[i], path + \"/\" + std::to_string(i));\r\n                                                                                  ^\r\ncontroller/../osdep/../ext/json/json.hpp:14272:51: error: 'to_string' is not a member of 'std'\r\n                             {\"path\", path + \"/\" + std::to_string(i)}\r\n                                                   ^\r\ncontroller/../osdep/../ext/json/json.hpp:14283:51: error: 'to_string' is not a member of 'std'\r\n                             {\"path\", path + \"/\" + std::to_string(i)},\r\n                                                   ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>& nlohmann::json_pointer::get_checked(nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>*) const':\r\ncontroller/../osdep/../ext/json/json.hpp:14527:83: error: 'to_string' is not a member of 'std'\r\n                                                             \"array index '-' (\" + std::to_string(ptr->m_value.array->size()) +\r\n                                                                                   ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>& nlohmann::json_pointer::get_unchecked(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>*) const':\r\ncontroller/../osdep/../ext/json/json.hpp:14581:83: error: 'to_string' is not a member of 'std'\r\n                                                             \"array index '-' (\" + std::to_string(ptr->m_value.array->size()) +\r\n                                                                                   ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\ncontroller/../osdep/../ext/json/json.hpp: In member function 'const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>& nlohmann::json_pointer::get_checked(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>*) const':\r\ncontroller/../osdep/../ext/json/json.hpp:14636:83: error: 'to_string' is not a member of 'std'\r\n                                                             \"array index '-' (\" + std::to_string(ptr->m_value.array->size()) +\r\n                                                                                   ^\r\ncontroller/../osdep/../ext/json/json.hpp:94:41: note: in definition of macro 'JSON_THROW'\r\n     #define JSON_THROW(exception) throw exception\r\n                                         ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static void nlohmann::json_pointer::flatten(const string&, const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>&, nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>&)':\r\ncontroller/../osdep/../ext/json/json.hpp:14687:54: error: 'to_string' is not a member of 'std'\r\n                     flatten(reference_string + \"/\" + std::to_string(i),\r\n                                                      ^\r\nIn file included from controller/../osdep/OSUtils.hpp:58:0,\r\n                 from controller/EmbeddedNetworkController.hpp:39,\r\n                 from controller/EmbeddedNetworkController.cpp:40:\r\ncontroller/../osdep/../ext/json/json.hpp: In static member function 'static std::string nlohmann::detail::exception::name(const string&, int)':\r\ncontroller/../osdep/../ext/json/json.hpp:218:5: warning: control reaches end of non-void function [-Wreturn-type]\r\n     }\r\n     ^\r\n<builtin>: recipe for target 'controller/EmbeddedNetworkController.o' failed\r\nmake[3]: *** [controller/EmbeddedNetworkController.o] Error 1\r\nmake[3]: Leaving directory '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/ZeroTierOne-1.2.12'\r\nMakefile:72: recipe for target '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/ZeroTierOne-1.2.12/.built' failed\r\nmake[2]: *** [/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/ZeroTierOne-1.2.12/.built] Error 2\r\nmake[2]: Leaving directory '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/feeds/zerotier/zerotier'\r\npackage/Makefile:173: recipe for target 'package/feeds/zerotier/zerotier/compile' failed\r\nmake[1]: *** [package/feeds/zerotier/zerotier/compile] Error 2\r\nmake[1]: Leaving directory '/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2'\r\n/home/bbb/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/include/toplevel.mk:164: recipe for target 'package/feeds/zerotier/zerotier/compile' failed\r\nmake: *** [package/feeds/zerotier/zerotier/compile] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/mwarning/zerotier-openwrt/issues/comments/433654343","html_url":"https://github.com/mwarning/zerotier-openwrt/issues/42#issuecomment-433654343","issue_url":"https://api.github.com/repos/mwarning/zerotier-openwrt/issues/42","id":433654343,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY1NDM0Mw==","user":{"login":"bin000000","id":34624887,"node_id":"MDQ6VXNlcjM0NjI0ODg3","avatar_url":"https://avatars3.githubusercontent.com/u/34624887?v=4","gravatar_id":"","url":"https://api.github.com/users/bin000000","html_url":"https://github.com/bin000000","followers_url":"https://api.github.com/users/bin000000/followers","following_url":"https://api.github.com/users/bin000000/following{/other_user}","gists_url":"https://api.github.com/users/bin000000/gists{/gist_id}","starred_url":"https://api.github.com/users/bin000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bin000000/subscriptions","organizations_url":"https://api.github.com/users/bin000000/orgs","repos_url":"https://api.github.com/users/bin000000/repos","events_url":"https://api.github.com/users/bin000000/events{/privacy}","received_events_url":"https://api.github.com/users/bin000000/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T20:52:53Z","updated_at":"2018-10-27T20:52:53Z","author_association":"NONE","body":"I just want to use GoCloud firmware and don't want to use other firmware. But the GoCloud firmware is compiled based on 14.07. Is there a way to compile a zerotier for MT7628a for 14.07?"}}
{"actor":{"display_login":"bin000000"}}