PDA

View Full Version : error release compile, debug is fine, "_Unwind_Resume"



qt_gotcha
21st February 2010, 19:09
Setup: a freshly installed qt 4.6.1, eclipse, mingw on win 7. After install I ran configure.

the app is a gui widget with a button and labels, a threaded class that is run when the button is pushed, rersults are shown with the labels.
Debug compile works fine. When I want to compile the release I get:


c:\Qt\4.6.1\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text+0x 1c2): undefined reference to `_Unwind_Resume'
mingw32-make[1]: Leaving directory `D:/prgc/erosmod4'
c:\Qt\4.6.1\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text$_Z N7QVectorIPcE7reallocEii[QVector<char*>::realloc(int, int)]+0x187): undefined reference to `_Unwind_Resume'
c:\Qt\4.6.1\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.eh_fram e+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\erosmod4.exe] Error 1
mingw32-make: *** [release] Error 2

any advice?