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 07-17-2010, 02:18 PM
Timp
Fire Beetle
 
Join Date: Jul 2010
Posts: 20
Default Server make error

Hello, I am getting an error while trying to build the login server.

Quote:
Login:/home/server/eqemu/EQEmuLoginServer# make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -O -g -march=i686 -pthread -pipe -DEQLAUNCH -DEQDEBUG=5 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC Client.cpp -o Client.o
In file included from LoginServer.h:27,
from Client.cpp:20:
Options.h: In constructor ‘Options::Options()’:
Options.h:168: warning: ‘Options::local_network’ will be initialized after
Options.h:166: warning: ‘bool Options::reject_duplicate_servers’
Options.h:31: warning: when initialized here
Client.cpp: In member function ‘void Client::Handle_SessionReady(const char*, unsigned int)’:
Client.cpp:130: error: expected primary-expression before ‘unsigned’
Client.cpp:130: error: expected `)' before ‘unsigned’
Client.cpp:137: error: expected `)' before ‘status’
make: *** [Client.o] Error 1
Reply With Quote
  #2  
Old 07-17-2010, 02:37 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

The compile fails on my Gentoo system at the same line, although with a different error message. Changing Client.cpp line 130 from:
Code:
       if(mode == (unsigned int)LoginMode::lm_from_world)
to:
Code:
       if(mode == (unsigned int)lm_from_world)
may get it to compile (it does for me, with that change).
Reply With Quote
  #3  
Old 07-17-2010, 02:59 PM
Timp
Fire Beetle
 
Join Date: Jul 2010
Posts: 20
Default

Worked. Thanks Derision.
Reply With Quote
Reply


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 06:02 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3