Page 1 of 1

Rev 2(?) Linux FC5 Compile failure

Posted: Sat Dec 08, 2007 3:26 pm
by John Adams
Not sure if this is recent (I haven't compiled on Linux in a few weeks), but World is not building properly on my Fedora Core 5 system that used to be find a few weeks ago.

Code: Select all

World.o: In function `ZoneList::ProcessWhoQuery(char*, Client*)':/home/eq2emu/build/eq2emulator/Source/World/World.cpp:206: undefined reference to `Client::QueuePacket(LoginAppPacket*)'
collect2: ld returned 1 exit status
make: *** [world] Error 1
Not sure what "collect2" is, but I went looking for "Client::QueuePacket(LoginAppPacket*)" in World.cpp at line 206, and it's not there :/
Also, Rev 26 compiles fine on VS2005.
Ahh!! before hitting Save, I did a 'make clean'. All I usually do is pull from svn and make. Maybe since it had been a while, some old code was lingering? Anyway, if anyone else gets this - try a 'make clean' first. :) World is compiling on Linux for me now.
False alarm.

Posted: Sat Dec 08, 2007 4:29 pm
by LethalEncounter
Do a make clean first and then try to recompile. I renamed the LoginAppPacket class to EQ2Packet because it didnt make sense to have it named that way when it was used in both World and Login.

Posted: Sat Dec 08, 2007 4:44 pm
by John Adams
Heh you might not have read my "eureka" moment, that's exactly what I did - as I was typing that I could not find that function, it dawned on me that it probably has changed dramatically. :)
Thanks though.

Posted: Sat Dec 08, 2007 5:35 pm
by LethalEncounter
lol, yah I guess I didn't finish reading all of your post before I replied :P