blob: 2de9401da3a7b65cadb4c14d888156091d2a743b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Error when running MTA server on RISC-V via box64
I was trying out box64 on a RISC-V SBC (a MangoPi MQ-Pro with an Allwinner D1 CPU). After successfully running a simple "Hello, world!"-style C program compiled for x86_64, I moved to something more difficult; running [MTA server for x86_64](https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux#Installation_64_bit).
This however threw some errors which stopped the execution of the server:
```
$ ./mta-server64
Box64 v0.1.9 742742f built on Sep 2 2022 11:43:07
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 23 Env var
Looking for ./mta-server64
Rename process to "mta-server64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated ./x64/core.so
Using native(wrapped) libncursesw.so.5
Using native(wrapped) libtinfo.so.5
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c0018 (0x1d030)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c0260 (0x1d4c0)
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c0430 (0x1d860)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c07c8 (0x1df90)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c08a8 (0x1e150)
Error: Symbol wprintw not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c0950 (0x1e2a0) in ./x64/core.so
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x3fb81c0a38 (0x1e470)
Error: relocating Plt symbols in elf core.so
Error initializing needed lib core.so
Cannot dlopen("./x64/core.so"/0x3fb785b051, 2)
ERROR: Could not load ./x64/core.so
* Check installed data files.
Press enter to continue...
```
|