src/common/Makefile.in problem

Unsung

New member
Messages
23
Points
0
After i  apply this patch http://herc.ws/board/topic/3267-harmony-patch-3312-30-mai/

I have an error in make clean

make[1]: Entering directory `/home/**********/trunk/src/common'
Makefile:26: *** unterminated call to function `addprefix': missing `)'.  Stop.
make[1]: Leaving directory `/home/**********/trunk/src/common'
make: *** [clean] Error 2
 
EDIT: make[2]: Warning: File `src/common/Makefile.in' has modification time 1.4e+05 s in the future
 
Last edited by a moderator:
Do you have the rest of the files needed? Because that patch only works if you actually OWN a copy of harmony already.

 
Yes i have all the files of the package. 

 COMMON_OBJ = $(addprefix obj_all/, $(COMMON_SHARED_OBJ)
             console.o core.o malloc.o socket.o harmonycore.o
 
When i add `)` in last line, And make clean still error.
 
So is it only that part?

COMMON_OBJ = $(addprefix obj_all/, $(COMMON_SHARED_OBJ) console.o core.o malloc.o socket.o harmonycore.o)
Or does the map/makein file fail as well?

MAP_C = atcommand.c battle.c battleground.c buyingstore.c chat.c chrif.c clif.c date.c duel.c elemental.c guild.c harmony.c homunculus.c HPMmap.c instance.c intif.c irc-bot.c itemdb.c log.c mail.c map.c mapreg_sql.c mercenary.c mob.c npc.c npc_chat.c party.c path.c pc.c pc_groups.c pet.c quest.c script.c searchstore.c skill.c status.c storage.c /////// MAP_H = atcommand.h battle.h battleground.h buyingstore.h chat.h chrif.h clif.h date.h duel.h elemental.h guild.h harmony.h homunculus.h HPMmap.h instance.h intif.h irc-bot.h itemdb.h log.h mail.h map.h mapreg.h mercenary.h mob.h npc.h packets.h packets_struct.h party.h path.h pc.h pc_groups.h pet.h quest.h script.h searchstore.h skill.h
If everything works as it is, then perhaps the patch only works for Hercules as it was back in May 2014, when this patch was released.

 
So is it only that part?

COMMON_OBJ = $(addprefix obj_all/, $(COMMON_SHARED_OBJ) console.o core.o malloc.o socket.o harmonycore.o)
Or does the map/makein file fail as well?

MAP_C = atcommand.c battle.c battleground.c buyingstore.c chat.c chrif.c clif.c date.c duel.c elemental.c guild.c harmony.c homunculus.c HPMmap.c instance.c intif.c irc-bot.c itemdb.c log.c mail.c map.c mapreg_sql.c mercenary.c mob.c npc.c npc_chat.c party.c path.c pc.c pc_groups.c pet.c quest.c script.c searchstore.c skill.c status.c storage.c /////// MAP_H = atcommand.h battle.h battleground.h buyingstore.h chat.h chrif.h clif.h date.h duel.h elemental.h guild.h harmony.h homunculus.h HPMmap.h instance.h intif.h irc-bot.h itemdb.h log.h mail.h map.h mapreg.h mercenary.h mob.h npc.h packets.h packets_struct.h party.h path.h pc.h pc_groups.h pet.h quest.h script.h searchstore.h skill.h
If everything works as it is, then perhaps the patch only works for Hercules as it was back in May 2014, when this patch was released.
Only in here

COMMON_OBJ = $(addprefix obj_all/, $(COMMON_SHARED_OBJ) console.o core.o malloc.o socket.o harmonycore.o)
I hope someone make a patch for latest rev of hercules.

Thank you for your reply GmOcean!

 
Back
Top