Hello there, I've been using this guide to set up a herc server on my RPi 4 https://herc.ws/wiki/Installation_(Debian)
Everything works until the compilation part.
I'm using DietPi
This is the output of 'make sql'
Everything works until the compilation part.
I'm using DietPi
This is the output of 'make sql'
Code:
hercuser@DietPi:~/Hercules $ make sql
MAKE mt19937ar
make[1]: se entra en el directorio '/home/hercuser/Hercules/3rdparty/mt19937ar'
make[1]: No se hace nada para 'all'.
make[1]: se sale del directorio '/home/hercuser/Hercules/3rdparty/mt19937ar'
MAKE libconfig
make[1]: se entra en el directorio '/home/hercuser/Hercules/3rdparty/libconfig'
make[1]: No se hace nada para 'all'.
make[1]: se sale del directorio '/home/hercuser/Hercules/3rdparty/libconfig'
MAKE libbacktrace
make[1]: se entra en el directorio '/home/hercuser/Hercules/3rdparty/libbacktrace'
make[1]: No se hace nada para 'all'.
make[1]: se sale del directorio '/home/hercuser/Hercules/3rdparty/libbacktrace'
MAKE common_sql
make[1]: se entra en el directorio '/home/hercuser/Hercules/src/common'
make[1]: No se hace nada para 'sql'.
make[1]: se sale del directorio '/home/hercuser/Hercules/src/common'
MAKE login_sql
make[1]: se entra en el directorio '/home/hercuser/Hercules/src/login'
make[1]: No se hace nada para 'sql'.
make[1]: se sale del directorio '/home/hercuser/Hercules/src/login'
MAKE char_sql
make[1]: se entra en el directorio '/home/hercuser/Hercules/src/char'
make[1]: No se hace nada para 'all'.
make[1]: se sale del directorio '/home/hercuser/Hercules/src/char'
MAKE map_sql
make[1]: se entra en el directorio '/home/hercuser/Hercules/src/map'
CC achievement.c
Mensajes del ensamblador:
Error fatal: no se puede crear obj_sql/achievement.o: Permiso denegado
In file included from ../common/hercules.h:24,
from ../map/achievement.h:24,
from achievement.c:24:
../common/packetsstatic_len.h:28:24: error: ‘PACKET_LEN_0x02c8’ undeclared here (not in a function); did you mean ‘PACKET_LEN_0x0298’?
STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
^~~~~~~~~~~
../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
#define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
^~
../map/packets_struct.h:3158:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8);
^~~~~~~~~~~~~~~~~~~~
../common/packetsstatic_len.h:28:16: error: expression in static assertion is not an integer
STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
^
../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
#define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
^~
../map/packets_struct.h:3158:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8);
^~~~~~~~~~~~~~~~~~~~
../common/packetsstatic_len.h:28:24: error: ‘PACKET_LEN_0x07e1’ undeclared here (not in a function); did you mean ‘PACKET_LEN_0x01e1’?
STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
^~~~~~~~~~~
../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
#define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
^~
../map/packets_struct.h:3597:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
DEFINE_PACKET_HEADER(ZC_SKILLINFO_UPDATE2, 0x07e1);
^~~~~~~~~~~~~~~~~~~~
../common/packetsstatic_len.h:28:16: error: expression in static assertion is not an integer
STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
^
../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
#define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
^~
../map/packets_struct.h:3597:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
DEFINE_PACKET_HEADER(ZC_SKILLINFO_UPDATE2, 0x07e1);
^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:165: obj_sql/achievement.o] Error 2
make[1]: se sale del directorio '/home/hercuser/Hercules/src/map'
make: *** [Makefile:124: map_sql] Error 2
hercuser@DietPi:~/Hercules $