Almin Posted February 19, 2012 Report Share Posted February 19, 2012 (edited) Hi,I'm using Arch GNU/Linux 64bit.I'm trying to compile from svn, current revision 11101.A few days/weeks ago I could do it without any problem.==== Building pyrogenesis (release) ======== Building test (release) ====Creating obj/pyrogenesis_Releasemain.cppCreating obj/test_Releaseprecompiled.hLinking pyrogenesistest_root.cpptest_ScriptConversions.cpptest_ScriptVal.cpptest_ScriptInterface.cpptest_Net.cpptest_NetMessage.cpptest_AtlasObjectXML.cpptest_trace.cpp/usr/bin/ld: ../../../binaries/system/liblowlevel.a(x.o): undefined reference to symbol 'XConvertSelection'/usr/bin/ld: note: 'XConvertSelection' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line/usr/lib/libX11.so.6: could not read symbols: Invalid operationcollect2: ld gab 1 als Ende-Status zurückmake[1]: *** [../../../binaries/system/pyrogenesis] Fehler 1make: *** [pyrogenesis] Fehler 2make: *** Warte auf noch nicht beendete Prozesse...test_posix.cpptest_allocators.cpptest_headerless.cpptest_topology.cpptest_sysdep.cpptest_printf.cpptest_rtl.cpptest_tex.cpptest_secure_crt.cpptest_cache_adt.cpptest_bits.cpptest_base32.cpptest_wchar.cpptest_regex.cpptest_byte_order.cpptest_lib.cpptest_fnv_hash.cpptest_adts.cpptest_path_util.cpptest_rand.cpptest_scripts.cpptest_CommandQueue.cpptest_Pathfinder.cpptest_Position.cpptest_RangeManager.cpptest_TerritoryManager.cpptest_ParamNode.cpptest_CmpTemplateManager.cpptest_ComponentManager.cpptest_Serializer.cpptest_Simulation2.cpptest_MeshManager.cpptest_TextureConverter.cppIn file included from ../../../source/simulation2/tests/test_Serializer.cpp:15:0:../../../source/simulation2/tests/../../../source/simulation2/tests/test_Serializer.h: In Elementfunktion »void TestSerializerPerf::test_hash_DISABLED()«:../../../source/simulation2/tests/../../../source/simulation2/tests/test_Serializer.h:530:3: Warnung: Variable »_qzz_res« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]../../../source/simulation2/tests/../../../source/simulation2/tests/test_Serializer.h:537:3: Warnung: Variable »_qzz_res« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]test_LOSTexture.cpptest_Color.cpptest_TextureManager.cpptest_Terrain.cpptest_CmdLineArgs.cpptest_Xeromyces.cpptest_XeroXMB.cpptest_XMLWriter.cpptest_RelaxNG.cpptest_Parser.cppstub_impl_hack.cpptest_CStr.cpptest_test.cpptest_CLogger.cpptest_FixedVector2D.cpptest_Sqrt.cpptest_Bound.cpptest_Matrix3d.cpptest_Random.cpptest_FixedVector3D.cpptest_MD5.cpptest_Fixed.cppprecompiled.cpptest_setup.cpp../../../source/maths/MD5.h: In Elementfunktion »virtual void TestDescription_TestMD5_test_rfc::runTest()«:../../../source/maths/MD5.h:45:39: Warnung: Feldindex ist oberhalb der Feldgrenzen [-Warray-bounds]In file included from ../../../source/maths/tests/test_MD5.cpp:14:0:../../../source/maths/MD5.h: In Elementfunktion »void TestMD5::test_chunks()«:../../../source/maths/MD5.h:45:39: Warnung: Feldindex ist oberhalb der Feldgrenzen [-Warray-bounds]../../../source/maths/MD5.h:45:39: Warnung: Feldindex ist oberhalb der Feldgrenzen [-Warray-bounds]Linking test/usr/bin/ld: ../../../binaries/system/liblowlevel.a(x.o): undefined reference to symbol 'XConvertSelection'/usr/bin/ld: note: 'XConvertSelection' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line/usr/lib/libX11.so.6: could not read symbols: Invalid operationcollect2: ld gab 1 als Ende-Status zurückmake[1]: *** [../../../binaries/system/test] Fehler 1make: *** [test] Fehler 2The Troubleshooting part on the wiki article didn't help me out. Edited February 21, 2012 by Almin Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted February 19, 2012 Report Share Posted February 19, 2012 I have no idea why that would be failing. You're not testing anything related to Android are you? Can you try ./clean-workspaces.sh to force a clean rebuild? Quote Link to comment Share on other sites More sharing options...
Almin Posted February 20, 2012 Author Report Share Posted February 20, 2012 (edited) I have no idea why that would be failing. You're not testing anything related to Android are you? Can you try ./clean-workspaces.sh to force a clean rebuild?Didn't help. Same error(s) again.edit: And no, I don't test anything Android-related.edit2: After trying ./update-workspaces.sh --without-tests there are other problems:==== Building pyrogenesis (release) ====Creating obj/pyrogenesis_Releasemain.cppTrigger.cppReplaceTerrain.cppFlattenElevation.cppSmoothElevation.cppPaintTerrain.cppAlterElevation.cppFillTerrain.cppPlaceObject.cppActorViewerTool.cppTransformObject.cppMiscState.cppLinking pyrogenesisTools.cpp/usr/bin/ld: ../../../binaries/system/liblowlevel.a(x.o): undefined reference to symbol 'XConvertSelection'/usr/bin/ld: note: 'XConvertSelection' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line/usr/lib/libX11.so.6: could not read symbols: Invalid operationcollect2: ld gab 1 als Ende-Status zurückmake[1]: *** [../../../binaries/system/pyrogenesis] Fehler 1make: *** [pyrogenesis] Fehler 2make: *** Warte auf noch nicht beendete Prozesse...Brushes.cppObjectSettings.cppLinking AtlasUI Edited February 20, 2012 by Almin Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted February 20, 2012 Report Share Posted February 20, 2012 Even though this is from Fedora documentation, it looks relevant: https://fedoraproject.org/wiki/UnderstandingDSOLinkChangeSo basically, our build system is doing something that was allowed in the past, but has now broken (e.g. libX11.so.6 was being linked from some other lib, but no longer). I guess we need to add an explicit link for libX11?The test-related problems are just warnings so I'm not as concerned about them. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted February 20, 2012 Report Share Posted February 20, 2012 We've found the problem, an unforeseen change in the build system has caused the error, but only on certain Linux distros. Expect a fix soon Quote Link to comment Share on other sites More sharing options...
Almin Posted February 21, 2012 Author Report Share Posted February 21, 2012 (edited) YAAAAAAAAAAAAAAAAAAAAAAAH!!! Running 258 tests..................................................................................................................................................................................................................................................................OK!I don't need to tell you how deep in love I am with you, do I? edit: Thanks for everyone included, btw![sOLVED] Edited February 21, 2012 by Almin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.