Hello hercules,
As topic above, below is my compile logs. Please help me out from this error.
Thank you.
As topic above, below is my compile logs. Please help me out from this error.
make[1]: Entering directory `/root/Desktop/Hercules/src/common'
MKDIR obj_all
CC conf.c
CC db.c
CC des.c
CC ers.c
CC grfio.c
CC HPM.c
CC mapindex.c
CC md5calc.c
CC mutex.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
strlib.c: In function 'strlib_normalize_name':
strlib.c:193: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c:203: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c:210: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c: In function 'strlib_e_mail_check':
strlib.c:314: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c: In function 'sv_escape_c':
strlib.c:767: warning: logical '&&' with non-zero constant will always evaluate as true
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
memmgr.c: In function 'malloc_verify_ptr':
memmgr.c:938: warning: logical '&&' with non-zero constant will always evaluate as true
CC socket.c
AR obj_all/common.a
MKDIR obj_sql
CC sql.c
AR obj_sql/common_sql.a
CC console.c
CC core.c
CC memmgr.c
memmgr.c: In function 'malloc_verify_ptr':
memmgr.c:938: warning: logical '&&' with non-zero constant will always evaluate as true
CC socket.c
AR obj_all/common_mini.a
make[1]: Leaving directory `/root/Desktop/Hercules/src/common'
MAKE login_sql
make[1]: Entering directory `/root/Desktop/Hercules/src/login'
MKDIR obj_sql
CC account_sql.c
CC HPMlogin.c
CC ipban_sql.c
CC ragnaban_sql.c
CC login.c
CC loginlog_sql.c
LD login-server
make[1]: Leaving directory `/root/Desktop/Hercules/src/login'
MAKE char_sql
make[1]: Entering directory `/root/Desktop/Hercules/src/char'
MKDIR obj_sql
CC char.c
char.c: In function 'char_check_char_name':
char.c:1624: warning: logical '&&' with non-zero constant will always evaluate as true
char.c:1630: warning: logical '&&' with non-zero constant will always evaluate as true
CC HPMchar.c
CC loginif.c
CC mapif.c
CC geoip.c
CC inter.c
inter.c: In function 'mapif_parse_NameChangeRequest':
inter.c:1274: warning: logical '&&' with non-zero constant will always evaluate as true
inter.c:1280: warning: logical '&&' with non-zero constant will always evaluate as true
CC int_auction.c
CC int_elemental.c
CC int_guild.c
int_guild.c: In function 'mapif_parse_CreateGuild':
int_guild.c:1183: warning: logical '&&' with non-zero constant will always evaluate as true
int_guild.c:1189: warning: logical '&&' with non-zero constant will always evaluate as true
int_guild.c:1204: error: 'GPERM_ALL' undeclared (first use in this function)
int_guild.c:1204: error: (Each undeclared identifier is reported only once
int_guild.c:1204: error: for each function it appears in.)
make[1]: *** [obj_sql/int_guild.o] Error 1
make[1]: Leaving directory `/root/Desktop/Hercules/src/char'
make: *** [char_sql] Error 2
MKDIR obj_all
CC conf.c
CC db.c
CC des.c
CC ers.c
CC grfio.c
CC HPM.c
CC mapindex.c
CC md5calc.c
CC mutex.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
strlib.c: In function 'strlib_normalize_name':
strlib.c:193: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c:203: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c:210: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c: In function 'strlib_e_mail_check':
strlib.c:314: warning: logical '&&' with non-zero constant will always evaluate as true
strlib.c: In function 'sv_escape_c':
strlib.c:767: warning: logical '&&' with non-zero constant will always evaluate as true
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
memmgr.c: In function 'malloc_verify_ptr':
memmgr.c:938: warning: logical '&&' with non-zero constant will always evaluate as true
CC socket.c
AR obj_all/common.a
MKDIR obj_sql
CC sql.c
AR obj_sql/common_sql.a
CC console.c
CC core.c
CC memmgr.c
memmgr.c: In function 'malloc_verify_ptr':
memmgr.c:938: warning: logical '&&' with non-zero constant will always evaluate as true
CC socket.c
AR obj_all/common_mini.a
make[1]: Leaving directory `/root/Desktop/Hercules/src/common'
MAKE login_sql
make[1]: Entering directory `/root/Desktop/Hercules/src/login'
MKDIR obj_sql
CC account_sql.c
CC HPMlogin.c
CC ipban_sql.c
CC ragnaban_sql.c
CC login.c
CC loginlog_sql.c
LD login-server
make[1]: Leaving directory `/root/Desktop/Hercules/src/login'
MAKE char_sql
make[1]: Entering directory `/root/Desktop/Hercules/src/char'
MKDIR obj_sql
CC char.c
char.c: In function 'char_check_char_name':
char.c:1624: warning: logical '&&' with non-zero constant will always evaluate as true
char.c:1630: warning: logical '&&' with non-zero constant will always evaluate as true
CC HPMchar.c
CC loginif.c
CC mapif.c
CC geoip.c
CC inter.c
inter.c: In function 'mapif_parse_NameChangeRequest':
inter.c:1274: warning: logical '&&' with non-zero constant will always evaluate as true
inter.c:1280: warning: logical '&&' with non-zero constant will always evaluate as true
CC int_auction.c
CC int_elemental.c
CC int_guild.c
int_guild.c: In function 'mapif_parse_CreateGuild':
int_guild.c:1183: warning: logical '&&' with non-zero constant will always evaluate as true
int_guild.c:1189: warning: logical '&&' with non-zero constant will always evaluate as true
int_guild.c:1204: error: 'GPERM_ALL' undeclared (first use in this function)
int_guild.c:1204: error: (Each undeclared identifier is reported only once
int_guild.c:1204: error: for each function it appears in.)
make[1]: *** [obj_sql/int_guild.o] Error 1
make[1]: Leaving directory `/root/Desktop/Hercules/src/char'
make: *** [char_sql] Error 2
Thank you.