Scofield Posted January 25, 2014 Posted January 25, 2014 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# Quote
bingo Posted January 25, 2014 Posted January 25, 2014 Make ./configure in your console and recopile. Quote
Scofield Posted January 27, 2014 Author Posted January 27, 2014 (edited) 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 January 27, 2014 by cumbe11 Quote
Resu-Me Posted February 12, 2014 Posted February 12, 2014 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. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.