MAKE map_sql
make[1]: Entering directory `/root/Hercules/src/map'
MKDIR obj_sql
CC atcommand.c
atcommand.c: In function ‘atcommand_show_auras’:
atcommand.c:9874:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
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
CC homunculus.c
CC HPMmap.c
CC instance.c
CC intif.c
CC irc-bot.c
CC itemdb.c
CC log.c
CC mail.c
CC map.c
CC mapreg_sql.c
CC mercenary.c
CC mob.c
CC npc.c
CC npc_chat.c
CC party.c
CC path.c
CC pc.c
CC pc_groups.c
CC pet.c
CC quest.c
CC script.c
CC searchstore.c
CC skill.c
CC status.c
CC storage.c
CC trade.c
CC unit.c
CC vending.c
LD map-server
obj_sql/script.o: In function `bg_team_search':
/root/Hercules/src/map/../map/battleground.c:42: multiple definition of `bg_team_search'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:42: first defined here
obj_sql/script.o: In function `bg_getavailablesd':
/root/Hercules/src/map/../map/battleground.c:46: multiple definition of `bg_getavailablesd'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:46: first defined here
obj_sql/script.o: In function `bg_team_delete':
/root/Hercules/src/map/../map/battleground.c:54: multiple definition of `bg_team_delete'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:54: first defined here
obj_sql/script.o: In function `bg_team_warp':
/root/Hercules/src/map/../map/battleground.c:72: multiple definition of `bg_team_warp'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:72: first defined here
obj_sql/script.o: In function `bg_send_message':
/root/Hercules/src/map/../map/battleground.c:281: multiple definition of `bg_send_message'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:281: first defined here
obj_sql/script.o: In function `bg_send_xy_timer_sub':
/root/Hercules/src/map/../map/battleground.c:295: multiple definition of `bg_send_xy_timer_sub'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:295: first defined here
obj_sql/script.o: In function `bg_send_xy_timer':
/root/Hercules/src/map/../map/battleground.c:312: multiple definition of `bg_send_xy_timer'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:312: first defined here
obj_sql/script.o: In function `bg_config_read':
/root/Hercules/src/map/../map/battleground.c:345: multiple definition of `bg_config_read'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:345: first defined here
obj_sql/script.o: In function `bg_id2pos':
/root/Hercules/src/map/../map/battleground.c:532: multiple definition of `bg_id2pos'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:532: first defined here
obj_sql/script.o: In function `bg_queue_player_cleanup':
/root/Hercules/src/map/../map/battleground.c:574: multiple definition of `bg_queue_player_cleanup'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:574: first defined here
obj_sql/script.o: In function `bg_begin':
/root/Hercules/src/map/../map/battleground.c:619: multiple definition of `bg_begin'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:619: first defined here
obj_sql/script.o: In function `bg_begin_timer':
/root/Hercules/src/map/../map/battleground.c:677: multiple definition of `bg_begin_timer'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:677: first defined here
obj_sql/script.o: In function `bg_afk_timer':
/root/Hercules/src/map/../map/battleground.c:682: multiple definition of `bg_afk_timer'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:682: first defined here
obj_sql/script.o: In function `bg_queue_pregame':
/root/Hercules/src/map/../map/battleground.c:704: multiple definition of `bg_queue_pregame'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:704: first defined here
obj_sql/script.o: In function `bg_fillup_timer':
/root/Hercules/src/map/../map/battleground.c:720: multiple definition of `bg_fillup_timer'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:720: first defined here
obj_sql/script.o: In function `bg_queue_add':
/root/Hercules/src/map/../map/battleground.c:742: multiple definition of `bg_queue_add'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:742: first defined here
obj_sql/script.o: In function `bg_team_db_final':
/root/Hercules/src/map/../map/battleground.c:940: multiple definition of `bg_team_db_final'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:940: first defined here
obj_sql/script.o: In function `do_final_battleground':
/root/Hercules/src/map/../map/battleground.c:950: multiple definition of `do_final_battleground'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:950: first defined here
obj_sql/script.o: In function `bg_create':
/root/Hercules/src/map/../map/battleground.c:230: multiple definition of `bg_create'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:230: first defined here
obj_sql/script.o: In function `bg_team_rewards':
/root/Hercules/src/map/../map/battleground.c:175: multiple definition of `bg_team_rewards'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:175: first defined here
obj_sql/script.o: In function `bg_team_join':
/root/Hercules/src/map/../map/battleground.c:87: multiple definition of `bg_team_join'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:87: first defined here
obj_sql/script.o: In function `bg_match_over':
/root/Hercules/src/map/../map/battleground.c:589: multiple definition of `bg_match_over'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:589: first defined here
obj_sql/script.o: In function `bg_name2arena':
/root/Hercules/src/map/../map/battleground.c:511: multiple definition of `bg_name2arena'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:511: first defined here
obj_sql/script.o: In function `bg_str2teamtype':
/root/Hercules/src/map/../map/battleground.c:317: multiple definition of `bg_str2teamtype'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:317: first defined here
obj_sql/script.o: In function `bg_send_dot_remove':
/root/Hercules/src/map/../map/battleground.c:82: multiple definition of `bg_send_dot_remove'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:82: first defined here
obj_sql/script.o: In function `bg_member_respawn':
/root/Hercules/src/map/../map/battleground.c:220: multiple definition of `bg_member_respawn'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:220: first defined here
obj_sql/script.o: In function `bg_team_get_id':
/root/Hercules/src/map/../map/battleground.c:249: multiple definition of `bg_team_get_id'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:249: first defined here
obj_sql/script.o: In function `bg_queue_ready_ack':
/root/Hercules/src/map/../map/battleground.c:544: multiple definition of `bg_queue_ready_ack'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:544: first defined here
obj_sql/script.o: In function `bg_queue_check':
/root/Hercules/src/map/../map/battleground.c:725: multiple definition of `bg_queue_check'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:725: first defined here
obj_sql/script.o: In function `do_init_battleground':
/root/Hercules/src/map/../map/battleground.c:928: multiple definition of `do_init_battleground'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:928: first defined here
obj_sql/script.o: In function `bg_team_leave':
/root/Hercules/src/map/../map/battleground.c:125: multiple definition of `bg_team_leave'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:125: first defined here
obj_sql/script.o: In function `bg_canqueue':
/root/Hercules/src/map/../map/battleground.c:829: multiple definition of `bg_canqueue'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:829: first defined here
obj_sql/script.o: In function `battleground_defaults':
/root/Hercules/src/map/../map/battleground.c:962: multiple definition of `battleground_defaults'
obj_sql/battleground.o:/root/Hercules/src/map/battleground.c:962: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [../../map-server] Error 1
make[1]: Leaving directory `/root/Hercules/src/map'
make: *** [map_sql] Error 2