Jump to content
  • 0
Sign in to follow this  
Fizi

Recompile error after pull the latest git

Question

Hello hercules,

 

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

 

 

 

Thank you.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

thanks...

 

but still have error.... pleas help :

 

    CC    guild.c
guild.c: In function 'guild_change_position':
guild.c:1123: error: 'GPERM_MASK' undeclared (first use in this function)
guild.c:1123: error: (Each undeclared identifier is reported only once
guild.c:1123: error: for each function it appears in.)
make[1]: *** [obj_sql/guild.o] Error 1
make[1]: Leaving directory `/root/Desktop/Hercules/src/map'
make: *** [map_sql] Error 2
 

Share this post


Link to post
Share on other sites
  • 0

Thank you @@evilpuncker. It's working.. but new error occur like @@aznan83 mention above.

 

 

 

	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
	CC	int_homun.c
int_homun.c: In function 'mapif_homunculus_rename':
int_homun.c:291: warning: logical '&&' with non-zero constant will always evaluate as true
int_homun.c:297: warning: logical '&&' with non-zero constant will always evaluate as true
	CC	int_mail.c
	CC	int_mercenary.c
	CC	int_party.c
int_party.c: In function 'mapif_parse_CreateParty':
int_party.c:495: warning: logical '&&' with non-zero constant will always evaluate as true
int_party.c:508: warning: logical '&&' with non-zero constant will always evaluate as true
	CC	int_pet.c
	CC	int_quest.c
	CC	int_storage.c
	CC	pincode.c
	LD	char-server
make[1]: Leaving directory `/root/Desktop/Hercules/src/char'
	MAKE	map_sql
make[1]: Entering directory `/root/Desktop/Hercules/src/map'
	MKDIR	obj_sql
	CC	atcommand.c
	CC	battle.c
	CC	battleground.c
	CC	buyingstore.c
	CC	channel.c
	CC	chat.c
	CC	chrif.c
	CC	clif.c
	CC	date.c
	CC	duel.c
	CC	elemental.c
	CC	guild.c
guild.c: In function 'guild_change_position':
guild.c:1123: error: 'GPERM_MASK' undeclared (first use in this function)
guild.c:1123: error: (Each undeclared identifier is reported only once
guild.c:1123: error: for each function it appears in.)
make[1]: *** [obj_sql/guild.o] Error 1
make[1]: Leaving directory `/root/Desktop/Hercules/src/map'
make: *** [map_sql] Error 2 

 

 

Share this post


Link to post
Share on other sites
  • 0

prob solve..... git pull once again ..... change back to int_guild.c 'GPERM_ALL'   ..... recompile completed & server run ... thanks All

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.