Jump to content

Compile Harmony


Scofield

Recommended Posts


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.03
  • Content Count:  265
  • Reputation:   11
  • Joined:  01/11/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  06/28/13
  • Last Seen:  

Make ./configure in your console and recopile. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.03
  • Content Count:  265
  • Reputation:   11
  • Joined:  01/11/13
  • Last Seen:  

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

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   5
  • Joined:  11/13/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.03
  • Content Count:  265
  • Reputation:   11
  • Joined:  01/11/13
  • Last Seen:  

trx.

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