box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Build error

Open dirt2022 opened this issue 3 years ago • 6 comments

Hardware Snapdragon 8xx clang 14. /home/box64/src/elfs/elfloader.c:992:38: error: use of undeclared identifier 'STB_GNU_UNIQUE' if(!to_add || (bind==STB_GNU_UNIQUE && FindGlobalSymbol(maplib, symname, -1, NULL))) ^ /home/box64/src/elfs/elfloader.c:1029:34: error: use of undeclared identifier 'STB_GNU_UNIQUE' if(!to_add || (bind==STB_GNU_UNIQUE && FindGlobalSymbol(maplib, symname, version, vername)))
^ FindGlobalSymbol(maplib, symname, version, vername))) Also not work

SOFTWARE:ANDROID NDK r25

dirt2022 avatar Aug 15 '22 05:08 dirt2022

You are using ANDROID profile?

ptitSeb avatar Aug 15 '22 08:08 ptitSeb

You are using ANDROID profile?

Yeah! I use Termux,

dirt2022 avatar Aug 15 '22 08:08 dirt2022

Mmmm, ok, I add a test for that STB_GNU_UNIQUE define and define it if not found.

ptitSeb avatar Aug 15 '22 14:08 ptitSeb

Stop

dirt2022 avatar Aug 17 '22 13:08 dirt2022

?

ptitSeb avatar Aug 17 '22 13:08 ptitSeb

?

I reopened another , names "Termux On Android,"after now,Box64 On Android branch is established.Another questions about this can commit here.

dirt2022 avatar Aug 17 '22 13:08 dirt2022

box64 now have an ANDROID build profile (similar to box86). It should build without error, but I haven't tested it, so I don't know if it works.

Note that, like with box86, this build of box64 (build with ANDROID ) should be use to run x86_64 android program, not x86_64 linux program.

ptitSeb avatar Sep 02 '23 14:09 ptitSeb