I've updated my rAthena, and no work.
i got that same error too so i'm not using it ):
Replace * 1019 : .server_max_level = getserverdef( 'V'AR_MAX_LEVEL );
with
.server_max_level = MAX_LEVEL;
as you are no longer able to use VAR_MAX_LEVEL to call for max level as it is not in the in db/const.txt anymore but moved to src/map/script.c as MAX_LEVEL. There are still other errors in this script however.