RPCS3 Forums

Full Version: compile error about asmjit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I compile RPCS3, there was error about 3rdparty asmjit.
Error message is as below:
============================================================
Consolidate compiler generated dependencies of target asmjit
[ 15%] Building CXX object 3rdparty/asmjit/CMakeFiles/asmjit.dir/asmjit/src/asmjit/base/assembler.cpp.o

In file included from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/codeholder.h:13,
                from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/codeemitter.h:13,
                from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/assembler.h:12,
                from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/assembler.cpp:11:
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:185:3: error:#error "[asmjit] Couldn't determine the target's calling convention."
  185 | # error "[asmjit] Couldn't determine the target's calling convention."
      |  ^~~~~
In file included from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/codeholder.h:13,
                from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/codeemitter.h:13,
                from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/assembler.h:12,
                from /home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/assembler.cpp:11:
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:477:58: error:‘kIdHost’ is not ‘asmjit::CallConv’ member
  477 |  ASMJIT_INLINE FuncSignature0(uint32_t ccId = CallConv::kIdHost) noexcept {
      |                                                          ^~~~~~~
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:486:58: error:‘kIdHost’ is not ‘asmjit::CallConv’ member
  486 |  ASMJIT_INLINE FuncSignature1(uint32_t ccId = CallConv::kIdHost) noexcept {
      |                                                          ^~~~~~~
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:496:58: error:‘kIdHost’is not ‘asmjit::CallConv’ member
  496 |  ASMJIT_INLINE FuncSignature2(uint32_t ccId = CallConv::kIdHost) noexcept {
      |                                                          ^~~~~~~
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:506:58: error:‘kIdHost’ is not ‘asmjit::CallConv’ member
  506 |  ASMJIT_INLINE FuncSignature3(uint32_t ccId = CallConv::kIdHost) noexcept {
      |                                                          ^~~~~~~
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:516:58: error:‘kIdHost’is not ‘asmjit::CallConv’ member
  516 |  ASMJIT_INLINE FuncSignature4(uint32_t ccId = CallConv::kIdHost) noexcept {
      |                                                          ^~~~~~~
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:526:58: error :‘kIdHost’ is not ‘asmjit::CallConv’ member 
  526 |  ASMJIT_INLINE FuncSignature5(uint32_t ccId = CallConv::kIdHost) noexcept {
      |                                                          ^~~~~~~
/home/sunlil/Game/rpcs3/3rdparty/asmjit/asmjit/src/asmjit/base/../base/../base/../base/../base/func.h:536:58: error:‘kIdHost’ is not ‘asmjit::CallConv’ member
  ……
make[2]: *** [3rdparty/asmjit/CMakeFiles/asmjit.dir/build.make:90:3rdparty/asmjit/CMakeFiles/asmjit.dir/asmjit/src/asmjit/base/assembler.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:5181:3rdparty/asmjit/CMakeFiles/asmjit.dir/all] error 2
make: *** [Makefile:156:all] error 2

=================================================================================

What's matter about this?
How to solve this?
Thanks a lot.