Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#276 Compiling freeorion fails on linux

closed-fixed
nobody
None
5
2007-01-30
2007-01-14
Anonymous
No

compiling fails with the following error:
g++ -o freeorion -pthread -Wl,-rpath,/usr/lib combat/Combat.o Empire/Empire.o Empire/EmpireManager.o Empire/ResourcePool.o network/Message.o network/NetworkCore.o UI/StringTable.o universe/Building.o universe/Condition.o universe/ConditionParser1.o universe/ConditionParser2.o universe/ConditionParser.o universe/Effect.o universe/EffectParser.o universe/Enums.o universe/Fleet.o universe/Meter.o universe/ParserUtil.o universe/Planet.o universe/PopCenter.o universe/Predicates.o universe/ResourceCenter.o universe/Ship.o universe/ShipDesign.o universe/Special.o universe/System.o universe/Tech.o universe/TopLevelParsers.o universe/UniverseObject.o universe/ValueRef.o universe/ValueRefParser.o util/DataTable.o util/GZStream.o util/MultiplayerCommon.o util/OptionsDB.o util/Order.o util/OrderSet.o util/Process.o util/Random.o util/Serialize.o util/SitRepEntry.o util/VarText.o util/Version.o util/binreloc.o util/Directories.o util/XMLDoc.o client/ClientApp-human.o client/human/HumanClientApp-human.o client/human/HumanClientAppSoundFMOD-human.o client/human/chmain-human.o network/ClientNetworkCore-human.o UI/About-human.o UI/BuildDesignatorWnd-human.o UI/ClientUI-human.o UI/CUIControls-human.o UI/CUIDrawUtil-human.o UI/CUIStyle-human.o UI/CUIWnd-human.o UI/CombatWnd-human.o UI/FleetButton-human.o UI/FleetWnd-human.o UI/FocusSelector-human.o UI/GalaxySetupWnd-human.o UI/InGameMenu-human.o UI/IntroScreen-human.o UI/LinkText-human.o UI/MapWnd-human.o UI/MultiplayerLobbyWnd-human.o UI/OptionsWnd-human.o UI/ProductionWnd-human.o UI/ResearchWnd-human.o UI/ServerConnectWnd-human.o UI/SidePanel-human.o UI/SitRepPanel-human.o UI/Splash-human.o UI/SystemIcon-human.o UI/TechTreeWnd-human.o UI/TurnProgressWnd-human.o universe/Universe-human.o util/AppInterface-human.o -lGiGiSDL -lSDL -lGiGiNet -lIL -lILU -lILUT -lGiGi -lboost_signals -lboost_filesystem -lGL -lGLU -lpthread -lfreetype -lz -lboost_serialization -lboost_iostreams -lfmod-3.75 -lgraph -lcdt -lgvc -llog4cpp -lnsl -llog4cpp
UI/SidePanel-human.o: In function `SidePanel::PlanetPanel::Update()':
SidePanel.cpp:(.text+0x44af): undefined reference to `PopulationPanel::Update()'
SidePanel.cpp:(.text+0x44c0): undefined reference to `ResourcePanel::Update()'
SidePanel.cpp:(.text+0x44d1): undefined reference to `BuildingsPanel::Update()'
UI/SidePanel-human.o: In function `SidePanel::PlanetPanel::PlanetPanel(int, Planet const&, StarType)':
SidePanel.cpp:(.text+0x18f16): undefined reference to `PopulationPanel::PopulationPanel(int, UniverseObject const&)'
SidePanel.cpp:(.text+0x19050): undefined reference to `ResourcePanel::ResourcePanel(int, UniverseObject const&)'
SidePanel.cpp:(.text+0x19257): undefined reference to `BuildingsPanel::BuildingsPanel(int, int, Planet const&)'
UI/SidePanel-human.o: In function `SidePanel::PlanetPanel::PlanetPanel(int, Planet const&, StarType)':
SidePanel.cpp:(.text+0x1d562): undefined reference to `PopulationPanel::PopulationPanel(int, UniverseObject const&)'
SidePanel.cpp:(.text+0x1d69c): undefined reference to `ResourcePanel::ResourcePanel(int, UniverseObject const&)'
SidePanel.cpp:(.text+0x1d8a3): undefined reference to `BuildingsPanel::BuildingsPanel(int, int, Planet const&)'
collect2: ld returned 1 exit status
scons: building terminated because of errors.
scons: *** [freeorion] Error 1

installed libraries:
root@beren:freeorion [1]> gaze version gigi scons python freetype2 boost log4cpp devil sdl graphviz fmod
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
test graphics-libs gigi 562 562
test python-devel scons 0.96.94 0.96.94
test devel python 2.5 2.5
test graphics-libs freetype2 2.2.1 2.2.1
test libs boost 1_33_1 1_33_1
test libs log4cpp 0.3.5rc3 0.3.5rc3
test graphics-libs devil 1.6.7 1.6.7
test libs sdl 1.2.11 1.2.11
test devel graphviz 2.10 2.10
z-rejected z-audio fmod 3.75 3.75

send mail to siflfran@hawo.stw.uni-erlangen.de if you require more information.

Discussion

  • Logged In: NO

    You need to add a line to the SConscript:

    Index: SConscript

    --- SConscript (revision 1981)
    +++ SConscript (working copy)
    @@ -94,6 +94,7 @@
    'UI/FocusSelector.cpp',
    'UI/GalaxySetupWnd.cpp',
    'UI/InGameMenu.cpp',
    + 'UI/InfoPanels.cpp',
    'UI/IntroScreen.cpp',
    'UI/LinkText.cpp',
    'UI/MapWnd.cpp',

     
  • Geoff Topping
    Geoff Topping
    2007-01-15

    • status: open --> pending-fixed
     
  • Geoff Topping
    Geoff Topping
    2007-01-15

    Logged In: YES
    user_id=913462
    Originator: NO

    I've uploaded this change to SVN. Comment again if it is/isn't fixed.

     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-fixed --> closed-fixed