I saw the current project builds for arm64-v8a, and tried to build for armeabi-v7a. But got the following error when building the project. Could you advise how to get through this?
Task :chizpurfle:externalNativeBuildRelease FAILED
Build stalker-server arm64-v8a
ninja: no work to do.
Build chizpurfle-native arm64-v8a
ninja: no work to do.
Build stalker-server armeabi-v7a
[1/3] Building C object CMakeFiles/stalker-server.dir/src/main/cpp/server/fakeeventsink.c.o
[2/3] Building CXX object CMakeFiles/stalker-server.dir/src/main/cpp/server/stalker-server.cpp.o
FAILED: /usr/lib/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --gcc-toolchain=/usr/lib/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/usr/lib/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot -Dstalker_server_EXPORTS -I../../../../libs/frida-core -I../../../../libs/frida-gum -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -no-canonical-prefixes -fPIC -ffunction-sections -fdata-sections -Wall -Os -pipe -g3 -fno-stack-protector -fPIC -fPIE -funwind-tables -fno-exceptions -fno-rtti -Oz -DNDEBUG -fPIC -MD -MT CMakeFiles/stalker-server.dir/src/main/cpp/server/fakeeventsink.c.o -MF CMakeFiles/stalker-server.dir/src/main/cpp/server/fakeeventsink.c.o.d -o CMakeFiles/stalker-server.dir/src/main/cpp/server/fakeeventsink.c.o -c /home/usrname/factory/system_service/fantastic_beasts/chizpurfle/src/main/cpp/server/fakeeventsink.c
In file included from /home/usrname/factory/system_service/fantastic_beasts/chizpurfle/src/main/cpp/server/fakeeventsink.c:9:
In file included from /home/usrname/factory/system_service/fantastic_beasts/chizpurfle/src/main/cpp/server/fakeeventsink.h:10:
../../../../libs/frida-gum/frida-gum.h:5865:3: error: '_GStaticAssertCompileTimeAssertion_0' declared as an array with a negative size
G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
^~~~~~~~~~~~~~~~
../../../../libs/frida-gum/frida-gum.h:4565:103: note: expanded from macro 'G_STATIC_ASSERT'
^~~~~~~
/home/usrname/factory/system_service/fantastic_beasts/chizpurfle/src/main/cpp/server/stalker-server.cpp:607:78: warning: format specifies type 'void *' but the argument has type 'GumAddress' (aka 'unsigned l
ong') [-Wformat]
LOGD("transformed block in module %s %p", details->name, GUM_ADDRESS(block_address));
^~~~~~~
/home/usrname/factory/system_service/fantastic_beasts/chizpurfle/src/main/cpp/server/stalker-server.cpp:607:78: warning: format specifies type 'void *' but the argument has type 'GumAddress' (aka 'unsigned long') [-Wformat]
LOGD("transformed block in module %s %p", details->name, GUM_ADDRESS(block_address));
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I saw the current project builds for arm64-v8a, and tried to build for armeabi-v7a. But got the following error when building the project. Could you advise how to get through this?
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':chizpurfle:externalNativeBuildRelease'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.3.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1s 14 actionable tasks: 3 executed, 11 up-to-date