$ scons
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for pkg-config... ok
Checking for GiGiSDL >= 0.6.0... ok
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.33.1... yes
Looking for boost lib boost_serialization...
Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization... yes
Looking for boost lib boost_iostreams...
Checking for main() in C++ library boost_iostreams... yes
Boost configuration... ok
Checking for libgraph >= 2.8... ok
Checking for libgvc >= 2.8... ok
Checking for log4cpp >= 0.3.4b... ok
Checking for C++ header file log4cpp/Category.hh... yes
Checking for log4cpp::Category::getRoot() in C++ library log4cpp... yes
Configuration successful... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -pthread -g -O2 -Wall -DFREEORION_LINUX -DENABLE_BINRELOC -I/usr/include/SDL -I/usr/local/include -I/usr/include/graphviz -I/usr/include/graphviz -I/usr/local/include -c -o combat/Combat.o combat/Combat.cpp
g++ -pthread -g -O2 -Wall -DFREEORION_LINUX -DENABLE_BINRELOC -I/usr/include/SDL -I/usr/local/include -I/usr/include/graphviz -I/usr/include/graphviz -I/usr/local/include -c -o Empire/ClientEmpireManager.o Empire/ClientEmpireManager.cpp
Empire/../Empire/Empire.h:31: error: uninitialized const 'INVALID_OBJECT_ID'
scons: *** [Empire/ClientEmpireManager.o] Error 1
scons: building terminated because of errors.
$
Somebody knows how to solve it? I have updated today the SVN and my system is ubuntu dapper.
cd ../.. && rm -fr freeorion && svn co https://svn.sourceforge.net/svnroot/freeorion/trunk freeorion && cd freeorion/FreeOrion && vim SConstruct && vim SConscript && vim client/human/chmain.cpp && scons
PD: I remove the references to FMOD when I edit the files.
Ok... I renamed that function so it shouldn't conflict with the enum name. If that doesn't fix things, I'm not sure what else to try. So... please try again.