Open V3rB0se opened 11 months ago
CR_GCC4=~/Android/Toolchains/aarch64-linux-android-4.9/bin/aarch64-linux-android-
CR_LINARO=~/Android/Toolchains/aarch64-linaro-4.9.4-linux-gnu/bin/aarch64-linux-gnu-
Linaro and GCC4 are the only "stable" ones, the rest have been abandoned.
or to get GCC4.9 from google :
1) Clone the toolchain
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
2) Reset hard to pre-deprecation
cd aarch64-linux-android-4.9 git reset --hard 74ea98e3cc5a4b49be2df0f070b814fff7ab140b
so the linaro toolchain works fine now its just this kernelsu error showing up when building
ksud.c:6:37: fatal error: linux/input-event-codes.h: No such file or directory
#include "linux/input-event-codes.h"
so the linaro toolchain works fine now its just this kernelsu error showing up when building
ksud.c:6:37: fatal error: linux/input-event-codes.h: No such file or directory
#include "linux/input-event-codes.h"
Try manually executing the ksu fetcher script, we patch that along side few other headers and issues inside the script itself
https://github.com/ananjaser1211/Cronos_8890/blob/cronos/scripts/fetch-latest-kernelsu.sh#L43
./scripts/fetch-latest-kernelsu.su
so the linaro toolchain works fine now its just this kernelsu error showing up when building
ksud.c:6:37: fatal error: linux/input-event-codes.h: No such file or directory
#include "linux/input-event-codes.h"
Try manually executing the ksu fetcher script, we patch that along side few other headers and issues inside the script itself
https://github.com/ananjaser1211/Cronos_8890/blob/cronos/scripts/fetch-latest-kernelsu.sh#L43
./scripts/fetch-latest-kernelsu.su
still the same i guess the script is broken, as it doesn't replace input-event-codes.h with input.h
Hello, I've tried building with various toolchains but none of them worked. could you share the toolchain you're using? I've tried clang-r399163 [11.0.4] mentioned in the build script but it didn't work either.