Closed larku closed 8 years ago
Anyone found a solution for this? If not what are you using to secure your connections?
Solved: In case anyone else is having this issue, it's very simple to fix.
You just need to define CAT_NO_ENTROPY_THREAD in cat/Config.hpp.
This removed the thread call completely and building is successful!
I'm wanting to enable libCat security on Android but it fails to compile due to
cat/src/threads/Threads.cpp
callingpthread_cancel(..)
inThreads::AbortThread()
.My research suggests that Android/NDK does not support
pthread_cancel(..)
Threads.cpp
is included inRakNet/SecureHandshake.cpp
Is there a workaround for this?
I'm building using android-ndk-r10d-linux specifying android-9 as the platform target.
Solved: In case anyone else is having this issue, it's very simple to fix.
You just need to define CAT_NO_ENTROPY_THREAD in cat/Config.hpp.
This removed the thread call completely and building is successful!