box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Can't build box64 at all on Termux

Open Yu-Vitaqua-fer-Chronos opened this issue 3 years ago • 4 comments

Heya, I'm trying to build box64 on Termux but I'm getting this issue: https://haste.powercord.dev/onekanefav

Any information you need I'll be happy to acquire!

Yu-Vitaqua-fer-Chronos avatar Aug 14 '22 02:08 Yu-Vitaqua-fer-Chronos

What is the system you install on term? Debian family works. The one based on musl will not work.

ptitSeb avatar Aug 14 '22 07:08 ptitSeb

Please check this error ; hardware: Arrch64 android compiler: clang14 about termux....emm you can try this: https://f-droid.org/repo/com.termux_118.apk (it is latest) (It's a terminal emulator , with a minimize linux and a lot of packages: cmake,python,clang,proot ... (only can run bionic , glibc is disabled 😅 )) error info tentative definition has type 'struct __jmp_buf_tag' that is never completed,I'm try to fix it,it still not work... file "/data/data/com.termux/files/home/box64/src/dynarec/dynablock.c,line:299" causes it...

dirt2022 avatar Aug 14 '22 12:08 dirt2022

It may be useful edit setjmp.h add these things:

struct __jmp_buf_tag { /* NOTE: The machine-dependent definitions of __sigsetjmp' assume that a jmp_buf' begins with a __jmp_buf' and that __mask_was_saved' follows it. Do not move these members or add others before it. / jmp_buf __jmpbuf; / Calling environment. / int __mask_was_saved; / Saved the signal mask? / sigset_t __saved_mask; / Saved signal mask. */ };

dirt2022 avatar Aug 14 '22 13:08 dirt2022

Heya, I'm trying to build box64 on Termux but I'm getting this issue: https://haste.powercord.dev/onekanefav

Any information you need I'll be happy to acquire!

Look at this😅

dirt2022 avatar Aug 15 '22 04:08 dirt2022

the setjmp structures have different implementation on Android than on Linux basicaly. For now, build on Linux a system. Building on something else is not supported.

ptitSeb avatar Sep 03 '22 08:09 ptitSeb