Jump to content
  • 0

New Harmony Patch File


nasagnilac

Question


  • Group:  Members
  • Topic Count:  89
  • Topics Per Day:  0.02
  • Content Count:  232
  • Reputation:   15
  • Joined:  11/02/13
  • Last Seen:  

I am working on new harmony patch file but I am having this errors. Can anyone help me on this errors so I can release the patch in public.

 

1>------ Build started: Project: map-server, Configuration: Debug Win32 ------
2>------ Build started: Project: login-server, Configuration: Debug Win32 ------
3>------ Build started: Project: char-server, Configuration: Debug Win32 ------
2>Linking...
3>Linking...
1>Linking...
2>login.obj : error LNK2001: unresolved external symbol _harm_funcs
2>loginchrif.obj : error LNK2001: unresolved external symbol _harm_funcs
2>loginclif.obj : error LNK2001: unresolved external symbol _harm_funcs
2>socket.obj : error LNK2001: unresolved external symbol _harm_funcs
2>login.obj : error LNK2001: unresolved external symbol _ea_funcs
2>core.obj : error LNK2019: unresolved external symbol _harmony_core_final referenced in function _main
2>core.obj : error LNK2019: unresolved external symbol _harmony_core_init referenced in function _main
2>..\login-server.exe : fatal error LNK1120: 4 unresolved externals
3>core.obj : error LNK2019: unresolved external symbol _harmony_core_final referenced in function _main
3>core.obj : error LNK2019: unresolved external symbol _harmony_core_init referenced in function _main
3>socket.obj : error LNK2001: unresolved external symbol _harm_funcs
3>..\char-server.exe : fatal error LNK1120: 3 unresolved externals
1>core.obj : error LNK2019: unresolved external symbol _harmony_core_final referenced in function _main
1>core.obj : error LNK2019: unresolved external symbol _harmony_core_init referenced in function _main
1>script.obj : error LNK2001: unresolved external symbol _harm_funcs
1>socket.obj : error LNK2001: unresolved external symbol _harm_funcs
1>atcommand.obj : error LNK2001: unresolved external symbol _harm_funcs
1>chrif.obj : error LNK2001: unresolved external symbol _harm_funcs
1>clif.obj : error LNK2019: unresolved external symbol _harm_funcs referenced in function _clif_parse_row_gmcolor
1>clif.obj : error LNK2019: unresolved external symbol _harmony_parse referenced in function _packetdb_readdb
1>map.obj : error LNK2019: unresolved external symbol _harmony_logout referenced in function _map_quit
1>map.obj : error LNK2019: unresolved external symbol _harmony_final referenced in function _do_final
1>map.obj : error LNK2019: unresolved external symbol _harmony_init referenced in function _do_init
1>..\map-server.exe : fatal error LNK1120: 7 unresolved externals
3>Build log was saved at "file://d:\Ragnarok Backup\Chaos Server\rAthena\vcproj-9\char-server\Debug\BuildLog.htm"
3>char-server - 4 error(s), 0 warning(s)
2>Build log was saved at "file://d:\Ragnarok Backup\Chaos Server\rAthena\vcproj-9\login-server\Debug\BuildLog.htm"
1>Build log was saved at "file://d:\Ragnarok Backup\Chaos Server\rAthena\vcproj-9\map-server\Debug\BuildLog.htm"
1>map-server - 12 error(s), 0 warning(s)
2>login-server - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

Those errors tells me that you forgot to include harmony.o on your Makefile(s).

If I may suggest, you should just follow Cydh's progress on making Harmony compatible.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  89
  • Topics Per Day:  0.02
  • Content Count:  232
  • Reputation:   15
  • Joined:  11/02/13
  • Last Seen:  

What dir I can find that Makefile(s). There's a lot of Makefile(s) in diff dir.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  317
  • Reputation:   63
  • Joined:  11/13/11
  • Last Seen:  

No offense but, if you don't know which Makefiles to edit, I don't think you have a chance to get Harmony working at all.

On-topic, /char, /login and /map Makefiles would need to be altered, to make sure they include the rule to make Harmony.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  2285
  • Reputation:   748
  • Joined:  06/16/12
  • Last Seen:  


diff --git a/src/common/Makefile.in b/src/common/Makefile.in

index 61ea90d..ffed176 100644

--- a/src/common/Makefile.in

+++ b/src/common/Makefile.in

@@ -2,7 +2,7 @@

#COMMON_OBJ = $(ls *.c | grep -viw sql.c | sed -e "s/\.c/\.o/g")

COMMON_OBJ = core.o socket.o timer.o db.o nullpo.o malloc.o showmsg.o strlib.o utils.o \

grfio.o mapindex.o ers.o md5calc.o minicore.o minisocket.o minimalloc.o random.o des.o \

- conf.o thread.o mutex.o raconf.o mempool.o msg_conf.o cli.o sql.o

+ conf.o thread.o mutex.o raconf.o mempool.o msg_conf.o cli.o sql.o harmonycore.o

COMMON_DIR_OBJ = $(COMMON_OBJ:%=obj/%)

COMMON_H = $(shell ls ../common/*.h)

COMMON_AR = obj/common.a

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  89
  • Topics Per Day:  0.02
  • Content Count:  232
  • Reputation:   15
  • Joined:  11/02/13
  • Last Seen:  

Still the same errors T_T. I hope someone will try the manual patch that I made.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...