Closed Rem01Gaming closed 7 months ago
I haven't tested it on android termux environment. Try installing libandroid-wordexp: https://github.com/termux/libandroid-support/issues/8
That's kinda works but it throws new errors, now from ld.lld.
$ bash ssc -u mtkfest mtkfest.x
ld.lld: error: undefined symbol: wordexp
>>> referenced by mtkfest.cpp
>>> /data/data/com.termux/files/usr/tmp/mtkfest-b0ba19.o:(main)
ld.lld: error: undefined symbol: wordfree
>>> referenced by mtkfest.cpp
>>> /data/data/com.termux/files/usr/tmp/mtkfest-b0ba19.o:(main)
g++: error: linker command failed with exit code 1 (use -v to see invocation)
Try
LDFLAGS="-landroid-wordexp" ./ssc ...
Thanks working fine now, I've submitted #12 for add Android support. I will use ssc instead shc for my projects now.
This happen while using Termux for compile a shell script, as my attempts to make a working binary on Android environment since binary that compiled on linux won't work in Android, throwing error
env: exec mtkfest: No such file or directory
.