Hi
I download i686-w64-mingw32-gcc-4.8.0-win32_rubenvb.7z from 
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/,unpack
 it to a directory.
I also download wxwidgets2.9.4 from 
https://sourceforge.net/projects/wxwindows/files/2.9.4/wxWidgets-2.9.4.7z,unpack
 it to a directory
My OS:Microsoft Windows XP Professional (32-bit) version 5.01.2600 Service Pack 
3


I cd the wx\build\msw directory and invoke command 
mingw32-make -f makefile.gcc -j4 LDFLAGS="-Wl,--gc-sections,--strip-all" 
BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 CXXFLAGS="-m32 -pipe 
-fno-keep-inline-dllexport   -Os  -ffunction-sections -fdata-sections 
-fvisibility=hidden -fvisibility-inlines-hidden -Wno-attributes -DNDEBUG" 
USE_EXCEPTION=0 USE_RTTI=0  1>1.txt 2>2.txt


The command returns error when it comes to 
g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll ....


I check the 2.txt and find it returns error as following


gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent[__ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent]+0xfe1dc0318d74f364):
 Cannot get section contents - auto-import exception
gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN11wxTextEntry23DoAutoCompleteFileNamesEi+0x3cbfb505472509dc):
 Cannot get section contents - auto-import exception
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]'
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll] Error 1


What's wrong
Thanks








------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to