On Fri, 17 May 2013 16:44:18 +0800 (CST) zhangxinghai wrote:
z> I download i686-w64-mingw32-gcc-4.8.0-win32_rubenvb.7z from
z>
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/,unpack
...
z> gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent[__ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent]+0xfe1dc0318d74f364): Cannot get section contents - auto-import exception
z> gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN11wxTextEntry23DoAutoCompleteFileNamesEi+0x3cbfb505472509dc): Cannot get section contents - auto-import exception
z> d:/mingw32win32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: gcc_mswudll\coredll_textentry.o: bad reloc address 0x2 in section `.text$_ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv[__ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv]'
z> collect2.exe: error: ld returned 1 exit status
z> mingw32-make: *** [..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll] Error 1
z>
z> What's wrong
Sorry, no idea, I've never seen this error before. I'd recommend asking
MinGW-W64 people, perhaps they know where does this auto-import exception
come from. FWIW wxWidgets does build successfully with earlier versions of
the same compiler.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/