ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.89k stars 286 forks source link

Build error #388

Closed dirt2022 closed 2 weeks ago

dirt2022 commented 2 years ago

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

ptitSeb commented 2 years ago

You are using ANDROID profile?

dirt2022 commented 2 years ago

You are using ANDROID profile?

Yeah! I use Termux,

ptitSeb commented 2 years ago

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

dirt2022 commented 2 years ago

Stop

ptitSeb commented 2 years ago

?

dirt2022 commented 2 years ago

?

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

ptitSeb commented 1 year ago

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.

LukeShortCloud commented 2 weeks ago

Many community reports show that Box64 builds on Android these days. Closing as complete.