Arch compile error in Python[ServerFramework|AI].cpp
Posted: Sun May 24, 2015 10:06 pm
Code: Select all
[chris@desk build]$ export LANG=C; make -j1 -k
Building v0.4.4+ build 2015-05-24.b39cbba
[ 0%] Built target freeorionversion
[ 25%] Built target freeorioncommon
[ 40%] Built target GiGi
[ 40%] Built target GiGiSDL
[ 62%] Built target freeorionparse
[ 63%] Building CXX object server/CMakeFiles/freeoriond.dir/__/python/server/PythonServerFramework.cpp.o
/home/chris/freeorion-workspace/freeorion.git/python/server/PythonServerFramework.cpp: In function 'bool PythonInit()':
/home/chris/freeorion-workspace/freeorion.git/python/server/PythonServerFramework.cpp:98:23: error: 'initfo_logger' was not declared in this scope
initfo_logger(); // allows the "fo_logger" C++ module to be imported within Python code
^
/home/chris/freeorion-workspace/freeorion.git/python/server/PythonServerFramework.cpp:107:23: error: 'initfreeorion' was not declared in this scope
initfreeorion();
^
server/CMakeFiles/freeoriond.dir/build.make:284: recipe for target 'server/CMakeFiles/freeoriond.dir/__/python/server/PythonServerFramework.cpp.o' failed
make[2]: *** [server/CMakeFiles/freeoriond.dir/__/python/server/PythonServerFramework.cpp.o] Error 1
make[2]: Target 'server/CMakeFiles/freeoriond.dir/build' not remade because of errors.
CMakeFiles/Makefile2:309: recipe for target 'server/CMakeFiles/freeoriond.dir/all' failed
make[1]: *** [server/CMakeFiles/freeoriond.dir/all] Error 2
[ 63%] Building CXX object client/AI/CMakeFiles/freeorionca.dir/__/__/AI/PythonAI.cpp.o
/home/chris/freeorion-workspace/freeorion.git/AI/PythonAI.cpp: In constructor 'PythonAI::PythonAI()':
/home/chris/freeorion-workspace/freeorion.git/AI/PythonAI.cpp:261:29: error: 'initfreeOrionLogger' was not declared in this scope
initfreeOrionLogger(); // allows the "freeOrionLogger" C++ module to be imported within Python code
^
/home/chris/freeorion-workspace/freeorion.git/AI/PythonAI.cpp:262:34: error: 'initfreeOrionAIInterface' was not declared in this scope
initfreeOrionAIInterface(); // allows the "freeOrionAIInterface" C++ module to be imported within Python code
^
client/AI/CMakeFiles/freeorionca.dir/build.make:100: recipe for target 'client/AI/CMakeFiles/freeorionca.dir/__/__/AI/PythonAI.cpp.o' failed
make[2]: *** [client/AI/CMakeFiles/freeorionca.dir/__/__/AI/PythonAI.cpp.o] Error 1
make[2]: Target 'client/AI/CMakeFiles/freeorionca.dir/build' not remade because of errors.
CMakeFiles/Makefile2:360: recipe for target 'client/AI/CMakeFiles/freeorionca.dir/all' failed
make[1]: *** [client/AI/CMakeFiles/freeorionca.dir/all] Error 2
Linking CXX executable ../../freeorion
CMakeFiles/freeorion.dir/chmain.cpp.o: In function `mainConfigOptionsSetup(std::vector<std::string, std::allocator<std::string> > const&)':
chmain.cpp:(.text+0xe1d): undefined reference to `FreeOrionVersionString()'
chmain.cpp:(.text+0x1a29): undefined reference to `FreeOrionVersionString()'
CMakeFiles/freeorion.dir/chmain.cpp.o: In function `mainSetupAndRun()':
chmain.cpp:(.text+0x37fb): undefined reference to `FreeOrionVersionString()'
CMakeFiles/freeorion.dir/__/__/UI/IntroScreen.cpp.o: In function `IntroScreen::IntroScreen()':
IntroScreen.cpp:(.text+0x354d): undefined reference to `FreeOrionVersionString()'
collect2: error: ld returned 1 exit status
client/human/CMakeFiles/freeorion.dir/build.make:1720: recipe for target 'freeorion' failed
make[2]: *** [freeorion] Error 1
make[2]: Target 'client/human/CMakeFiles/freeorion.dir/build' not remade because of errors.
CMakeFiles/Makefile2:413: recipe for target 'client/human/CMakeFiles/freeorion.dir/all' failed
make[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 2
make[1]: Target 'all' not remade because of errors.
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
make: Target 'default_target' not remade because of errors.