Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2009, 02:20 PM
Xelaan
Sarnak
 
Join Date: May 2009
Location: NJ
Posts: 38
Default

I also received this error during compile with the 679 release.

Code:
clientlist.cpp:229: error: sort was not declared in this scope
clientlist.cpp:231: error: unique was not declared in this scope
clientlist.cpp: In member function void Client::SendChannelMessage(std::string):
clientlist.cpp:1284: warning: suggest explicit braces to avoid ambiguous else
clientlist.cpp: In member function void Client::ChannelModerate(std::string):
clientlist.cpp:1797: warning: suggest explicit braces to avoid ambiguous else
make[1]: *** [clientlist.o] Error 1
make[1]: Leaving directory `/home/eqemu/source/trunk/EQEmuServer/ucs'
make: *** [all] Error 2

Last edited by Xelaan; 06-16-2009 at 10:23 PM.. Reason: added in the error
Reply With Quote
  #2  
Old 06-16-2009, 02:24 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

No idea about compiling under linux, but what you need to change:


change zone/spdat.h


To load spells from the spells_us.txt:
Code:
#define NEW_LoadSPDat
//#define DB_LoadSPDat
to load spells from the database:
Code:
//#define NEW_LoadSPDat
#define DB_LoadSPDat
Reply With Quote
  #3  
Old 06-16-2009, 03:00 PM
Xelaan
Sarnak
 
Join Date: May 2009
Location: NJ
Posts: 38
Default

I will try the new release.
Reply With Quote
  #4  
Old 06-16-2009, 03:35 PM
Xelaan
Sarnak
 
Join Date: May 2009
Location: NJ
Posts: 38
Default

The new version worked once I switched back to using the spells in the DB. The compile error must have been what was tripping me up earlier.

Thanks again everyone, you guys are teaching me a ton and I appreciate it.
Reply With Quote
  #5  
Old 06-16-2009, 02:51 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by Xelaan View Post
I also received this error during compile with the 679 release.

Code:
clientlist.cpp:229: error: sort was not declared in this scope
clientlist.cpp:231: error: unique was not declared in this scope
clientlist.cpp: In member function void Client::SendChannelMessage(std::string):
clientlist.cpp:1284: warning: suggest explicit braces to avoid ambiguous else
clientlist.cpp: In member function void Client::ChannelModerate(std::string):
clientlist.cpp:1797: warning: suggest explicit braces to avoid ambiguous else
make[1]: *** [clientlist.o] Error 1
make[1]: Leaving directory `/home/eqemu/source/trunk/EQEmuServer/ucs'
make: *** [all] Error 2
I've added #include <algorithm> to ucs/clientlist.cpp in Rev681. See if that compiles for you now. Odd thing is that it compiled fine for me on Gentoo and Windows without that include.
Reply With Quote
  #6  
Old 06-17-2009, 08:26 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Quote:
Originally Posted by Derision View Post
I've added #include <algorithm> to ucs/clientlist.cpp in Rev681. See if that compiles for you now. Odd thing is that it compiled fine for me on Gentoo and Windows without that include.
It's probably a gcc version difference on the linux machines. I ran into this problem but was not sure if it was another odd 64bit difference or not (http://www.eqemulator.net/forums/showthread.php?t=28539).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:47 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3