dingusppc icon indicating copy to clipboard operation
dingusppc copied to clipboard

[BUG] Compile issues in termux

Open spz2020 opened this issue 1 year ago • 2 comments

Describe the bug DingusPPC git builds failed to build under termux

To Reproduce Steps to reproduce the behavior:

  1. Follow build instructions on README.md under termux
  2. Wait a while
  3. Compilation should return an error

Expected behavior can build

Screenshots Screenshot_2024-06-30-11-54-15-75_84d3000e3f4017145260f7618db1d683

Device Information (please complete the following information):

  • Device Type: Smartphone
  • Host OS: Linux localhost 4.14.186+
  • Host Processor: Skipped because of a compilation error
  • Host RAM: Skipped because of a compilation error
  • Guest OS: Skipped because of a compilation error
  • Guest Processor: Skipped because of a compilation error
  • Guest ROM: Skipped because of a compilation error
  • Guest RAM: Skipped because of a compilation error
  • Build Date 30/6/2024
  • Version https://github.com/dingusdev/dingusppc/commit/5eaff7a8ceec374c545328a458fbfd5620a12bef

Additional context

ld.lld: error: duplicate symbol: now_ns()
>>> defined at ppcexec.cpp
>>>            cpu/ppc/CMakeFiles/cpu_ppc.dir/ppcexec.cpp.o:(now_ns())
>>> defined at cubeb_aaudio.cpp
>>>            cubeb_aaudio.cpp.o:(.text+0x0) in archive lib/libcubeb.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)

spz2020 avatar Jun 30 '24 04:06 spz2020

Added a commit to my fork to fix this: https://github.com/joevt/dingusppc/commit/18bde6eab4f1acfe61cbe7af09b00f7e04037d8c

joevt avatar Jun 30 '24 04:06 joevt

Changed now_ns in loguru and ppc_exec with dingusdev/dingusppc@17cdcc5560961c7d85df5a536826206c9c436b51

dingusdev avatar Jun 30 '24 13:06 dingusdev