Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSDEthernetTap build failure on OpenBSD #2397

Open
juanpeha opened this issue Oct 28, 2024 · 0 comments
Open

BSDEthernetTap build failure on OpenBSD #2397

juanpeha opened this issue Oct 28, 2024 · 0 comments

Comments

@juanpeha
Copy link

ZeroTier 1.14.2 fails to build on OpenBSD 7.6.

$ gmake
clang++ -O3 -fstack-protector -Wall -fPIE -fvisibility=hidden -fstack-protector -pthread -isystem ext -Iext/prometheus-cpp-lite-1.0/core/include -Iext/prometheus-cpp-lite-1.0/simpleapi/include -DNDEBUG -DZT_USE_X64_ASM_SALSA2012 -DZT_BUILD_PLATFORM=9 -DZT_BUILD_ARCHITECTURE=2 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -std=c++17    -c -o osdep/EthernetTap.o osdep/EthernetTap.cpp
osdep/EthernetTap.cpp:143:42: error: no matching constructor for initialization of 'BSDEthernetTap'
        return std::shared_ptr<EthernetTap>(new BSDEthernetTap(homePath,mac,mtu,metric,nwid,friendlyName,handler,arg));
                                                ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osdep/BSDEthernetTap.hpp:36:2: note: candidate constructor not viable: requires 10 arguments, but 8 were provided
        BSDEthernetTap(
        ^
osdep/BSDEthernetTap.hpp:33:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 8 were provided
class BSDEthernetTap : public EthernetTap
      ^
1 error generated.
gmake: *** [<builtin>: osdep/EthernetTap.o] Error 1

1.14.0 is building fine, but 1.14.1 does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant