TrinityCore/TrinityCore — Issue #3454: Fatal error at compilation process
Author: serjs
Created: 2011-10-11 11:15:57+00:00
State: open

Hi, i have errors at compilation process, my error looks like:

/opt/wow/src/TrinityCore/src/server/game/Grids/ObjectGridLoader.cpp:85: error: cannot declare member function 'static void ObjectGridLoader::SetObjectCell(T*, const CellPair&)' to have static linkage
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Grids/ObjectGridLoader.cpp.o] Error 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2

I made cmake with options:
cmake . -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DSERVERS=yes -DSCRIPTS=yes -DTOOLS=yes -DUSE_SCRIPTPCH=yes -DUSE_COREPCH=yes -DUSE_SFMT=yes -DPREFIX=/home/user/wowserver -DCONF_DIR=/home/user/wowserver/conf -DWITH_WARNINGS=yes -DLIBSDIR=/home/user/wowserver/lib/

Something wrong with my operations, or it's a server side code bug?