Jump to content
cumbe11

Compile Harmony

Recommended Posts

I was trying to install Harmony gave the following errors at compile time.

 

../common/obj_all/core.o: In function `main':
/home/emulador/src/common/core.c:259: undefined reference to `harmony_core_init'
/home/emulador/src/common/core.c:273: undefined reference to `harmony_core_final'
../common/obj_all/socket.o: In function `delete_session':
/home/emulador/src/common/socket.c:565: undefined reference to `harm_funcs'
../common/obj_all/socket.o: In function `WFIFOSET':
/home/emulador/src/common/socket.c:676: undefined reference to `harm_funcs'
../common/obj_all/socket.o: In function `recv_to_fifo':
/home/emulador/src/common/socket.c:330: undefined reference to `harm_funcs'
../common/obj_all/socket.o: In function `connect_client':
/home/emulador/src/common/socket.c:431: undefined reference to `harm_funcs'
collect2: ld returned 1 exit status
make[1]: ** [map-server_sql] Erro 1
make[1]: Saindo do diretório `/home/emulador/src/map'
make: ** [map_sql] Erro 2
-bash-4.1#
Link to comment
Share on other sites

still give error

../common/obj_all/core.o: In function `main':
/home/emulador/src/common/core.c:259: undefined reference to `harmony_core_init'
/home/emulador/src/common/core.c:273: undefined reference to `harmony_core_final'
../common/obj_all/socket.o: In function `delete_session':
/home/emulador/src/common/socket.c:565: undefined reference to `harm_funcs'
../common/obj_all/socket.o: In function `WFIFOSET':
/home/emulador/src/common/socket.c:676: undefined reference to `harm_funcs'
../common/obj_all/socket.o: In function `recv_to_fifo':
/home/emulador/src/common/socket.c:330: undefined reference to `harm_funcs'
../common/obj_all/socket.o: In function `connect_client':
/home/emulador/src/common/socket.c:431: undefined reference to `harm_funcs'
collect2: ld returned 1 exit status
make[1]: *** [map-server_sql] Error 1
make[1]: Leaving directory `/home/emulador/src/map'
make: *** [map_sql] Error 2
-bash-4.1# make sql
Edited by cumbe11
Link to comment
Share on other sites

1. Open the src files that has an errors

2. Look for the Line ( Core.c:259 <= 259 is the line,search the line 259 in core.c file)

3. Once you found it, put "//" from the start ( Example : //harmony_funcs <bla bla: sd=>val> ; )

4. Save it

5. Recompile.

  • Upvote 1
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
Reply to this topic...

×   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...

Important Information

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