EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Server make error (https://www.eqemulator.org/forums/showthread.php?t=31682)

Timp 07-17-2010 02:18 PM

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

Derision 07-17-2010 02:37 PM

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).

Timp 07-17-2010 02:59 PM

Worked. Thanks Derision.


All times are GMT -4. The time now is 01:26 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.