olsner Posted July 18, 2009 Report Share Posted July 18, 2009 Since the link options are added in an arbitrary order, all the library link options are already inside a --start-group/--end-group pair which is supposed to fix that...I suppose we could change the order in which LDFLAGS is generated by premake (in gnu_cpp.c), but that feels kind of hackish, and it still doesn't guarantee any specific internal ordering between libraries (only between the chunk of package.links-libraries and the explicit link flags in linkoptions). Quote Link to comment Share on other sites More sharing options...
Guest olelukoie Posted July 20, 2009 Report Share Posted July 20, 2009 Since the link options are added in an arbitrary order, all the library link options are already inside a --start-group/--end-group pair which is supposed to fix that...I suppose we could change the order in which LDFLAGS is generated by premake (in gnu_cpp.c), but that feels kind of hackish, and it still doesn't guarantee any specific internal ordering between libraries (only between the chunk of package.links-libraries and the explicit link flags in linkoptions).Seems like I've found the cause of my linkage problem. It's due to wx-config output. I'm using Mandriva Linux and 'wx-config --unicode=yse --libs std,gl' returns the following:-L/usr/lib64 -pthread -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,relro -L/usr/lib64 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8Also I've tested Fedora 11 (in virtualbox) and the same wx-config command gives the following:-pthread -lwx_gtk2u_gl-2.8 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8As you can see there are no any '-Wl,--as-needed -Wl,-z,relro' options and linkage works without any problems. I've removed this options from mandriva's wx-config and tested and linkage also passed OK. I'll report this problem to mandriva's bugzilla but not sure it will be fixed... Quote Link to comment Share on other sites More sharing options...
janwas Posted July 20, 2009 Report Share Posted July 20, 2009 (479): Assertion failed: "m_freeBytes >= freedBlock->Size()"udbg_bfd_init: loading symbols from ./test_dbg.Assertion failed: "m_freeBytes >= freedBlock->Size()"Location: headerless.cpp:479 (Validate)Bummer, sorry to hear that some 64-bit bugs remain. The rest probably aren't going to be found via simple inspection, I need to get a Win64 build going and debug it. (Unfortunately this can't happen before early next week, am still quite busy.)In the meantime: are you seeing this bug only during the test (which uses the allocator a bit differently) or the same thing also from the game itself? Quote Link to comment Share on other sites More sharing options...
Guest olelukoie Posted July 21, 2009 Report Share Posted July 21, 2009 OpenAL error: Invalid Operation; called from al_buf_freehm, the docs say alDeleteBuffers can only fail with that error code if the buffer is still in use. However there is a mechanism in place for unqueuing buffers and stopping the source, which should happen before freeing buffers (even when shutting down). Unfortunately this problem doesn't occur on Windows (more forgiving OpenAL implementation?), so it's difficult to investigate. Would you be up to firing up the debugger and seeing what happens in vsrc_reclaim when shutting down?This is what gdb tells ('Reading symbols from' lines are skipped):OpenAL error: Invalid Operation; called from al_buf_free (#1)snd_mgr.cpp(127): Assertion failed: "0" udbg_bfd_init: loading symbols from ./pyrogenesis_dbg. Assertion failed: "0" Location: snd_mgr.cpp:127 (al_ReportError) Call stack:(0x008b6262) ldbg.cpp:99 debug_DumpStack(wchar_t*, unsigned long, void*, char const*)(0x008785d8) debug.cpp:316 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*) (0x008789a9) debug.cpp:437 debug_DisplayError(wchar_t const*, unsigned long, void*, char const*, char const*, int, char const*, unsigned char*) (0x00878caa) debug.cpp:516 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*) (0x008a36a2) snd_mgr.cpp:127 al_ReportError (0x008a36d9) snd_mgr.cpp:141 al_check (0x008a3ba8) snd_mgr.cpp:448 al_buf_free (0x008a402e) snd_mgr.cpp:770 SndData_dtor (0x00899b8d) h_mgr.cpp:611 h_free_idx (0x0089a16a) h_mgr.cpp:762 h_force_free(long, H_VTbl*) (0x008a44b6) snd_mgr.cpp:926 hsd_list_free_all (0x008a3ef4) snd_mgr.cpp:639 al_shutdown (0x008a6200) snd_mgr.cpp:2017 snd_shutdown() (0x00653d19) GameSetup.cpp:830 Shutdown(int) (0x005a27bb) main.cpp:403 RunGameOrAtlas (0x005a282c) main.cpp:416 main errno = 0 (?)OS error = ? (C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?D Sleeping until debugger attaches. Please wait. GNU gdb 6.8-6mdv2009.1 (Mandriva Linux release 2009.1) ....(gdb) bt full #0 0x00007f9812fa46cd in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/fork.c:130 pid = <value optimized out> allp = (struct used_handler *) 0x7fff3ee4b460 runp = (struct fork_handler *) 0x0 #1 0x00000000008b735d in udbg_launch_debugger () at ../../../source/lib/sysdep/os/unix/udbg.cpp:67 orgpid = 31977 ret = 318180428 #2 0x00000000008b6eb4 in sys_display_error (text=0x7f98029b9000, flags=6) at ../../../source/lib/sysdep/os/unix/unix.cpp:66 c = 68 manual_break = true allow_suppress = true no_continue = false #3 0x000000000087883c in CallDisplayError (text=0x7f98029b9000, flags=6) at ../../../source/lib/debug.cpp:365 er = ER_NOT_IMPLEMENTED #4 0x00000000008789cc in debug_DisplayError (description=0x13cbf30, flags=6, context=0x0, lastFuncToSkip=0x92aa90 "debug_OnAssertionFailure", pathname=0x933f28 "../../../source/lib/res/sound/snd_mgr.cpp", line=127, func=0x934952 "al_ReportError", suppress=0xc9fdb0 "") at ../../../source/lib/debug.cpp:440 filename = 0x933f46 "snd_mgr.cpp" emm = {pa_mem = 0x7f98029b9000} text = (const wchar_t *) 0x7f98029b9000 er = 0 #5 0x0000000000878caa in debug_OnAssertionFailure (expr=0x933f90 "0", suppress=0xc9fdb0 "", file=0x933f28 "../../../source/lib/res/sound/snd_mgr.cpp", line=127, func=0x934952 "al_ReportError") at ../../../source/lib/debug.cpp:515 context = (void *) 0x0 lastFuncToSkip = 0x92aa90 "debug_OnAssertionFailure" __func__ = "debug_OnAssertionFailure" buf = {65, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108, 101, 100, 58, 32, 34, 48, 34, 0, 1055176592, 32767, 1055177615, 32767, 318574505, 32664, 0, 0, 62, 0, 141967360, 32664, 62, 0, 2, 0, 318191562, 32664, 122421248, 32664, 321259392, 32664, 62, 0, 141967360, 32664, 0, 0, 318196405, 32664, 1055176496, 32767, 62, 0, 321259392, 32664, 1055176592, 32767, 0, 0, 318190845, 32664, 0, 0, 321259392, 32664, 1055176592, 32767, 62, 0, 1055179072, 32767, 0, 0, 0, 0, 318149644, 32664, 321259392, 32664, 318147258, 32664, 20611616, 0, 9139228, 0, 6, 0, 1055176592, 32767, 1055177824, 32767, 8880333, 0, 2095443136, 1075262783, ---Type <return> to continue, or q <return> to quit--- 9650024, 0, 1852141647, 1696615489, 1919906418, 1850286138, 1768710518, 1884233828, 1952543333, 997093225, 1818321696, 543450476, 1836020326, 1600938272, 1600550242, 1701147238, 824387616, 2601, 1055176576, 32767, 27803008, 0, 0, 0, 1, 0, 23127608, 0, 0, 0, 0, 0, 1055176784, 32767, 1055177152, 32767, 1055177024, 32767, 9274411, 0, 1055178176, 32767, 1023, 0, 0, 0, 1055177152, 32767, 318182658, 32664, -72515583, 0, 1055177152, 32767, 1055177152, 32767, 1055177152, 32767, 1055177152, 32767, 1055177183, 32767, 1055178175, 32767, 1055177152, 32767, 1055178175, 32767, 318574505, 32664, 0, 0, 31, 0, 141967360, 32664, 31, 0, 1055176992, 0, 318191562, 32664, 1055129600, 32767, 321259392, 32664, 31, 0, 141967360, 32664, 0, 0, 318196405, 32664, 26189960, 0, 31, 0, 321259392, 32664, 1055177152, 32767...} #6 0x00000000008a36a2 in al_ReportError (err=40964, caller=0x934900 "al_buf_free") at ../../../source/lib/res/sound/snd_mgr.cpp:127 suppress__ = 0 '\0' __func__ = "al_ReportError" last_caller = 0x934900 "al_buf_free" num_times_within_same_function = 1 str = 0x7f981405c1b0 "Invalid Operation" #7 0x00000000008a36d9 in al_check (caller=0x934900 "al_buf_free") at ../../../source/lib/res/sound/snd_mgr.cpp:140 err = 40964 #8 0x00000000008a3ba8 in al_buf_free (al_buf=65) at ../../../source/lib/res/sound/snd_mgr.cpp:446 __func__ = "al_buf_free"#9 0x00000000008a402e in SndData_dtor (sd=0x1c63da8) at ../../../source/lib/res/sound/snd_mgr.cpp:767No locals.#10 0x0000000000899b8d in h_free_idx (idx=78, hd=0x1c63d80) at ../../../source/lib/res/h_mgr.cpp:609 vtbl = (H_VTbl *) 0xc7c4a0#11 0x000000000089a16a in h_force_free (h=339302417587, type=0xc7c4a0) at ../../../source/lib/res/h_mgr.cpp:761 hd = (HDATA *) 0x1c63d80 __func__ = "h_force_free" idx = 78#12 0x00000000008a44b6 in hsd_list_free_all () at ../../../source/lib/res/sound/snd_mgr.cpp:930 hsd = (Handle &) @0x1cbdef0: 339302417587 it = {_M_current = 0x1cbdef0}#13 0x00000000008a3ef4 in al_shutdown () at ../../../source/lib/res/sound/snd_mgr.cpp:635No locals.#14 0x00000000008a6200 in snd_shutdown () at ../../../source/lib/res/sound/snd_mgr.cpp:2016No locals.---Type <return> to continue, or q <return> to quit---#15 0x0000000000653d19 in Shutdown (flags=0) at ../../../source/ps/GameSetup/GameSetup.cpp:830 LINE_829_ = {m_t0 = 4.7772951849999998, m_description = 0x8e169d "resource modules"}#16 0x00000000005a27bb in RunGameOrAtlas (argc=1, argv=0x7fff3ee4c148) at ../../../source/main.cpp:402 args = { m_Args = {<std::_Vector_base<std::pair<CStr8, CStr8>, std::allocator<std::pair<CStr8, CStr8> > >> = { _M_impl = {<std::allocator<std::pair<CStr8, CStr8> >> = {<__gnu_cxx::new_allocator<std::pair<CStr8, CStr8> >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, m_Arg0 = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = { static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x12e4ff8 "./pyrogenesis_dbg"}}, <No data fields>}} ran_atlas = false res = 1.0000000000000001e-09#17 0x00000000005a282c in main (argc=1, argv=0x7fff3ee4c148) at ../../../source/main.cpp:414No locals.Current language: auto; currently c(gdb)The bug occurs after I launch ./pyrogenesis_dbg and then close it with the cross button in right top corner. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted July 21, 2009 Report Share Posted July 21, 2009 The OpenAL shutdown discussion should probably move to this other thread, since it might be complex and this one is getting a bit cluttered. (I get the same problem so I've posted some debugger details in there, but I haven't tried working out what the problem actually is, since Jan probably would have a much better idea ) Quote Link to comment Share on other sites More sharing options...
janwas Posted July 21, 2009 Report Share Posted July 21, 2009 Thanks for the pointer Just FYI, the sound problem is hopefully now fixed (see abovementioned thread). Quote Link to comment Share on other sites More sharing options...
Guest olelukoie Posted July 26, 2009 Report Share Posted July 26, 2009 My problem with wxWidgets linkage seems to gone after GCC update form 4.4.0 to 4.4.1. Or you have changed something in makefiles? Quote Link to comment Share on other sites More sharing options...
Guest olelukoie Posted August 2, 2009 Report Share Posted August 2, 2009 I don't know where to post this so I'll do it here...In latest 70xx builds I see two warnings that worth to be fixed. The first one is in 'graphics' module:JSInterface_Camera.cpp../../../source/graphics/scripting/JSInterface_Camera.cpp: In function 'JSBool JSI_Camera::construct(JSContext*, JSObject*, uintN, jsval*, jsval*)':../../../source/graphics/scripting/JSInterface_Camera.cpp:280: warning: comparison of unsigned expression >= 0 is always trueand the second is in 'lowlevel' module:trace.cpp ../../../source/lib/file/common/trace.cpp: In constructor 'TraceEntry::TraceEntry(const char*)':../../../source/lib/file/common/trace.cpp:51: warning: format '%d' expects type 'int*', but argument 6 has type 'size_t*'The first one points to the redundant or incorrect code and the second one can be the cause of problems on x86_64. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted August 2, 2009 Report Share Posted August 2, 2009 The first one was from a macro (checking min <= argc <= max, instantiated with min == 0), so it's a useless warning in that case, but I've changed the code to avoid the warning. The second was an error (though in code that's probably never executed), so I've (hopefully) fixed that now. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted August 6, 2009 Report Share Posted August 6, 2009 Seems like I've found the cause of my linkage problem. It's due to wx-config output. I'm using Mandriva Linux and 'wx-config --unicode=yse --libs std,gl' returns the following:[...] -Wl,--as-needed [...]I think the incompatibility with -Wl,--as-needed should be fixed now (r7077), and hopefully any other issues about linker argument order, thanks to idl0r . (But let me know if these changes break anything!) Quote Link to comment Share on other sites More sharing options...
Guest olelukoie Posted August 10, 2009 Report Share Posted August 10, 2009 Once again I see a lot of warnings in form ofsource/network/Network.cpp:372: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'size_t'orsource/network/NetSession.cpp:397: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'void*'orsource/network/SocketBase.cpp:205: warning: format '%lld' expects type 'long long int', but argument 4 has type 'uint64_t'Is it normal to have them? Some of them look possibly harmless (as %lld for uint32_t - just signes/unsigned mismatch) and others (like %x for 64-bit pointers) look dangerous.And also there are several warnings of typesource/lib/res/graphics/ogl_shader.cpp:157: warning: use of 'h' length modifier with 's' type characterthat look like mismatching format specifier and data typeor of typesource/gui/CGUI.cpp:1398: warning: too few arguments for formatthat look like mismatching the number of format specifiers and real arguments.PS I can not find how to create an attachment for my post. Is it supported? I could attach the full list of all warnings... Quote Link to comment Share on other sites More sharing options...
feneur Posted August 10, 2009 Report Share Posted August 10, 2009 We're wary of allowing uploading of files for natural reasons, but I've set the permissions for this forum to allow it so now you should be able to attach the files. Quote Link to comment Share on other sites More sharing options...
janwas Posted August 10, 2009 Report Share Posted August 10, 2009 (edited) Thanks for reporting these warnings!We already have a trac ticket for this particular issue, and will fix them when time permits -- or would be grateful for help in doing so Edited August 10, 2009 by janwas Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted August 10, 2009 Report Share Posted August 10, 2009 About the warnings: I agree some of them are serious, and all of them ought to be fixed - ideally we'd have zero warnings, but I added some GCC annotations recently to various functions that accept printf-style format strings, which caused all these warnings to appear. Quote Link to comment Share on other sites More sharing options...
skelas Posted August 10, 2009 Report Share Posted August 10, 2009 Hi,I haven't seen the following warnings posted elsewhere, so I will post them here.To reduce the amount of output, I cut out almost all lines without warning, but kept them in the order they appeared during compilation.FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:908: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:909: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:910: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:957: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp: In function ‘void FCDGeometryPolygonsTools::RevertUniqueIndices(const FCDGeometryPolygonsInput&, FCDGeometryPolygonsInput&, const FCDGeometryIndexTranslationMap&)’:FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:1031: warning: statement has no effectFCollada/FCDocument/FCDGeometrySource.cppFCollada/FUtils/FUDebug.cpp: In function ‘void DebugString(const fchar*)’:FCollada/FUtils/FUDebug.cpp:36: warning: format not a string literal and no format argumentsFCollada/FUtils/FUDebug.cpp: In static member function ‘static void FUDebug::DebugOutV(uint8, const char*, uint32, const char*, __va_list_tag (&)[1])’:FCollada/FUtils/FUDebug.cpp:73: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘uint32’FCollada/FUtils/FUDebug.cpp:73: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘uint32’In file included from FCollada/FUtils/FUSemaphore.cpp:10:FCollada/FUtils/FUSemaphore.h:36:2: warning: #warning "FUSemaphore: Semaphore not implemented for non Windows"In file included from FCollada/FUtils/FUThread.cpp:10:FCollada/FUtils/FUThread.h:30:2: warning: #warning "Threads not yet implemented for non Windows."FCollada/FCDocument/FCDGeometryPolygons.cpp: In member function ‘int32 FCDGeometryPolygons::TestPolyType() const’:FCollada/FCDocument/FCDGeometryPolygons.cpp:281: warning: statement has no effectFCollada/FCDocument/FCDGeometryPolygonsTools.cpp:908: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:909: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:910: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:957: warning: ignoring #pragma warning FCollada/FCDocument/FCDGeometryPolygonsTools.cpp: In function ‘void FCDGeometryPolygonsTools::RevertUniqueIndices(const FCDGeometryPolygonsInput&, FCDGeometryPolygonsInput&, const FCDGeometryIndexTranslationMap&)’:FCollada/FCDocument/FCDGeometryPolygonsTools.cpp:1031: warning: statement has no effectFCollada/FUtils/FUDebug.cpp: In static member function ‘static void FUDebug::DebugOutV(uint8, const char*, uint32, const char*, __va_list_tag (&)[1])’:FCollada/FUtils/FUDebug.cpp:73: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘uint32’FCollada/FUtils/FUDebug.cpp:73: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘uint32’FCollada/FUtils/FUError.cppFCollada/FUtils/FUErrorLog.cppFCollada/FUtils/FUFile.cppFCollada/FUtils/FUFileManager.cppFCollada/FUtils/FUFileManager.cpp: In constructor ‘FUFileManager::FUFileManager()’:FCollada/FUtils/FUFileManager.cpp:96: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_resultFCollada/FUtils/FUFileManager.cpp: In constructor ‘FUFileManager::FUFileManager()’:FCollada/FUtils/FUFileManager.cpp:96: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_resultFCollada/FUtils/FUFileManager.cpp: In constructor ‘FUFileManager::FUFileManager()’:FCollada/FUtils/FUFileManager.cpp:96: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_resultFCollada/FUtils/FULogFile.cppFCollada/FUtils/FUSemaphore.cppIn file included from FCollada/FUtils/FUSemaphore.cpp:10:FCollada/FUtils/FUSemaphore.h:36:2: warning: #warning "FUSemaphore: Semaphore not implemented for non Windows"FCollada/FUtils/FUStringBuilder.cppFCollada/FUtils/FUStringConversion.cppFCollada/FUtils/FUStringConversion.hpp: In static member function ‘static FMVector4 FUStringConversion::ToVector4(const CH**) [with CH = char]’:FCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::x’ may be used uninitialized in this functionFCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::y’ may be used uninitialized in this functionFCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::z’ may be used uninitialized in this functionFCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::w’ may be used uninitialized in this functionFCollada/FUtils/FUSynchronizableObject.cppFCollada/FUtils/FUThread.cppIn file included from FCollada/FUtils/FUThread.cpp:10:FCollada/FUtils/FUThread.h:30:2: warning: #warning "Threads not yet implemented for non Windows."Lua/ltable.c: In function ‘luaH_mainposition’:Lua/ltable.c:108: warning: cast from pointer to integer of different sizeLua/ltable.c:110: warning: cast from pointer to integer of different sizellex.cJSInterface_Camera.cppGameLoop.cpp../../../source/graphics/scripting/JSInterface_Camera.cpp: In function ‘JSBool JSI_Camera::construct(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/graphics/scripting/JSInterface_Camera.cpp:280: warning: comparison of unsigned expression >= 0 is always trueActorViewer.cpCImage.cpptrace.cpp../../../source/lib/file/common/trace.cpp: In constructor ‘TraceEntry::TraceEntry(const char*)’:../../../source/lib/file/common/trace.cpp:51: warning: format ‘%d’ expects type ‘int*’, but argument 6 has type ‘size_t*’real_directory.cppJSInterface_IGUIObject.cppvfs_tree.cpp../../../source/lib/file/vfs/vfs_tree.cpp: In member function ‘void VfsDirectory::DisplayR(size_t) const’:../../../source/lib/file/vfs/vfs_tree.cpp:173: warning: format not a string literal and no format arguments../../../source/lib/file/vfs/vfs_tree.cpp:183: warning: format not a string literal and no format argumentsvfs_lookup.cppogl_tex.cpp../../../source/scripting/ScriptGlue.cpp: In function ‘JSBool GetBuildTimestamp(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/scripting/ScriptGlue.cpp:1061: warning: comparison of unsigned expression >= 0 is always true../../../source/scripting/ScriptGlue.cpp: In function ‘JSBool RevealMap(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/scripting/ScriptGlue.cpp:1390: warning: comparison of unsigned expression >= 0 is always trueIn file included from /usr/include/wx-2.8/wx/dcgraph.h:17, from /usr/include/wx-2.8/wx/dc.h:881, from /usr/include/wx-2.8/wx/wx.h:48, from ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:/usr/include/wx-2.8/wx/geometry.h:91: warning: redundant redeclaration of ‘wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)’ in same scope/usr/include/wx-2.8/wx/geometry.h:90: warning: previous declaration of ‘wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)’/usr/include/wx-2.8/wx/geometry.h:93: warning: redundant redeclaration of ‘wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)’ in same scope/usr/include/wx-2.8/wx/geometry.h:92: warning: previous declaration of ‘wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)’/usr/include/wx-2.8/wx/geometry.h:96: warning: redundant redeclaration of ‘wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)’ in same scope/usr/include/wx-2.8/wx/geometry.h:95: warning: previous declaration of ‘wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)’snd_mgr.cppacpi.cppScriptCustomTypes.cppIn file included from /usr/include/wx-2.8/wx/dcgraph.h:17, from /usr/include/wx-2.8/wx/dc.h:881, from /usr/include/wx-2.8/wx/wx.h:48, from /usr/include/wx-2.8/wx/wxprec.h:68, from ../../../source/tools/atlas/wxJS/precompiled.h:25, from ../../../source/tools/atlas/wxJS/precompiled.cpp:1:/usr/include/wx-2.8/wx/geometry.h:91: warning: redundant redeclaration of ‘wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)’ in same scope/usr/include/wx-2.8/wx/geometry.h:90: warning: previous declaration of ‘wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)’/usr/include/wx-2.8/wx/geometry.h:93: warning: redundant redeclaration of ‘wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)’ in same scope/usr/include/wx-2.8/wx/geometry.h:92: warning: previous declaration of ‘wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)’/usr/include/wx-2.8/wx/geometry.h:96: warning: redundant redeclaration of ‘wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)’ in same scope/usr/include/wx-2.8/wx/geometry.h:95: warning: previous declaration of ‘wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)’os_cpu.cppScriptableComplex.cradioboxit.cppframe.cpp../../../source/tools/atlas/wxJS/gui/control/radioboxit.cpp: In static member function ‘static bool wxjs::gui::RadioBoxItem::GetProperty(wxjs::Index*, JSContext*, JSObject*, int, jsval*)’:../../../source/tools/atlas/wxJS/gui/control/radioboxit.cpp:68: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/gui/control/radioboxit.cpp:79: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/gui/control/radioboxit.cpp: In static member function ‘static bool wxjs::gui::RadioBoxItem::SetProperty(wxjs::Index*, JSContext*, JSObject*, int, jsval*)’:../../../source/tools/atlas/wxJS/gui/control/radioboxit.cpp:109: warning: comparison between signed and unsigned integer expressionstest_setup.cppitem.cpp../../../source/tools/atlas/wxJS/gui/control/item.cpp: In static member function ‘static bool wxjs::gui::ControlItem::GetProperty(wxjs::Index*, JSContext*, JSObject*, int, jsval*)’:../../../source/tools/atlas/wxJS/gui/control/item.cpp:84: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/gui/control/item.cpp: In static member function ‘static bool wxjs::gui::ControlItem::SetProperty(wxjs::Index*, JSContext*, JSObject*, int, jsval*)’:../../../source/tools/atlas/wxJS/gui/control/item.cpp:108: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/gui/control/item.cpp: In static member function ‘static JSBool wxjs::gui::ControlItem::remove(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/tools/atlas/wxJS/gui/control/item.cpp:145: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/gui/control/item.cpp: In static member function ‘static JSBool wxjs::gui::ControlItem::select(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/tools/atlas/wxJS/gui/control/item.cpp:172: warning: comparison between signed and unsigned integer expressionstest_CLogger.cppsplitwin.cppsizer.cppimghand.cpp../../../source/tools/atlas/wxJS/gui/misc/sizer.cpp: In static member function ‘static JSBool wxjs::gui::Sizer::remove(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/tools/atlas/wxJS/gui/misc/sizer.cpp:534: warning: ‘virtual bool wxSizer::Remove(wxWindow*)’ is deprecated (declared at /usr/include/wx-2.8/wx/sizer.h:513)size.cppimage.cpp../../../source/tools/atlas/wxJS/gui/misc/rect.cpp: In static member function ‘static JSBool wxjs::gui::Rect::inside(JSContext*, JSObject*, uintN, jsval*, jsval*)’:../../../source/tools/atlas/wxJS/gui/misc/rect.cpp:464: warning: ‘bool wxRect::Inside(int, int) const’ is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:490)../../../source/tools/atlas/wxJS/gui/misc/rect.cpp:477: warning: ‘bool wxRect::Inside(const wxPoint&) const’ is deprecated (declared at /usr/include/wx-2.8/wx/gdicmn.h:491)cshelp.cpptextline.cpp../../../source/tools/atlas/wxJS/io/textline.cpp: In static member function ‘static bool wxjs::io::TextLine::GetProperty(wxjs::Index*, JSContext*, JSObject*, int, jsval*)’:../../../source/tools/atlas/wxJS/io/textline.cpp:102: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/io/textline.cpp: In static member function ‘static bool wxjs::io::TextLine::SetProperty(wxjs::Index*, JSContext*, JSObject*, int, jsval*)’:../../../source/tools/atlas/wxJS/io/textline.cpp:134: warning: comparison between signed and unsigned integer expressions../../../source/tools/atlas/wxJS/io/textline.cpp: In static member function ‘static bool wxjs::io::TextLine::Enumerate(wxjs::Index*, JSContext*, JSObject*, JSIterateOp, jsval*, jsid*)’:../../../source/tools/atlas/wxJS/io/textline.cpp:186: warning: comparison between signed and unsigned integer expressionsprocess.cppprecompiled.cppIn file included from /usr/include/wx-2.8/wx/dcgraph.h:17, from /usr/include/wx-2.8/wx/dc.h:881, from /usr/include/wx-2.8/wx/wx.h:48, from /usr/include/wx-2.8/wx/wxprec.h:68, from ../../../source/tools/atlas/AtlasUI/Misc/precompiled.h:43, from ../../../source/tools/atlas/AtlasUI/Misc/precompiled.cpp:18:/usr/include/wx-2.8/wx/geometry.h:91: warning: redundant redeclaration of ‘wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)’ in same scope/usr/include/wx-2.8/wx/geometry.h:90: warning: previous declaration of ‘wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)’/usr/include/wx-2.8/wx/geometry.h:93: warning: redundant redeclaration of ‘wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)’ in same scope/usr/include/wx-2.8/wx/geometry.h:92: warning: previous declaration of ‘wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)’/usr/include/wx-2.8/wx/geometry.h:96: warning: redundant redeclaration of ‘wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)’ in same scope/usr/include/wx-2.8/wx/geometry.h:95: warning: previous declaration of ‘wxPoint2DInt operator/(const wxPoint2DInt&, wxInt32)’And finally, while starting the game, I get:TIMER| InitVfs: 95.0611 msTIMER| InitScripting: 67.533 msTIMER| CONFIG_Init: 48.7913 msTIMER| write_sys_info: 1.87321 msTIMER| ps_console: 106.299 msTIMER| ps_lang_hotkeys: 66.0935 msTIMER| ps_gui_init: 39.46 usTIMER| ps_gui_setup_xml: 56.4342 msTIMER| ps_gui_styles_xml: 4.30977 msTIMER| ps_gui_sprite1_xml: 114.967 msTIMER| ps_gui_1: 274.985 msTIMER| ps_gui_2: 251.644 msTIMER| ps_gui_3: 2.17814 msTIMER| ps_gui_4: 77.8521 msTIMER| ps_gui_6: 463.677 usTIMER| ps_gui_6_1: 4.16247 msTIMER| ps_gui_6_2: 10.5373 msTIMER| ps_gui_7: 4.46824 msTIMER| ps_gui_9: 9.71835 msCompile log for shader shaders/globallight.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Compile log for shader shaders/model_light.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Linker log for shaders/model_light.xml:Vertex shader(s) linked, no fragment shader(s) defined. Compile log for shader shaders/postouv1.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Compile log for shader shaders/model_lightp.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Linker log for shaders/model_lightp.xml:Vertex shader(s) linked, no fragment shader(s) defined. Compile log for shader shaders/instancing_base.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Compile log for shader shaders/instancing_light.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Linker log for shaders/instancing_light.xml:Vertex shader(s) linked, no fragment shader(s) defined. Compile log for shader shaders/instancing_lightp.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Linker log for shaders/instancing_lightp.xml:Vertex shader(s) linked, no fragment shader(s) defined. Compile log for shader shaders/instancing.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Linker log for shaders/instancing.xml:Vertex shader(s) linked, no fragment shader(s) defined. Compile log for shader shaders/instancingp.vs (type VERTEX_SHADER):Vertex shader was successfully compiled to run on hardware.Linker log for shaders/instancingp.xml:Vertex shader(s) linked, no fragment shader(s) defined. TIMER| InitRenderer: 279.176 msTIMER| SimulationInit: 71.8478 msTIMER| Init_miscgamesection: 194.916 msTIMER| Init_guiload: 293.311 msERROR: dlopen error: ./libCollada_dbg.so: cannot open shared object file: No such file or directoryERROR: Failed to load COLLADA conversion DLLERROR: Could not load mesh 'art/meshes/structural/settlement_1.dae'ERROR: CObjectEntry::BuildModel(): Model art/meshes/structural/settlement_1.dae failed to loadSegmentation faultpretty sad... But maybe this can be fixed somehow?I use Ubuntu 9.04 64-bit.p.s. Could anyone tell how to use 'svn up'? 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.