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

cmake errors for java build #264

Open
tejas238 opened this issue Dec 16, 2023 · 1 comment
Open

cmake errors for java build #264

tejas238 opened this issue Dec 16, 2023 · 1 comment

Comments

@tejas238
Copy link

I'm trying to build the java library on orangepi zero (armhf architecture) but keep getting internal compiler errors for targets 'CMakeFiles/zto_pic.dir/ext/ZeroTierOne/node/Bond.cpp.o' and 'CMakeFiles/zto_pic.dir/ext/ZeroTierOne/node/CertificateOfMembership.cpp.o'. Log file is attached.

libzt-java-log.txt

I've already tried building on the following configurations to no avail:

  • Ubuntu 16.04 (Xenial), openjdk-17-jdk, cmake 3.26.6, gcc compiler 6.5
  • Ubuntu 16.04 (Xenial), openjdk-11-jdk, cmake 3.26.6, gcc compiler 5.4.0
  • Debian 9 (Stretch), openjdk-11-jdk, cmake 3.18.4, gcc compiler 10.2.1
  • Debian 11 (Bullseye), openjdk-11-jdk, cmake 3.18.4, gcc compiler 10.2.1

Are there any supported OS/java/cmake/gcc versions that is currently working or could work for orangepi zero? It would be much faster than random testing at this point. If not, are there any other fixes I can try here? I had previously built successfully in Nov 2022 on the Debian 9 configuration but haven't been able to since then.

@janvanbouwel
Copy link
Contributor

As the error happens in https://github.com/zerotier/ZeroTierOne code might be worth opening the issue there(/seeing if you can build that) as that seems to be looked at more actively.

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

2 participants