TokTok / jvm-toxcore-c

JVM (Java/Scala/Kotlin) bindings to toxcore
https://toktok.ltd
GNU General Public License v3.0
40 stars 30 forks source link

failed to build i686-linux-android #68

Closed 1971192997 closed 5 years ago

1971192997 commented 5 years ago

following is the log hope for you help...thanks /home/ubuntu/toxapp/jvm-toxcore-c/_build/i686-linux-android/protobuf/src/.libs/libprotobuf.a(arena.o):/home/ubuntu/toxapp/jvm-toxcore-c/_git/protobuf/src/google/protobuf/arena.cc:function google::protobuf::internal::ArenaImpl::Init(): error: undefined reference to '__atomic_fetch_add_8'

clang38++: error: linker command failed with exit code 1 (use -v to see invocation)

make[3]: *** [protoc] Error 1

make[3]: Leaving directory `/home/ubuntu/toxapp/jvm-toxcore-c/_build/i686-linux-android/protobuf/src'

make[2]: *** [install-recursive] Error 1

zoff99 commented 5 years ago

@1971192997 can you explain what you want to do? are you trying to compile Antox from scratch? what is your goal?

1971192997 commented 5 years ago

@zoff99 i am trying to build "x86/libtox4j-c.so" here is my steps: Makefile 1$(MAKE) -f scripts/build-host 2(MAKE) -f scripts/build-i686-linux-android

and then make error

zoff99 commented 5 years ago

yes, but why? what do you want to do with this library? what application do you want to run?

1971192997 commented 5 years ago

i am trying to compile Antox with libtox4j-c.so on i686-linux-android

zoff99 commented 5 years ago

maybe you want to try TRIfA first? https://github.com/zoff99/ToxAndroidRefImpl

1971192997 commented 5 years ago

got it, thanks