zerotier / ZeroTierOne

A Smart Ethernet Switch for Earth
https://zerotier.com
Other
14.22k stars 1.66k forks source link

Compilation error on Linux Yocto Poky release i686 #1324

Closed alexjose70 closed 3 years ago

alexjose70 commented 3 years ago

Hello everyone,

I am trying to compile the package, but I am having errors.

These are the errors I am receiving. Does anyone has tried to compile on i686 for Yocto before?

> > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o node/Trace.o node/Trace.cpp >In file included from node/Node.hpp:33:0, from node/Peer.hpp:23, from node/Topology.hpp:30, from node/Switch.hpp:28, from node/Trace.cpp:21: node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendAck(int64_t, int)’: node/Path.hpp:448:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return ((now - _lastAckSent) >= ackSendInterval || ^ node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendQoS(int64_t, int)’: node/Path.hpp:458:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((now - _lastQoSMeasurement) > qosSendInterval)) && _packetsReceivedSinceLastQoS; ^ > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o node/Utils.o node/Utils.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o node/Bond.o node/Bond.cpp > In file included from node/Node.hpp:33:0, from node/Peer.hpp:23, from node/Bond.cpp:18: > node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendAck(int64_t, int)’: > node/Path.hpp:448:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return ((now - _lastAckSent) >= ackSendInterval || ^ > node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendQoS(int64_t, int)’: > node/Path.hpp:458:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ((now - _lastQoSMeasurement) > qosSendInterval)) && _packetsReceivedSinceLastQoS; ^ > node/Bond.cpp: In member function ‘bool ZeroTier::Bond::assignFlowToBondedPath(ZeroTier::SharedPtr&, int64_t)’: > node/Bond.cpp:365:138: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘std::map >::size_type {aka unsigned int}’ [-Wformat=] OSUtils::humanReadableTimestamp().c_str(), flow->id(), _peer->_id.address().toInt(), link->ifname().c_str(), curPathStr, _flows.size()); ^ > node/Bond.cpp:430:137: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘std::map >::size_type {aka unsigned int}’ [-Wformat=] OSUtils::humanReadableTimestamp().c_str(), flow->id(), _peer->_id.address().toInt(), link->ifname().c_str(), curPathStr, _flows.size()); ^ > node/Bond.cpp: In member function ‘ZeroTier::SharedPtr ZeroTier::Bond::createFlow(const ZeroTier::SharedPtr&, int32_t, unsigned char, int64_t)’: > node/Bond.cpp:465:138: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘std::map >::size_type {aka unsigned int}’ [-Wformat=] OSUtils::humanReadableTimestamp().c_str(), flow->id(), _peer->_id.address().toInt(), link->ifname().c_str(), curPathStr, _flows.size()); ^ > node/Bond.cpp: In member function ‘void ZeroTier::Bond::forgetFlowsWhenNecessary(uint64_t, bool, int64_t)’: > node/Bond.cpp:486:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (it->second->age(now) > age) { ^ > node/Bond.cpp:488:107: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘std::map >::size_type {aka unsigned int}’ [-Wformat=] > OSUtils::humanReadableTimestamp().c_str(), it->first, _peer->_id.address().toInt(), (_flows.size()-1)); > ^ > node/Bond.cpp:500:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (it->second->age(now) > maxAge) { > ^ > node/Bond.cpp:508:144: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘std::map >::size_type {aka unsigned int}’ [-Wformat=] > OSUtils::humanReadableTimestamp().c_str(), oldestFlow->first, oldestFlow->second->age(now), _peer->_id.address().toInt(), (_flows.size()-1)); > ^ > node/Bond.cpp: In member function ‘void ZeroTier::Bond::pathNegotiationCheck(void*, int64_t)’: > node/Bond.cpp:569:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (_paths[i]->_packetsIn > maxInCount) { > ^ > node/Bond.cpp:573:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (_paths[i]->_packetsOut > maxOutCount) { > ^ > node/Bond.cpp: In member function ‘void ZeroTier::Bond::applyUserPrefs()’: > node/Bond.cpp:776:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > RR->bc->setMinReqPathMonitorInterval((sl->monitorInterval() < RR->bc->minReqPathMonitorInterval()) ? sl->monitorInterval() : RR->bc->minReqPathMonitorInterval()); > ^ > node/Bond.cpp: In member function ‘void ZeroTier::Bond::curateBond(int64_t, bool)’: > node/Bond.cpp:922:12: warning: variable ‘overriden’ set but not used [-Wunused-but-set-variable] > bool overriden = false; > ^ > node/Bond.cpp: In member function ‘void ZeroTier::Bond::estimatePathQuality(int64_t)’: > node/Bond.cpp:983:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for(unsigned int i=0;i<_numBondedPaths;++i) { > ^ > node/Bond.cpp:989:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for(unsigned int i=0;i<_numBondedPaths;++i) { > ^ > node/Bond.cpp:1042:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if ((now - it->second) >= qosRecordTimeout) { > ^ > node/Bond.cpp:980:7: warning: unused variable ‘pathStr’ [-Wunused-variable] > char pathStr[128]; > ^ > node/Bond.cpp: In member function ‘void ZeroTier::Bond::processActiveBackupTasks(void*, int64_t)’: > node/Bond.cpp:1479:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > int newHandicap = _paths[j]->_failoverScore > inheritedHandicap ? _paths[j]->_failoverScore : inheritedHandicap; > ^ > > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o node/BondController.o node/BondController.cpp > > In file included from node/Node.hpp:33:0, > from node/Peer.hpp:23, > from node/BondController.cpp:18: > node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendAck(int64_t, int)’: > node/Path.hpp:448:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > return ((now - _lastAckSent) >= ackSendInterval || > ^ > node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendQoS(int64_t, int)’: > node/Path.hpp:458:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((now - _lastQoSMeasurement) > qosSendInterval)) && _packetsReceivedSinceLastQoS; > ^ > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -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 > In file included from controller/../node/Node.hpp:33:0, > from controller/EmbeddedNetworkController.cpp:42: > controller/../node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendAck(int64_t, int)’: > controller/../node/Path.hpp:448:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > return ((now - _lastAckSent) >= ackSendInterval || > ^ > controller/../node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendQoS(int64_t, int)’: > controller/../node/Path.hpp:458:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((now - _lastQoSMeasurement) > qosSendInterval)) && _packetsReceivedSinceLastQoS; > ^ > > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o controller/DBMirrorSet.o controller/DBMirrorSet.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o controller/DB.o controller/DB.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o controller/FileDB.o controller/FileDB.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o controller/LFDB.o controller/LFDB.cpp > > > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o controller/PostgreSQL.o controller/PostgreSQL.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/EthernetTap.o osdep/EthernetTap.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/ManagedRoute.o osdep/ManagedRoute.cpp > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/Http.o osdep/Http.cpp > > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/OSUtils.o osdep/OSUtils.cpp > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o service/SoftwareUpdater.o service/SoftwareUpdater.cpp > In file included from service/../node/Node.hpp:33:0, > from service/SoftwareUpdater.cpp:41: > service/../node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendAck(int64_t, int)’: > service/../node/Path.hpp:448:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > return ((now - _lastAckSent) >= ackSendInterval || > ^ > service/../node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendQoS(int64_t, int)’: > service/../node/Path.hpp:458:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((now - _lastQoSMeasurement) > qosSendInterval)) && _packetsReceivedSinceLastQoS; > ^ > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o service/OneService.o service/OneService.cpp > In file included from service/../node/Node.hpp:33:0, > from service/OneService.cpp:33: > service/../node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendAck(int64_t, int)’: > service/../node/Path.hpp:448:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > return ((now - _lastAckSent) >= ackSendInterval || > ^ > service/../node/Path.hpp: In member function ‘bool ZeroTier::Path::needsToSendQoS(int64_t, int)’: > service/../node/Path.hpp:458:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > ((now - _lastQoSMeasurement) > qosSendInterval)) && _packetsReceivedSinceLastQoS; > ^ > service/OneService.cpp: In function ‘void ZeroTier::{anonymous}::_bondToJson(nlohmann::json&, ZeroTier::SharedPtr&)’: > service/OneService.cpp:301:7: warning: unused variable ‘tmp’ [-Wunused-variable] > char tmp[256]; > ^ > > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/LinuxEthernetTap.o osdep/LinuxEthernetTap.cpp > osdep/LinuxEthernetTap.cpp:15:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] > #pragma GCC diagnostic ignored "-Wrestrict" > ^ > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/LinuxNetLink.o osdep/LinuxNetLink.cpp > osdep/LinuxNetLink.cpp: In member function ‘void ZeroTier::LinuxNetLink::_routeAdded(nlmsghdr*)’: > osdep/LinuxNetLink.cpp:291:7: warning: unused variable ‘ms’ [-Wunused-variable] > char ms[24] = {0}; > ^ > osdep/LinuxNetLink.cpp: In member function ‘void ZeroTier::LinuxNetLink::_routeDeleted(nlmsghdr*)’: > osdep/LinuxNetLink.cpp:379:7: warning: unused variable ‘ms’ [-Wunused-variable] > char ms[24] = {0}; > ^ > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o osdep/PortMapper.o osdep/PortMapper.cpp > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/connecthostport.o ext/miniupnpc/connecthostport.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/igd_desc_parse.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/minisoap.o ext/miniupnpc/minisoap.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/minissdpc.o ext/miniupnpc/minissdpc.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniupnpc.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/miniwget.o ext/miniupnpc/miniwget.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/minixml.o ext/miniupnpc/minixml.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/portlistingparse.o ext/miniupnpc/portlistingparse.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/receivedata.o ext/miniupnpc/receivedata.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpcommands.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnpdev.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnperrors.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/miniupnpc/upnpreplyparse.o ext/miniupnpc/upnpreplyparse.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/libnatpmp/natpmp.o ext/libnatpmp/natpmp.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/libnatpmp/getgateway.o ext/libnatpmp/getgateway.c > gcc -O3 -fstack-protector -fPIE -Wall -Wno-deprecated -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o ext/http-parser/http_parser.o ext/http-parser/http_parser.c > > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -c -o one.o one.cpp > one.cpp: In function ‘int cli(int, char**)’: > one.cpp:633:84: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > printf("Link Select Method : %d\n", OSUtils::jsonInt(j["linkSelectMethod"],0)); > ^ > one.cpp:637:89: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > printf("Failover Interval : %d (ms)\n", OSUtils::jsonInt(j["failoverInterval"],0)); > ^ > one.cpp:638:80: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > printf("Up Delay : %d (ms)\n", OSUtils::jsonInt(j["upDelay"],0)); > ^ > one.cpp:639:82: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > printf("Down Delay : %d (ms)\n", OSUtils::jsonInt(j["downDelay"],0)); > ^ > one.cpp:640:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > printf("Packets Per Link : %d (ms)\n", OSUtils::jsonInt(j["packetsPerLink"],0)); > ^ > one.cpp:646:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (int i=0; i ^ > one.cpp:652:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > OSUtils::jsonInt(p[i]["alive"],0)); > ^ > one.cpp:657:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (int i=0; i ^ > one.cpp:666:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > OSUtils::jsonInt(p[i]["allocation"], 0)); > ^ > one.cpp:666:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] > one.cpp:621:12: warning: unused variable ‘bFoundBond’ [-Wunused-variable] bool bFoundBond = false; ^ > one.cpp:1313:7: warning: unused variable ‘success’ [-Wunused-variable] int success = 0; ^ > g++ -O3 -fstack-protector -fPIE -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_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=1 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -pie -Wl,-z,relro,-z,now -o zerotier-one node/AES.o node/AES_aesni.o node/AES_armcrypto.o node/C25519.o node/Capability.o node/CertificateOfMembership.o node/CertificateOfOwnership.o node/Identity.o node/IncomingPacket.o node/InetAddress.o node/Membership.o node/Multicaster.o node/Network.o node/NetworkConfig.o node/Node.o node/OutboundMulticast.o node/Packet.o node/Path.o node/Peer.o node/Poly1305.o node/Revocation.o node/Salsa20.o node/SelfAwareness.o node/SHA512.o node/Switch.o node/Tag.o node/Topology.o node/Trace.o node/Utils.o node/Bond.o node/BondController.o controller/EmbeddedNetworkController.o controller/DBMirrorSet.o controller/DB.o controller/FileDB.o controller/LFDB.o controller/PostgreSQL.o osdep/EthernetTap.o osdep/ManagedRoute.o osdep/Http.o osdep/OSUtils.o service/SoftwareUpdater.o service/OneService.o osdep/LinuxEthernetTap.o osdep/LinuxNetLink.o osdep/PortMapper.o ext/miniupnpc/connecthostport.o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/minisoap.o ext/miniupnpc/minissdpc.o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniwget.o ext/miniupnpc/minixml.o ext/miniupnpc/portlistingparse.o ext/miniupnpc/receivedata.o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnpreplyparse.o ext/libnatpmp/natpmp.o ext/libnatpmp/getgateway.o ext/http-parser/http_parser.o one.o > /usr/lib/gcc/i586-poky-linux/4.9.1/../../../../i586-poky-linux/bin/ld: cannot find -lssp_nonshared > /usr/lib/gcc/i586-poky-linux/4.9.1/../../../../i586-poky-linux/bin/ld: cannot find -lssp > collect2: error: ld returned 1 exit status > make-linux.mk:312: recipe for target 'zerotier-one' failed > make: *** [zerotier-one] Error 1
adamierymenko commented 3 years ago

We don't officially support this one, and I've never seen -lssp. You'll have to ask on a forum for this distribution. You may be missing a library.