Trouble compiling

stardux

New member
Messages
4
Points
0
Hi all. I am having some trouble compiling, following the instructions here: http://herc.ws/wiki/Compile

This is the issue that I have during make install:

[ 28%] Built target common_base
[ 29%] Built target common_sql
Linking C executable login-server
../../common/libcommon_base.a(core.c.o): In function `core_defaults':
core.c:(.text+0x183): undefined reference to `sysinfo_defaults'
collect2: error: ld returned 1 exit status
make[2]: *** [src/login/sql/login-server] Error 1
make[1]: *** [src/login/sql/CMakeFiles/login-server.dir/all] Error 2
make: *** [all] Error 2

Any clues?

Also, where do the CMakeLists.txt files come from? I was given a copy of the code by a friend that already had them, but the code in the git doesn't have them.

 
Hi all. I am having some trouble compiling, following the instructions here: http://herc.ws/wiki/CompileThis is the issue that I have during make install:[ 28%] Built target common_base[ 29%] Built target common_sqlLinking C executable login-server../../common/libcommon_base.a(core.c.o): In function `core_defaults':core.c:(.text+0x183): undefined reference to `sysinfo_defaults'collect2: error: ld returned 1 exit statusmake[2]: *** [src/login/sql/login-server] Error 1make[1]: *** [src/login/sql/CMakeFiles/login-server.dir/all] Error 2make: *** [all] Error 2Any clues?Also, where do the CMakeLists.txt files come from? I was given a copy of the code by a friend that already had them, but the code in the git doesn't have them.
Why don't use make??

Go to Hercules folder

Type these commands:

Code:
./configuremake
 
Is that all that's required to compile/build all the code? What do I need to do after that?

 
Thanks, I'll give it a shot. Running linex/debian.

I'm also making changes to battle.c, skill.c, and status.c. Are those changes picked up when I run the make?

 
Thanks, I'll give it a shot. Running linex/debian.

I'm also making changes to battle.c, skill.c, and status.c. Are those changes picked up when I run the make?
Yes, of course. If you make some changes in source files - save it and just do make sql or make all to recompile it.

 
Back
Top