Jump to content

IA32? I thought I was x86_64?


Recommended Posts

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).

Link to comment
Share on other sites

  • Replies 64
  • Created
  • Last Reply

Top Posters In This Topic

Guest olelukoie

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.8

Also 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.8

As 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...

Link to comment
Share on other sites

(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?

Link to comment
Share on other sites

Guest olelukoie
OpenAL error: Invalid Operation; called from al_buf_free

hm, 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:767
No 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:635
No locals.
#14 0x00000000008a6200 in snd_shutdown () at ../../../source/lib/res/sound/snd_mgr.cpp:2016
No 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:414
No 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.

Link to comment
Share on other sites

Guest olelukoie

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 true

and 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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!)
Link to comment
Share on other sites

Guest olelukoie

Once again I see a lot of warnings in form of

source/network/Network.cpp:372: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'size_t'

or

source/network/NetSession.cpp:397: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'void*'

or

source/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 type

source/lib/res/graphics/ogl_shader.cpp:157: warning: use of 'h' length modifier with 's' type character

that look like mismatching format specifier and data type

or of type

source/gui/CGUI.cpp:1398: warning: too few arguments for format

that 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...

Link to comment
Share on other sites

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 effect
FCollada/FCDocument/FCDGeometrySource.cpp

FCollada/FUtils/FUDebug.cpp: In function ‘void DebugString(const fchar*)’:
FCollada/FUtils/FUDebug.cpp:36: warning: format not a string literal and no format arguments
FCollada/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 effect

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 effect

FCollada/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.cpp
FCollada/FUtils/FUErrorLog.cpp
FCollada/FUtils/FUFile.cpp
FCollada/FUtils/FUFileManager.cpp
FCollada/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_result
FCollada/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_result
FCollada/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_result
FCollada/FUtils/FULogFile.cpp

FCollada/FUtils/FUSemaphore.cpp
In 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.cpp
FCollada/FUtils/FUStringConversion.cpp
FCollada/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 function
FCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::y’ may be used uninitialized in this function
FCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::z’ may be used uninitialized in this function
FCollada/FUtils/FUStringConversion.hpp:242: warning: ‘p.FMVector4::w’ may be used uninitialized in this function
FCollada/FUtils/FUSynchronizableObject.cpp
FCollada/FUtils/FUThread.cpp
In 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 size
Lua/ltable.c:110: warning: cast from pointer to integer of different size
llex.c

JSInterface_Camera.cpp
GameLoop.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 true
ActorViewer.cp

CImage.cpp
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*’
real_directory.cpp

JSInterface_IGUIObject.cpp
vfs_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 arguments
vfs_lookup.cpp

ogl_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 true
In 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.cpp

acpi.cpp
ScriptCustomTypes.cpp
In 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.cpp
ScriptableComplex.c


radioboxit.cpp
frame.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 expressions
test_setup.cpp

item.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 expressions
test_CLogger.cpp
splitwin.cpp

sizer.cpp
imghand.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.cpp

image.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.cpp

textline.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 expressions
process.cpp



precompiled.cpp
In 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 ms
TIMER| InitScripting: 67.533 ms
TIMER| CONFIG_Init: 48.7913 ms
TIMER| write_sys_info: 1.87321 ms
TIMER| ps_console: 106.299 ms
TIMER| ps_lang_hotkeys: 66.0935 ms
TIMER| ps_gui_init: 39.46 us
TIMER| ps_gui_setup_xml: 56.4342 ms
TIMER| ps_gui_styles_xml: 4.30977 ms
TIMER| ps_gui_sprite1_xml: 114.967 ms
TIMER| ps_gui_1: 274.985 ms
TIMER| ps_gui_2: 251.644 ms
TIMER| ps_gui_3: 2.17814 ms
TIMER| ps_gui_4: 77.8521 ms
TIMER| ps_gui_6: 463.677 us
TIMER| ps_gui_6_1: 4.16247 ms
TIMER| ps_gui_6_2: 10.5373 ms
TIMER| ps_gui_7: 4.46824 ms
TIMER| ps_gui_9: 9.71835 ms
Compile 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 ms
TIMER| SimulationInit: 71.8478 ms
TIMER| Init_miscgamesection: 194.916 ms
TIMER| Init_guiload: 293.311 ms
ERROR: dlopen error: ./libCollada_dbg.so: cannot open shared object file: No such file or directory
ERROR: Failed to load COLLADA conversion DLL
ERROR: Could not load mesh 'art/meshes/structural/settlement_1.dae'
ERROR: CObjectEntry::BuildModel(): Model art/meshes/structural/settlement_1.dae failed to load
Segmentation fault

pretty 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'?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...