David,
However it fails there: ../../thotlib/base/AmayaAppInstance.cpp -o base/AmayaAppInstance.o../../thotlib/include/thot_sys.h:257: error: conflicting declaration 'typedef long int __intptr_t' /usr/include/machine/int_types.h:65: error: '__intptr_t' has a previous declaration as 'typedef int __intptr_t'It worked on my machine... maybe because I was doing it on amd64. Or on -current. Can you investigate further? (And what are you building on?)
Yes, I've build it correctly on amd64. It works fine, but crashes the same way on wxSscanf:
Program terminated with signal 10, Bus error. #0 0x00007f7ff9370fc8 in __fgetwc_unlock () from /usr/lib/libc.so.12 (gdb) bt #0 0x00007f7ff9370fc8 in __fgetwc_unlock () from /usr/lib/libc.so.12 #1 0x00007f7ff936b590 in __vfwscanf_unlocked () from /usr/lib/libc.so.12 #2 0x00007f7ff936b0e8 in vswscanf () from /usr/lib/libc.so.12 #3 0x00000000008ca737 in wxSscanf () #4 0x00000000006d6e32 in wxXmlResource::UpdateResources () #5 0x00000000006db97a in wxXmlResource::Load () #6 0x00000000005d5d65 in AmayaApp::OnInit () #7 0x00000000005d749d in wxAppConsole::CallOnInit () #8 0x000000000089964a in wxEntry () #9 0x00000000005d5292 in main () Vincent