Rev 2(?) Linux FC5 Compile failure

Support forum for questions about compiling and running EQ2Emulator on Linux.

Moderator: Team Members

Post Reply
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Rev 2(?) Linux FC5 Compile failure

Post by John Adams » Sat Dec 08, 2007 3:26 pm

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.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sat Dec 08, 2007 4:29 pm

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.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Sat Dec 08, 2007 4:44 pm

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.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sat Dec 08, 2007 5:35 pm

lol, yah I guess I didn't finish reading all of your post before I replied :P

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests