Page 1 of 1

SVN revision 50 compile error

Posted: Wed Jan 09, 2008 2:55 pm
by cubber
I always run make clean before I run make after an SVN update. I have also tried deleting my sources and redownloading from SVN but have no luck compiling the latest code. Version 50.
This is where it craps out:

Code: Select all

/game_servers/eq2emu/incomming/svn/eq2emulator/Source/World/ClientPacketFunctions.cpp:100: undefined reference to `PlayerSkillList::GetSkillPacket(unsigned short)'
collect2: ld returned 1 exit status
make: *** [world] Error 1
I am running gentoo linux compiled from source.

Posted: Wed Jan 09, 2008 3:29 pm
by LethalEncounter
Yah, thanks for reminding me. I forgot to add the Skill.o to the makefile. It will be fixed by tomorrow's update.

Posted: Thu Jan 10, 2008 7:00 am
by cubber
Failed today at version 51 with this:

Code: Select all

LoginServer.cpp:670: warning: comparison between signed and unsigned integer expressions
Spawn.h: In member function 'void Spawn::Set(Field*, Value) [with Field = sint16, Value = float]':
Spawn.h:182:   instantiated from 'void Spawn::SetPos(Field*, Value, bool) [with Field = sint16, Value = float]'
Spawn.h:254:   instantiated from here
Spawn.h:171: warning: converting to 'short int' from 'float'
make: *** [LoginServer.o] Error 1

Posted: Thu Jan 10, 2008 3:31 pm
by LethalEncounter
Where is the error? Those were just warnings.

Posted: Thu Jan 10, 2008 5:05 pm
by cubber

Code: Select all

make: *** [LoginServer.o] Error 1 
That is where the build stopped. World was not compiled.

Posted: Thu Jan 10, 2008 5:38 pm
by LethalEncounter
grab the latest from svn, do a make clean, then make

Posted: Fri Jan 11, 2008 10:24 am
by cubber
That compiled thanks!