-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cannot compile with uClibc++ #993
Comments
Isn't this a bug in uclibc++? It works against libc++ (clang), whatever Microsoft uses with VC++, and libstdc++ (GNU). |
Not exactly. In its algorithm implementation, uClibc++ requires an operator that ZeroTierOne is not providing. My C++ is not good enough to figure this one out. An example with a different program would be: morgenroth/ibrdtn@008c385 |
Does that commit to |
It does not. It's not a != operator that's missing. It's something else. The patch i linked to errored with this: openwrt/packages#7822 Note the != there. Here, the error is different: error: no match for call to '(std::lessZeroTier::Multicaster::MulticastGroupMember) (ZeroTier::Multicaster::MulticastGroupMember&, const ZeroTier::Address&)' |
Ahh, I think I might have it now. Try it. Don't have a uclibc++ build environment so I can't test. |
Same error. |
I tried changing line 427, which is the line that errors. Maybe this provides a clue?
|
I got it to proceed with this change (yes I know, totally wrong):
but then it started throwing some C++11 headers. No dice. |
I have tried to compile zerotier with uClibc++(C++98 library) instead of libstdcpp. It's failing as the algorithm header requires a missing operator. Here is the output:
The text was updated successfully, but these errors were encountered: