I'm struggling with the same errors. Here's what I've found:
1. common/Item.h declares _GetItem(), _PutItem(), and _HasItem() as protected member functions on and around line 243. Commenting out the protected keyword makes them public, which eliminates this error, but it's probably not what should be done. I'm not certain why that error is being thrown -- I'm only a mediocre coder.
2. You can get by the type error by adding -fpermissive to the compiler options in the makefile. I imagine that we gentoo users have more recent versions of gcc than the developers are using for eqemu, and we're running into this error because (as the error message indicates) using an undeclared name has been deprecated.
Hope that helps!
EDIT: An additonal tip for getting this compiled with gcc-3.4: in common/EQNetwork.cpp, on line 73, change
Code:
HI_LOSWAPlong (type x)
to
Code:
HI_LOSWAPlong (type a)
EDIT: zone/MobAI.cpp makes three calls to abs() without explicitly casting the passed value as an int. This version of gcc, at least, complains of ambiguity. Explicitly casting the values resolves the error. In zone/MobAI.cpp, starting on line 238, change
Code:
if( ( abs(mob->GetX() - sender->GetX() ) > iArrgoRange)
|| ( abs (mob->GetY() - sender->GetY() ) > iArrgoRange)
|| ( abs (mob->GetZ() - sender->GetZ() ) > iArrgoRange)
to
Code:
if( ( abs ((int)(mob->GetX() - sender->GetX() )) > iArrgoRange)
|| ( abs ((int)(mob->GetY() - sender->GetY() )) > iArrgoRange)
|| ( abs ((int)(mob->GetZ() - sender->GetZ() )) > iArrgoRange)
EDIT: OK, I'm starting to think that I should make a separate thread. Anyways, I found that loading the EMuShareMem library would cause a segmentation fault on my machine, which seems to be a known problem with systems running the 2.6 kernel. The problem was solved
http://www.eqemulator.net/forums/vie...entation+fault here -- you need to edit MMF.cpp and remove all occurances of the string "IPC_NOWAIT", then recompile the library.