zerotier / libzt

Encrypted P2P sockets over ZeroTier

Home Page:https://zerotier.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake errors for java build

tejas238 opened this issue · comments

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.

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.