>>> Unpacking source... >>> Unpacking galaxyhack-1.74.tar.bz2 to /var/tmp/portage/games-strategy/galaxyhack-1.74/work >>> Unpacking galaxyhack.png to /var/tmp/portage/games-strategy/galaxyhack-1.74/work unpack galaxyhack.png: file format not recognized. Ignoring. * Applying galaxyhack-1.74-destdirs.patch ...  [ ok ] * Applying galaxyhack-1.74-boost.patch ...  [ ok ] * Applying galaxyhack-1.74-gcc43.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-strategy/galaxyhack-1.74/work/galaxyhack/src ... make -j14 g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c AIInterpreter.cpp -o AIInterpreter.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c AutoFireUnit.cpp -o AutoFireUnit.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c BCCompiler.cpp -o BCCompiler.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c DerivedGroups.cpp -o DerivedGroups.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c DragWindow.cpp -o DragWindow.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c ForceSelect.cpp -o ForceSelect.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c ForceSelectWin.cpp -o ForceSelectWin.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c GenWindow.cpp -o GenWindow.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c GenWindow_Base.cpp -o GenWindow_Base.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c GFX.cpp -o GFX.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Globals.cpp -o Globals.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Group.cpp -o Group.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Group_Base.cpp -o Group_Base.o In file included from GFX.cpp:13: GFX.h:41:7: warning: no newline at end of file GFX.cpp:972:19: warning: no newline at end of file g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c JSDL.cpp -o JSDL.o In file included from JSDL.cpp:15: GFX.h:41:7: warning: no newline at end of file g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Logging.cpp -o Logging.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c LookupTables.cpp -o LookupTables.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Main.cpp -o Main.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c MainMenu.cpp -o MainMenu.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Menu_Base.cpp -o Menu_Base.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c OptWindow.cpp -o OptWindow.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c PopupMenu.cpp -o PopupMenu.o DragWindow.cpp: In member function 'virtual void Slider::DrawSelf()': DragWindow.cpp:276: warning: converting to 'int' from 'float' g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c PreBattle.cpp -o PreBattle.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Projectile.cpp -o Projectile.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Random.cpp -o Random.o PreBattle.cpp: In function 'void PreBattle::SetStartingRects()': PreBattle.cpp:169: warning: converting to 'Sint16' from 'float' PreBattle.cpp:176: warning: converting to 'Sint16' from 'float' PreBattle.cpp:182: warning: converting to 'Sint16' from 'float' PreBattle.cpp: In function 'void PreBattle::SetupTerrain()': PreBattle.cpp:288: warning: converting to 'int' from 'float' PreBattle.cpp:289: warning: converting to 'int' from 'float' g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c RTS.cpp -o RTS.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c RTSUnit.cpp -o RTSUnit.o Projectile.cpp: In static member function 'static int Projectile_Base::ClipLine(int&, int&, int&, int&)': Projectile.cpp:345: warning: converting to 'int' from 'double' Projectile.cpp:350: warning: converting to 'int' from 'double' Projectile.cpp:355: warning: converting to 'int' from 'double' Projectile.cpp:360: warning: converting to 'int' from 'double' Projectile.cpp:367: warning: converting to 'int' from 'double' Projectile.cpp:373: warning: converting to 'int' from 'double' Projectile.cpp:380: warning: converting to 'int' from 'double' Projectile.cpp:386: warning: converting to 'int' from 'double' Projectile.cpp:393: warning: converting to 'int' from 'double' Projectile.cpp:398: warning: converting to 'int' from 'double' Projectile.cpp:405: warning: converting to 'int' from 'double' Projectile.cpp:410: warning: converting to 'int' from 'double' Projectile.cpp:448: warning: converting to 'int' from 'double' Projectile.cpp:454: warning: converting to 'int' from 'double' Projectile.cpp:463: warning: converting to 'int' from 'double' Projectile.cpp:469: warning: converting to 'int' from 'double' Projectile.cpp:479: warning: converting to 'int' from 'double' Projectile.cpp:484: warning: converting to 'int' from 'double' Projectile.cpp:493: warning: converting to 'int' from 'double' Projectile.cpp:498: warning: converting to 'int' from 'double' g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c RTSUnit_Base.cpp -o RTSUnit_Base.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c RTSWin.cpp -o RTSWin.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Score.cpp -o Score.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c SetupBattle.cpp -o SetupBattle.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Side.cpp -o Side.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c SmallShip.cpp -o SmallShip.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c StringInput.cpp -o StringInput.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c Stuff.cpp -o Stuff.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -c TerrainTile.cpp -o TerrainTile.o g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -Wl,-O1 -lSDL -lpthread -lSDL_image -lSDL_mixer -lboost_filesystem -o galaxyhack AIInterpreter.o AutoFireUnit.o BCCompiler.o DerivedGroups.o DragWindow.o ForceSelect.o ForceSelectWin.o GenWindow.o GenWindow_Base.o GFX.o Globals.o Group.o Group_Base.o JSDL.o Logging.o LookupTables.o Main.o MainMenu.o Menu_Base.o OptWindow.o PopupMenu.o PreBattle.o Projectile.o Random.o RTS.o RTSUnit.o RTSUnit_Base.o RTSWin.o Score.o SetupBattle.o Side.o SmallShip.o StringInput.o Stuff.o TerrainTile.o DragWindow.o: In function `__static_initialization_and_destruction_0(int, int)': DragWindow.cpp:(.text+0x7f0): undefined reference to `boost::system::get_system_category()' DragWindow.cpp:(.text+0x7fa): undefined reference to `boost::system::get_posix_category()' DragWindow.cpp:(.text+0x804): undefined reference to `boost::system::get_posix_category()' DragWindow.cpp:(.text+0x80e): undefined reference to `boost::system::get_system_category()' DragWindow.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, void>::type boost::filesystem::copy_file, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&, boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': DragWindow.cpp:(.text._ZN5boost10filesystem9copy_fileINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEvE4typeERKS7_SC_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, void>::type boost::filesystem::copy_file, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&, boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x73): undefined reference to `boost::filesystem::detail::copy_file_api(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&)' ForceSelect.o: In function `__static_initialization_and_destruction_0(int, int)': ForceSelect.cpp:(.text+0x130): undefined reference to `boost::system::get_system_category()' ForceSelect.cpp:(.text+0x13a): undefined reference to `boost::system::get_posix_category()' ForceSelect.cpp:(.text+0x144): undefined reference to `boost::system::get_posix_category()' ForceSelect.cpp:(.text+0x14e): undefined reference to `boost::system::get_system_category()' ForceSelect.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::create_directory, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': ForceSelect.cpp:(.text._ZN5boost10filesystem16create_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::create_directory, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x4a): undefined reference to `boost::filesystem::detail::create_directory_api(std::basic_string, std::allocator > const&)' ForceSelectWin.o: In function `__static_initialization_and_destruction_0(int, int)': ForceSelectWin.cpp:(.text+0x650): undefined reference to `boost::system::get_system_category()' ForceSelectWin.cpp:(.text+0x65a): undefined reference to `boost::system::get_posix_category()' ForceSelectWin.cpp:(.text+0x664): undefined reference to `boost::system::get_posix_category()' ForceSelectWin.cpp:(.text+0x66e): undefined reference to `boost::system::get_system_category()' ForceSelectWin.o: In function `boost::detail::sp_counted_impl_p, std::allocator >, boost::filesystem::path_traits> > >::dispose()': ForceSelectWin.cpp:(.text._ZN5boost6detail17sp_counted_impl_pINS_10filesystem6detail11dir_itr_impINS2_10basic_pathISsNS2_11path_traitsEEEEEE7disposeEv[boost::detail::sp_counted_impl_p, std::allocator >, boost::filesystem::path_traits> > >::dispose()]+0x2b): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)' ForceSelectWin.o: In function `boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::increment()': ForceSelectWin.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv[boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::increment()]+0x45): undefined reference to `boost::system::get_system_category()' ForceSelectWin.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv[boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::increment()]+0x7d): undefined reference to `boost::filesystem::detail::dir_itr_increment(void*&, void*&, std::basic_string, std::allocator >&, boost::filesystem::file_status&, boost::filesystem::file_status&)' ForceSelectWin.o: In function `boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::m_init(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': ForceSelectWin.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::m_init(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x46): undefined reference to `boost::filesystem::detail::not_found_error()' ForceSelectWin.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::m_init(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0xec): undefined reference to `boost::filesystem::detail::dir_itr_first(void*&, void*&, std::basic_string, std::allocator > const&, std::basic_string, std::allocator >&, boost::filesystem::file_status&, boost::filesystem::file_status&)' ForceSelectWin.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::m_init(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x224): undefined reference to `boost::system::get_system_category()' ForceSelectWin.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': ForceSelectWin.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x1a): undefined reference to `boost::system::get_system_category()' ForceSelectWin.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x60): undefined reference to `boost::filesystem::detail::status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)' ForceSelectWin.o: In function `boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::basic_directory_iterator(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': ForceSelectWin.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEEC1ERKS4_[boost::filesystem::basic_directory_iterator, std::allocator >, boost::filesystem::path_traits> >::basic_directory_iterator(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x1cc): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)' GenWindow.o: In function `__static_initialization_and_destruction_0(int, int)': GenWindow.cpp:(.text+0x50): undefined reference to `boost::system::get_system_category()' GenWindow.cpp:(.text+0x5a): undefined reference to `boost::system::get_posix_category()' GenWindow.cpp:(.text+0x64): undefined reference to `boost::system::get_posix_category()' GenWindow.cpp:(.text+0x6e): undefined reference to `boost::system::get_system_category()' GFX.o: In function `gfx::zoomSurface(SDL_Surface*, double, double, int)': GFX.cpp:(.text+0x1494): undefined reference to `SDL_CreateRGBSurface' GFX.cpp:(.text+0x14ae): undefined reference to `SDL_UpperBlit' GFX.cpp:(.text+0x1561): undefined reference to `SDL_CreateRGBSurface' GFX.cpp:(.text+0x156b): undefined reference to `SDL_LockSurface' GFX.cpp:(.text+0x15a3): undefined reference to `SDL_SetAlpha' GFX.cpp:(.text+0x15ab): undefined reference to `SDL_UnlockSurface' GFX.cpp:(.text+0x15c4): undefined reference to `SDL_FreeSurface' JSDL.o: In function `JamesSDL::MapRGB(int, int, int)': JSDL.cpp:(.text+0x5a): undefined reference to `SDL_MapRGB' JSDL.o: In function `JamesSDL::Shutdown()': JSDL.cpp:(.text+0x84): undefined reference to `Mix_FreeMusic' JSDL.cpp:(.text+0x89): undefined reference to `Mix_CloseAudio' JSDL.o: In function `JamesSDL::BitmapColorConvert(unsigned short)': JSDL.cpp:(.text+0x111): undefined reference to `SDL_LockSurface' JSDL.o: In function `JamesSDL::BitmapCloseFile()': JSDL.cpp:(.text+0x23a): undefined reference to `SDL_FreeSurface' JSDL.o: In function `JamesSDL::BitmapFiletoSurface(int, int, int, int, unsigned short)': JSDL.cpp:(.text+0x297): undefined reference to `SDL_CreateRGBSurface' JSDL.cpp:(.text+0x333): undefined reference to `SDL_UpperBlit' JSDL.cpp:(.text+0x33b): undefined reference to `SDL_FreeSurface' JSDL.cpp:(.text+0x353): undefined reference to `SDL_SetColorKey' JSDL.cpp:(.text+0x386): undefined reference to `SDL_UpperBlit' JSDL.o: In function `JamesSDL::FlipHorizontal()': JSDL.cpp:(.text+0x3d0): undefined reference to `SDL_LockSurface' JSDL.cpp:(.text+0x461): undefined reference to `SDL_UnlockSurface' JSDL.o: In function `JamesSDL::PlayMusic()': JSDL.cpp:(.text+0x594): undefined reference to `Mix_PlayMusic' JSDL.cpp:(.text+0x59c): undefined reference to `SDL_GetError' JSDL.o: In function `JamesSDL::LoadMusic(std::basic_string, std::allocator > const&)': JSDL.cpp:(.text+0x6da): undefined reference to `Mix_FreeMusic' JSDL.cpp:(.text+0x6e4): undefined reference to `Mix_LoadMUS' JSDL.cpp:(.text+0x6f0): undefined reference to `SDL_GetError' JSDL.o: In function `JamesSDL::LockBack()': JSDL.cpp:(.text+0x80e): undefined reference to `SDL_LockSurface' JSDL.o: In function `JamesSDL::BltPart(SDL_Surface*, SDL_Rect&, SDL_Rect)': JSDL.cpp:(.text+0x94e): undefined reference to `SDL_UpperBlit' JSDL.o: In function `JamesSDL::Blt(SDL_Surface*, SDL_Rect)': JSDL.cpp:(.text+0xa8d): undefined reference to `SDL_UpperBlit' JSDL.o: In function `JamesSDL::BltFill(SDL_Rect, unsigned short)': JSDL.cpp:(.text+0xbc6): undefined reference to `SDL_FillRect' JSDL.o: In function `JamesSDL::BitmapHDtoFile(std::basic_string, std::allocator > const&)': JSDL.cpp:(.text+0xce9): undefined reference to `IMG_Load' JSDL.cpp:(.text+0xd12): undefined reference to `SDL_ConvertSurface' JSDL.cpp:(.text+0xd1d): undefined reference to `SDL_FreeSurface' JSDL.cpp:(.text+0xd24): undefined reference to `SDL_GetError' JSDL.o: In function `JamesSDL::ResetVideo()': JSDL.cpp:(.text+0xed0): undefined reference to `SDL_SetVideoMode' JSDL.cpp:(.text+0xefc): undefined reference to `SDL_Quit' JSDL.cpp:(.text+0xf07): undefined reference to `SDL_GetError' JSDL.o: In function `JamesSDL::Init()': JSDL.cpp:(.text+0x100f): undefined reference to `SDL_Init' JSDL.cpp:(.text+0x102b): undefined reference to `SDL_InitSubSystem' JSDL.cpp:(.text+0x104c): undefined reference to `SDL_WM_SetCaption' JSDL.cpp:(.text+0x1058): undefined reference to `SDL_EnableUNICODE' JSDL.cpp:(.text+0x106d): undefined reference to `SDL_EnableKeyRepeat' JSDL.cpp:(.text+0x1079): undefined reference to `SDL_GetKeyState' JSDL.cpp:(.text+0x1088): undefined reference to `SDL_ShowCursor' JSDL.cpp:(.text+0x10c3): undefined reference to `Mix_OpenAudio' JSDL.cpp:(.text+0x10cb): undefined reference to `SDL_GetError' JSDL.cpp:(.text+0x113e): undefined reference to `SDL_GetError' JSDL.cpp:(.text+0x11c3): undefined reference to `SDL_GetError' JSDL.o: In function `JamesSDL::StopMusic()': JSDL.cpp:(.text+0x5): undefined reference to `Mix_HaltMusic' JSDL.o: In function `JamesSDL::UshortToRGB(unsigned short, unsigned char&, unsigned char&, unsigned char&)': JSDL.cpp:(.text+0x27): undefined reference to `SDL_GetRGB' JSDL.o: In function `JamesSDL::Shutdown()': JSDL.cpp:(.text+0x8f): undefined reference to `SDL_Quit' JSDL.o: In function `JamesSDL::UnlockBack()': JSDL.cpp:(.text+0xb8): undefined reference to `SDL_UnlockSurface' JSDL.o: In function `JamesSDL::BitmapColorConvert(unsigned short)': JSDL.cpp:(.text+0x17b): undefined reference to `SDL_UnlockSurface' JSDL.o: In function `JamesSDL::ForceFlip()': JSDL.cpp:(.text+0x198): undefined reference to `SDL_Flip' JSDL.o: In function `JamesSDL::Flip()': JSDL.cpp:(.text+0x1c7): undefined reference to `SDL_Flip' Main.o: In function `__static_initialization_and_destruction_0(int, int)': Main.cpp:(.text+0x1d0): undefined reference to `boost::system::get_system_category()' Main.cpp:(.text+0x1da): undefined reference to `boost::system::get_posix_category()' Main.cpp:(.text+0x1e4): undefined reference to `boost::system::get_posix_category()' Main.cpp:(.text+0x1ee): undefined reference to `boost::system::get_system_category()' Main.o: In function `FPSCounter()': Main.cpp:(.text+0x3fd): undefined reference to `SDL_GetTicks' Main.o: In function `PollInput()': Main.cpp:(.text+0x4e7): undefined reference to `SDL_WaitEvent' Main.cpp:(.text+0x571): undefined reference to `SDL_PollEvent' Main.o: In function `GameMain()': Main.cpp:(.text+0x60a): undefined reference to `SDL_GetTicks' Main.cpp:(.text+0x6a2): undefined reference to `SDL_PushEvent' Main.cpp:(.text+0x71e): undefined reference to `SDL_GetMouseState' Main.o: In function `GameInit(char**)': Main.cpp:(.text+0x2977): undefined reference to `SDL_GetTicks' Main.o: In function `ExceptionShutdown(std::runtime_error)': Main.cpp:(.text+0x3234): undefined reference to `SDL_PollEvent' Main.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': Main.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x1a): undefined reference to `boost::system::get_system_category()' Main.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x60): undefined reference to `boost::filesystem::detail::status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)' MainMenu.o: In function `MainMenu::MainMenu_State::~MainMenu_State()': MainMenu.cpp:(.text+0xd9): undefined reference to `SDL_FreeSurface' MainMenu.o: In function `MainMenu::MainMenu_State::~MainMenu_State()': MainMenu.cpp:(.text+0x129): undefined reference to `SDL_FreeSurface' MainMenu.o: In function `MainMenu::MainMenu_State::~MainMenu_State()': MainMenu.cpp:(.text+0x179): undefined reference to `SDL_FreeSurface' Menu_Base.o: In function `__static_initialization_and_destruction_0(int, int)': Menu_Base.cpp:(.text+0x170): undefined reference to `boost::system::get_system_category()' Menu_Base.cpp:(.text+0x17a): undefined reference to `boost::system::get_posix_category()' Menu_Base.cpp:(.text+0x184): undefined reference to `boost::system::get_posix_category()' Menu_Base.cpp:(.text+0x18e): undefined reference to `boost::system::get_system_category()' Menu_Base.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_symlink, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': Menu_Base.cpp:(.text._ZN5boost10filesystem10is_symlinkINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_symlink, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x1a): undefined reference to `boost::system::get_system_category()' Menu_Base.cpp:(.text._ZN5boost10filesystem10is_symlinkINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_symlink, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x56): undefined reference to `boost::filesystem::detail::symlink_status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)' Menu_Base.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::remove, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': Menu_Base.cpp:(.text._ZN5boost10filesystem6removeINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::remove, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x67): undefined reference to `boost::filesystem::detail::remove_api(std::basic_string, std::allocator > const&)' PopupMenu.o: In function `__static_initialization_and_destruction_0(int, int)': PopupMenu.cpp:(.text+0x290): undefined reference to `boost::system::get_system_category()' PopupMenu.cpp:(.text+0x29a): undefined reference to `boost::system::get_posix_category()' PopupMenu.cpp:(.text+0x2a4): undefined reference to `boost::system::get_posix_category()' PopupMenu.cpp:(.text+0x2ae): undefined reference to `boost::system::get_system_category()' PreBattle.o: In function `PreBattle::UnloadGraphics()': PreBattle.cpp:(.text+0x888): undefined reference to `SDL_FreeSurface' PreBattle.cpp:(.text+0x8e9): undefined reference to `SDL_FreeSurface' PreBattle.o: In function `PreBattle::PreBattle_State::PreBattle_State()': PreBattle.cpp:(.text+0x1b56): undefined reference to `SDL_CreateRGBSurface' PreBattle.o: In function `PreBattle::PreBattle_State::PreBattle_State()': PreBattle.cpp:(.text+0x2276): undefined reference to `SDL_CreateRGBSurface' RTS.o: In function `RTS::DrawRadar()': RTS.cpp:(.text+0x5dd): undefined reference to `SDL_FillRect' RTS.cpp:(.text+0x5f7): undefined reference to `SDL_LockSurface' RTS.cpp:(.text+0x875): undefined reference to `SDL_UnlockSurface' RTS.o: In function `RTS::ScrollAndDrag()': RTS.cpp:(.text+0x13b7): undefined reference to `SDL_GetMouseState' RTSUnit_Base.o: In function `__static_initialization_and_destruction_0(int, int)': RTSUnit_Base.cpp:(.text+0x2f0): undefined reference to `boost::system::get_system_category()' RTSUnit_Base.cpp:(.text+0x2fa): undefined reference to `boost::system::get_posix_category()' RTSUnit_Base.cpp:(.text+0x304): undefined reference to `boost::system::get_posix_category()' RTSUnit_Base.cpp:(.text+0x30e): undefined reference to `boost::system::get_system_category()' RTSUnit_Base.o: In function `RTSUnit_Base::FreePicture()': RTSUnit_Base.cpp:(.text+0x19bf): undefined reference to `SDL_FreeSurface' RTSUnit_Base.cpp:(.text+0x19cd): undefined reference to `SDL_FreeSurface' RTSUnit_Base.cpp:(.text+0x19e7): undefined reference to `SDL_FreeSurface' RTSUnit_Base.cpp:(.text+0x19f5): undefined reference to `SDL_FreeSurface' SetupBattle.o: In function `__static_initialization_and_destruction_0(int, int)': SetupBattle.cpp:(.text+0x100): undefined reference to `boost::system::get_system_category()' SetupBattle.cpp:(.text+0x10a): undefined reference to `boost::system::get_posix_category()' SetupBattle.cpp:(.text+0x114): undefined reference to `boost::system::get_posix_category()' SetupBattle.cpp:(.text+0x11e): undefined reference to `boost::system::get_system_category()' Stuff.o: In function `FontStruct::Shutdown()': Stuff.cpp:(.text+0x31b): undefined reference to `SDL_FreeSurface' Stuff.o: In function `ClearStandardGraphics()': Stuff.cpp:(.text+0x37f): undefined reference to `SDL_FreeSurface' Stuff.o: In function `__static_initialization_and_destruction_0(int, int)': Stuff.cpp:(.text+0x580): undefined reference to `boost::system::get_system_category()' Stuff.cpp:(.text+0x58a): undefined reference to `boost::system::get_posix_category()' Stuff.cpp:(.text+0x594): undefined reference to `boost::system::get_posix_category()' Stuff.cpp:(.text+0x59e): undefined reference to `boost::system::get_system_category()' Stuff.o: In function `boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_empty, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)': Stuff.cpp:(.text._ZN5boost10filesystem8is_emptyINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if, std::allocator >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_empty, std::allocator >, boost::filesystem::path_traits> >(boost::filesystem::basic_path, std::allocator >, boost::filesystem::path_traits> const&)]+0x40): undefined reference to `boost::filesystem::detail::is_empty_api(std::basic_string, std::allocator > const&)' collect2: ld returned 1 exit status make: *** [galaxyhack] Error 1 * * ERROR: games-strategy/galaxyhack-1.74 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2348: Called games_src_compile * environment, line 1356: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/games-strategy:galaxyhack-1.74:20081118-195346.log'. * The ebuild environment file is located at '/var/tmp/portage/games-strategy/galaxyhack-1.74/temp/environment'. *