but i have an error when i try to compile in this instruction:
make sql
when i want to use make, i have an error and this is the log of console:
Entering directory `/home/usr/rAthena/src/login' CC login.c login.c: In function ‘login_set_defaults’: <command-line>:0:11: error: ‘YYYYMMDD’ undeclared (first use in this function) login.c:698:56: note: in expansion of macro ‘PACKETVER’ login_config.client_version_to_connect = date2version(PACKETVER); //20120410 => 30 ^ <command-line>:0:11: note: each undeclared identifier is reported only once for each function it appears in login.c:698:56: note: in expansion of macro ‘PACKETVER’ login_config.client_version_to_connect = date2version(PACKETVER); //20120410 => 30 ^ make[1]: *** [obj/login.o] Error 1 make[1]: Leaving directory `/home/id/rAthena/src/login' make: *** [login] Error 2
i dont know what can i do, YYYYMMDD is set before i run the script, but i dont understand/
Question
pavul
hello i have been installing rathena following the guides, i hadnt problems until now,
this is the link im following:
https://www.rathena.org/wiki/Compiling#Make
but i have an error when i try to compile in this instruction:
when i want to use make, i have an error and this is the log of console:
Entering directory `/home/usr/rAthena/src/login'
CC login.c
login.c: In function ‘login_set_defaults’:
<command-line>:0:11: error: ‘YYYYMMDD’ undeclared (first use in this function)
login.c:698:56: note: in expansion of macro ‘PACKETVER’
login_config.client_version_to_connect = date2version(PACKETVER); //20120410 => 30
^
<command-line>:0:11: note: each undeclared identifier is reported only once for each function it appears in
login.c:698:56: note: in expansion of macro ‘PACKETVER’
login_config.client_version_to_connect = date2version(PACKETVER); //20120410 => 30
^
make[1]: *** [obj/login.o] Error 1
make[1]: Leaving directory `/home/id/rAthena/src/login'
make: *** [login] Error 2
i dont know what can i do, YYYYMMDD is set before i run the script, but i dont understand/
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.