[elexis@elexis trunk]$ gcc --version gcc (GCC) 10.1.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [elexis@elexis trunk]$ compilegcc Updating bundled third-party dependencies... SpiderMonkey is already up to date Building NVTT... -- Setting optimal options -- Processor: x86_64 -- Compiler Flags: -fPIC CMake Warning (dev) at /usr/share/cmake-3.17/Modules/FindOpenGL.cmake:305 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): src/CMakeLists.txt:18 (INCLUDE) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for OpenGL - found -- Looking for DirectX - not found -- Looking for PNG - found -- Use thread library: -lpthread -- Configuring done -- Generating done -- Build files have been written to: /home/elexis/code/0ad-svn4/trunk/libraries/source/nvtt/src/build [ 5%] Built target posh [ 11%] Built target squish [ 20%] Built target nvcore [ 35%] Built target bc7 [ 41%] Built target bc6h [ 49%] Built target nvmath [ 58%] Built target nvthread [ 71%] Built target nvimage [100%] Built target nvtt make: Entering directory '/home/elexis/code/0ad-svn4/trunk/build/premake/premake5/build/gmake.unix' ==== Building zlib-lib (release) ==== ==== Building zip-lib (release) ==== ==== Building lua-lib (release) ==== ==== Building curl-lib (release) ==== ==== Building mbedtls-lib (release) ==== ==== Building luashim-lib (release) ==== ==== Building example (release) ==== ==== Building luasocket (release) ==== ==== Building Premake5 (release) ==== make: Leaving directory '/home/elexis/code/0ad-svn4/trunk/build/premake/premake5/build/gmake.unix' Premake args: --without-pch --prefer-local-libs --atlas Building configurations... Running action 'gmake'... Done (2139ms). ==== Building mocks_real (release) ==== ==== Building network (release) ==== ==== Building tinygettext (release) ==== Creating obj/mocks_real_Release mocks_real.cpp Creating obj/tinygettext_Release dictionary.cpp Creating obj/network_Release NetClient.cpp Linking mocks_real ==== Building lobby (release) ==== Creating obj/lobby_Release L10n.cpp dictionary_manager.cpp iconv.cpp NetClientTurnManager.cpp language.cpp Globals.cpp log.cpp StanzaExtensions.cpp plural_forms.cpp NetFileTransfer.cpp XmppClient.cpp po_parser.cpp NetHost.cpp tinygettext.cpp NetMessage.cpp unix_file_system.cpp Linking tinygettext ==== Building glooxwrapper (release) ==== Creating obj/glooxwrapper_Release glooxwrapper.cpp GlooxScriptConversions.cpp NetMessageSim.cpp JSInterface_Lobby.cpp Linking glooxwrapper ==== Building simulation2 (release) ==== Creating obj/simulation2_Release Simulation2.cpp NetServer.cpp pkcs5_pbkdf2.cpp Linking lobby ==== Building scriptinterface (release) ==== Creating obj/scriptinterface_Release ScriptConversions.cpp CCmpAIManager.cpp NetServerTurnManager.cpp ScriptInterface.cpp NetSession.cpp CCmpCinemaManager.cpp NetStats.cpp ScriptRuntime.cpp StunClient.cpp ScriptStats.cpp CCmpCommandQueue.cpp fsm.cpp Linking scriptinterface ==== Building engine (release) ==== Creating obj/engine_Release L10n.cpp CCmpDecay.cpp Linking network ==== Building graphics (release) ==== Creating obj/graphics_Release Camera.cpp CCmpFootprint.cpp CameraController.cpp CCmpMinimap.cpp JSInterface_L10n.cpp CinemaManager.cpp CCmpMotionBall.cpp BoundingBoxAligned.cpp ColladaManager.cpp CCmpObstruction.cpp BoundingBoxOriented.cpp CCmpObstructionManager.cpp BoundingSphere.cpp Brush.cpp Fixed.cpp Color.cpp MD5.cpp CCmpOverlayRenderer.cpp Decal.cpp Matrix3D.cpp Font.cpp NUSpline.cpp CCmpOwnership.cpp FontManager.cpp Noise.cpp CCmpParticleManager.cpp Plane.cpp FontMetrics.cpp Quaternion.cpp CCmpPathfinder.cpp Sqrt.cpp Frustum.cpp Vector3D.cpp GameView.cpp JSInterface_Network.cpp CCmpPosition.cpp HFTracer.cpp ArchiveBuilder.cpp HeightMipmap.cpp CCmpProjectileManager.cpp ICameraController.cpp LOSTexture.cpp CConsole.cpp CCmpRallyPointRenderer.cpp LightEnv.cpp MapGenerator.cpp CLogger.cpp CCmpRangeManager.cpp CStr.cpp MapIO.cpp MapReader.cpp CStrIntern.cpp CacheLoader.cpp CCmpRangeOverlayRenderer.cpp CCmpSelectable.cpp Compress.cpp MapWriter.cpp ConfigDB.cpp CCmpSoundManager.cpp CCmpTemplateManager.cpp Material.cpp DllLoader.cpp MaterialManager.cpp CCmpTerrain.cpp Errors.cpp FileIo.cpp CCmpTerritoryInfluence.cpp MeshManager.cpp Filesystem.cpp CCmpTerritoryManager.cpp MiniPatch.cpp GUID.cpp Model.cpp Game.cpp CCmpTest.cpp CCmpUnitMotion.cpp ModelAbstract.cpp Atlas.cpp ModelDef.cpp CmdLineArgs.cpp CCmpUnitRenderer.cpp ObjectBase.cpp Config.cpp GameSetup.cpp CCmpVision.cpp CCmpVisualActor.cpp ObjectEntry.cpp CCmpWaterManager.cpp ICmpAIInterface.cpp ObjectManager.cpp ICmpAIManager.cpp HWDetect.cpp ICmpAttack.cpp Overlay.cpp ICmpCinemaManager.cpp Paths.cpp ParticleEmitter.cpp ICmpCommandQueue.cpp ICmpDecay.cpp ParticleEmitterType.cpp ICmpFogging.cpp Globals.cpp ParticleManager.cpp ICmpFootprint.cpp Hotkey.cpp ICmpGarrisonHolder.cpp Patch.cpp ICmpGuiInterface.cpp Joystick.cpp PreprocessorWrapper.cpp QuadTree.cpp ICmpIdentity.cpp KeyName.cpp QuadTreeGrid.cpp ICmpMinimap.cpp Loader.cpp QuadTreeRoot.cpp ICmpMirage.cpp Mod.cpp ShaderDefines.cpp ICmpMotion.cpp ShaderManager.cpp ICmpObstruction.cpp ModInstaller.cpp ICmpObstructionManager.cpp ICmpOverlayRenderer.cpp ModIo.cpp ShaderProgram.cpp ICmpOwnership.cpp ICmpParticleManager.cpp ShaderProgramFFP.cpp ICmpPathfinder.cpp ICmpPlayer.cpp ShaderTechnique.cpp Profile.cpp SkeletonAnimDef.cpp ICmpPlayerManager.cpp SkeletonAnimManager.cpp ProfileViewer.cpp ICmpPosition.cpp ICmpProjectileManager.cpp SmoothedValue.cpp ICmpRallyPoint.cpp Terrain.cpp Profiler2.cpp ../../../source/graphics/Terrain.cpp: In member function ‘void CTerrain::ResizeAndOffset(ssize_t, ssize_t, ssize_t)’: ../../../source/graphics/Terrain.cpp:652:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const ssize_t’ {aka ‘const long int’} [-Wsign-compare] 652 | for (size_t i = 0; i < width; ++i) | ~~^~~~~~~ ICmpRallyPointRenderer.cpp TerrainProperties.cpp ICmpRangeManager.cpp Profiler2GPU.cpp TerrainTextureEntry.cpp ICmpRangeOverlayRenderer.cpp ICmpSelectable.cpp Pyrogenesis.cpp ICmpSettlement.cpp Replay.cpp TerrainTextureManager.cpp ICmpSound.cpp ICmpSoundManager.cpp SavedGame.cpp ICmpTemplateManager.cpp TerritoryBoundary.cpp ICmpTerrain.cpp TerritoryTexture.cpp ICmpTerritoryDecayManager.cpp TextRenderer.cpp ICmpTerritoryInfluence.cpp Shapes.cpp TextureConverter.cpp ICmpTerritoryManager.cpp TemplateLoader.cpp ICmpTest.cpp ICmpUnitMotion.cpp TextureManager.cpp ThreadUtil.cpp ICmpUnitRenderer.cpp TouchInput.cpp ICmpUnknownScript.cpp UserReport.cpp ICmpValueModificationManager.cpp Unit.cpp ICmpVisibility.cpp Util.cpp UnitAnimation.cpp ICmpVision.cpp UnitManager.cpp ICmpVisual.cpp JSInterface_GameView.cpp ICmpWaterManager.cpp VideoMode.cpp JSInterface_QuadTree.cpp CinemaPath.cpp AlphaMapCalculator.cpp Geometry.cpp VisualReplay.cpp DecalRData.cpp HierarchicalPathfinder.cpp HWLightingModelRenderer.cpp InstancingModelRenderer.cpp World.cpp LongPathfinder.cpp MikktspaceWrap.cpp ModelRenderer.cpp RelaxNG.cpp XMLWriter.cpp PathGoal.cpp Rasterize.cpp XeroXMB.cpp OverlayRenderer.cpp Xeromyces.cpp Render.cpp In file included from ../../../source/graphics/Overlay.h:23, from ../../../source/simulation2/helpers/Render.cpp:22: ../../../source/maths/Vector2D.h: In function ‘void SimRender::InterpolatePointsRNS(std::vector&, bool, float, int)’: ../../../source/maths/Vector2D.h:54:36: warning: ‘a3.CVector2D::Y’ may be used uninitialized in this function [-Wmaybe-uninitialized] 54 | return CVector2D(X + t.X, Y + t.Y); | ^ ../../../source/simulation2/helpers/Render.cpp:418:12: note: ‘a3.CVector2D::Y’ was declared here 418 | CVector2D a3; | ^~ In file included from ../../../source/graphics/Overlay.h:23, from ../../../source/simulation2/helpers/Render.cpp:22: ../../../source/maths/Vector2D.h:54:36: warning: ‘a3.CVector2D::X’ may be used uninitialized in this function [-Wmaybe-uninitialized] 54 | return CVector2D(X + t.X, Y + t.Y); | ^ ../../../source/simulation2/helpers/Render.cpp:418:12: note: ‘a3.CVector2D::X’ was declared here 418 | CVector2D a3; | ^~ In file included from ../../../source/graphics/Overlay.h:23, from ../../../source/simulation2/helpers/Render.cpp:22: ../../../source/maths/Vector2D.h:54:36: warning: ‘a2.CVector2D::Y’ may be used uninitialized in this function [-Wmaybe-uninitialized] 54 | return CVector2D(X + t.X, Y + t.Y); | ^ ../../../source/simulation2/helpers/Render.cpp:417:12: note: ‘a2.CVector2D::Y’ was declared here 417 | CVector2D a2; | ^~ In file included from ../../../source/graphics/Overlay.h:23, from ../../../source/simulation2/helpers/Render.cpp:22: ../../../source/maths/Vector2D.h:54:36: warning: ‘a2.CVector2D::X’ may be used uninitialized in this function [-Wmaybe-uninitialized] 54 | return CVector2D(X + t.X, Y + t.Y); | ^ ../../../source/simulation2/helpers/Render.cpp:417:12: note: ‘a2.CVector2D::X’ was declared here 417 | CVector2D a2; | ^~ ParticleRenderer.cpp Selection.cpp JSInterface_ConfigDB.cpp VertexPathfinder.cpp PatchRData.cpp JSInterface_Console.cpp JSInterface_Debug.cpp EngineScriptConversions.cpp JSInterface_Game.cpp JSInterface_Simulation.cpp PostprocManager.cpp JSInterface_Main.cpp MessageTypeConversions.cpp JSInterface_Mod.cpp RenderModifiers.cpp JSInterface_ModIo.cpp ScriptComponent.cpp Renderer.cpp JSInterface_SavedGame.cpp BinarySerializer.cpp JSInterface_UserReport.cpp DebugSerializer.cpp JSInterface_VFS.cpp HashSerializer.cpp RenderingOptions.cpp IDeserializer.cpp Scene.cpp JSInterface_VisualReplay.cpp ShadowMap.cpp ISerializer.cpp StdDeserializer.cpp SoundManager.cpp SilhouetteRenderer.cpp StdSerializer.cpp OggData.cpp SkyManager.cpp CmpPtr.cpp SoundData.cpp ComponentManager.cpp ogg.cpp TerrainOverlay.cpp CBufferItem.cpp CSoundBase.cpp TerrainRenderer.cpp CSoundItem.cpp ComponentManagerSerialization.cpp CStreamItem.cpp TexturedLineRData.cpp JSInterface_Sound.cpp DynamicSubscription.cpp TimeManager.cpp SoundGroup.cpp VertexArray.cpp IComponent.cpp VertexBuffer.cpp LocalTurnManager.cpp format.cpp VertexBufferManager.cpp ParamNode.cpp WaterManager.cpp Linking engine ==== Building atlas (release) ==== Creating obj/atlas_Release ActorViewer.cpp ReplayTurnManager.cpp JSInterface_Renderer.cpp SimContext.cpp Brushes.cpp mikktspace.cpp TurnManager.cpp CommandProc.cpp weldmesh.cpp GameLoop.cpp OgreGLSLPreprocessor.cpp Linking simulation2 Linking graphics BrushHandlers.cpp ==== Building gui (release) ==== Creating obj/gui_Release CGUI.cpp CameraCtrlHandlers.cpp ==== Building lowlevel (release) ==== Creating obj/lowlevel_Release arena.cpp CinemaHandler.cpp dynarray.cpp freelist.cpp headerless.cpp page_aligned.cpp CommandHandlers.cpp pool.cpp ElevationHandlers.cpp CGUIScrollBarVertical.cpp shared_ptr.cpp unique_range.cpp CGUISetting.cpp EnvironmentHandlers.cpp app_hooks.cpp base32.cpp CGUISprite.cpp GraphicsSetupHandlers.cpp bits.cpp CGUIText.cpp byte_order.cpp MapHandlers.cpp debug.cpp GUIManager.cpp debug_stl.cpp dbghelp.cpp libsdl.cpp MessageHandler.cpp archive.cpp MiscHandlers.cpp GUIMatrix.cpp archive_zip.cpp GUIRenderer.cpp ObjectHandlers.cpp codec.cpp codec_zlib.cpp GUIStringConversions.cpp stream.cpp file_loader.cpp GUITooltip.cpp PlayerHandlers.cpp file_stats.cpp real_directory.cpp IGUIScrollBar.cpp TerrainHandlers.cpp trace.cpp IGUIButtonBehavior.cpp file.cpp IGUIObject.cpp InputProcessor.cpp file_system.cpp MessagePasserImpl.cpp Misc.cpp io.cpp IGUIScrollBarOwner.cpp Register.cpp write_buffer.cpp IGUITextOwner.cpp vfs.cpp SimState.cpp CButton.cpp View.cpp vfs_lookup.cpp CChart.cpp vfs_path.cpp Linking atlas ==== Building mongoose (release) ==== Creating obj/mongoose_Release mongoose.cpp ../../../source/third_party/mongoose/mongoose.cpp: In function ‘mg_context* mg_start(mg_callback_t, void*, const char**)’: ../../../source/third_party/mongoose/mongoose.cpp:4295:21: warning: cast between incompatible function types from ‘void (*)(mg_context*)’ to ‘mg_thread_func_t’ {aka ‘void* (*)(void*)’} [-Wcast-function-type] 4295 | start_thread(ctx, (mg_thread_func_t) master_thread, ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/third_party/mongoose/mongoose.cpp:4299:27: warning: cast between incompatible function types from ‘void (*)(mg_context*)’ to ‘mg_thread_func_t’ {aka ‘void* (*)(void*)’} [-Wcast-function-type] 4299 | if (start_thread(ctx, (mg_thread_func_t) worker_thread, ctx) != 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vfs_populate.cpp CCheckBox.cpp Linking mongoose CDropDown.cpp CImage.cpp vfs_tree.cpp vfs_util.cpp CInput.cpp fnv_hash.cpp CList.cpp frequency_filter.cpp CMiniMap.cpp input.cpp COList.cpp lib.cpp module_init.cpp ogl.cpp CProgressBar.cpp path.cpp CRadioButton.cpp CSlider.cpp posix.cpp CText.cpp rand.cpp CTooltip.cpp regex.cpp GuiScriptConversions.cpp cursor.cpp ogl_tex.cpp h_mgr.cpp ../../../source/lib/res/h_mgr.cpp: In function ‘void h_free_hd(HDATA*)’: ../../../source/lib/res/h_mgr.cpp:560:27: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct HDATA’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 560 | memset(hd, 0, sizeof(*hd)); | ^ ../../../source/lib/res/h_mgr.cpp:132:8: note: ‘struct HDATA’ declared here 132 | struct HDATA | ^~~~~ secure_crt.cpp JSInterface_GUIManager.cpp ==== Building Collada (release) ==== Creating obj/Collada_Release CommonConvert.cpp snd.cpp DLL.cpp status.cpp JSInterface_GUISize.cpp Decompose.cpp svn_revision.cpp GeomReindex.cpp JSInterface_IGUIObject.cpp acpi.cpp Maths.cpp PMDConvert.cpp amd64.cpp ScriptFunctions.cpp apic.cpp PSAConvert.cpp CGUIColor.cpp StdSkeletons.cpp cache.cpp CGUISize.cpp XMLFix.cpp msr.cpp precompiled.cpp Linking Collada topology.cpp /usr/bin/ld: ../../../libraries/source/fcollada/lib/libFColladaSR.a(FAXInstanceExport.o): in function `FArchiveXML::WritePhysicsRigidBodyInstance(FCDObject*, _xmlNode*)': FAXInstanceExport.cpp:(.text+0xbfc): undefined reference to `_xmlNode* FArchiveXML::AddPhysicsParameter(_xmlNode*, char const*, FCDParameterAnimatableT&)' /usr/bin/ld: FAXInstanceExport.cpp:(.text+0xc12): undefined reference to `_xmlNode* FArchiveXML::AddPhysicsParameter(_xmlNode*, char const*, FCDParameterAnimatableT&)' collect2: error: ld returned 1 exit status make[1]: *** [Collada.make:90: ../../../binaries/system/libCollada.so] Error 1 make: *** [Makefile:175: Collada] Error 2 make: *** Waiting for unfinished jobs.... x86_x64.cpp CGUIString.cpp cpu.cpp gfx.cpp dir_watch_inotify.cpp lcpu.cpp ldbg.cpp linux.cpp L10n.cpp udbg.cpp ufilesystem.cpp unix.cpp unix_executable_pathname.cpp unuma.cpp uvm.cpp x.cpp os_cpu.cpp Linking gui gcc.cpp ../../../source/lib/sysdep/os/unix/x/x.cpp:92:13: warning: ‘bool get_wminfo(SDL_SysWMinfo&)’ defined but not used [-Wunused-function] 92 | static bool get_wminfo(SDL_SysWMinfo& wminfo) | ^~~~~~~~~~ ../../../source/lib/sysdep/os/unix/x/x.cpp:54:15: warning: ‘selection_size’ defined but not used [-Wunused-variable] 54 | static size_t selection_size=0; | ^~~~~~~~~~~~~~ ../../../source/lib/sysdep/os/unix/x/x.cpp:53:17: warning: ‘selection_data’ defined but not used [-Wunused-variable] 53 | static wchar_t *selection_data=NULL; | ^~~~~~~~~~~~~~ ../../../source/lib/sysdep/os/unix/x/x.cpp:52:15: warning: ‘g_SDL_Window’ defined but not used [-Wunused-variable] 52 | static Window g_SDL_Window; | ^~~~~~~~~~~~ ../../../source/lib/sysdep/os/unix/x/x.cpp:51:17: warning: ‘g_SDL_Display’ defined but not used [-Wunused-variable] 51 | static Display *g_SDL_Display; | ^~~~~~~~~~~~~ smbios.cpp tex.cpp tex_bmp.cpp tex_codec.cpp tex_dds.cpp tex_png.cpp tex_tga.cpp timer.cpp utf8.cpp wsecure_crt.cpp Linking lowlevel [elexis@elexis gcc]$