iamalibaba
iamalibaba
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Here's the error I get when building protobuf: ld.lld: error: undefined symbol: __android_log_write >>> referenced by common.cc:146 (google/protobuf/stubs/common.cc:146)
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Failed to build.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Would it be possible to use Termux's protoc instead?
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
I'll try to find the source code for this protoc version.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
It didn't work because the script would be ran multiple times, causing it to try to run proot-distro from within Ubuntu, causing it to throw an error about running proot-distro as root user.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Here is my script so far: #!/data/data/com.termux/files/usr/bin/sh proot() { printf >&2 "\e[1;97m%s\n%s\n\e[0m" "Running in PROOT:" "$1" proot-distro login ubuntu -- bash -c "$1" } proot "/data/data/com.termux/files/home/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.21.8/3b3111d68b7ef4392cfbbea33a48a95dc7a1f4d7/protoc-3.21.8-linux-aarch_64.exe $@" I'm about to test it now.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Maybe something like this will work? proot() { printf >&2 "\e[1;97m%s\n%s\n\e[0m" "Running in PROOT:" "$1" proot-distro login ubuntu -- bash -c "$1" }
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
I tried using LD_PRELOAD=/system/bin/linker64 /data/data/com.termux/files/home/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.21.8/3b3111d68b7ef4392cfbbea33a48a95dc7a1f4d7/protoc-3.21.8-linux-aarch_64.exe which still gave me the same error I originally had.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Running the program using /system/bin/linker64, I get an error this error: "protoc-3.21.8-linux-aarch_64.exe" has unexpected e_type: 2
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Alright. I've never written a wrapper, so I'll look into it. Thanks.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
How can I use a wrapper?
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
Is there a way to fake this out without entering an Ubuntu proot environment? Is it possible to change the linker path?
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
I was attempting to build Ghidra. Everything before this built successfully.
24 replies
TTermux
Created by iamalibaba on 6/17/2023 in #support
Gradle build error
It appears to be an issue with Termux, since the runs fine from an Ubuntu proot environment.
24 replies
TTermux
Created by iamalibaba on 5/27/2023 in #support
networking
The version has to be Android 13. ip a worked fine on my previous phone, which ran Android 12, but it stopped working when I installed Termux on my current phone, which is Android 13. That makes sense though. Thanks.
5 replies
TTermux
Created by iamalibaba on 5/27/2023 in #support
networking
Yea but I can't root my phone
5 replies
TTermux
Created by iamalibaba on 5/16/2023 in #support
OpenOCD
I got an error saying error: 'HAVE_CAPSTONE' is not defined, evaluates to 0 [-Werror,-Wundef] during compilation.
4 replies
TTermux
Created by iamalibaba on 2/24/2023 in #support
GPT-2
Nevermind. I used proot-distro to install an Ubuntu subsystem. I entered the subsystem and ran export ANDROID_DATA=anything so that I could use pip3 to install the libraries I needed. I can run GPT-2 on my phone now.
2 replies
TTermux
Created by iamalibaba on 12/12/2022 in #support
How do I build QEMU?
I am talking about the docker image from the build environment setup link below. https://github.com/termux/termux-packages/wiki/Build-environment#docker-container I only asked because I got an error trying to run the image on my Raspberry Pi.
12 replies
TTermux
Created by iamalibaba on 12/12/2022 in #support
How do I build QEMU?
Can I use a Raspberry Pi to run the docker image?
12 replies