Up ?
Same error on my rpi4.
Seems that Wifi or Wired interface of pi is detected as USB.
With dmesg debugging I get constantly Link is down, Link is up.
I'm thinking more of alimentation (underpowerd) device.
Seems that other power supply can knock out the pi, making it irrecuperable damage.
It's strange because the server with the account freshly created don't crash. It's crashing after the new account go through a "relogin" (login a second time).
EDIT : OK it's chrismas before the hour ! I did with cmake and it worked :
cd rathena && mkdir build && cd build
cmake -G"Unix Makefiles" -DINSTALL_TO_SOURCE=ON .. <-- the two points are important
make
And it should be OK for the rpi. ^_^
Thanks guys on the forum that give me the idea to try with cmake.
EDIT 2: Worked with sql database to yes. When I switch to yml it crashed and corrupt the stuff.