-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
4.6.1
-
None
-
Windows XP, Eclipse IDE for C/C++ Developers, Build id: 20090920-1017 with QT4.6.1 (QT Eclipse Integration 1.6.1), using MinGW
Note: Same Project (WeldingKit) was compiled without problems in the same eclipse-version and QT4.5.0-1.
After changing QT to version 4.6.0 or 4.6.1 there occur the following compile errors
(Problems):
Description Resource Location Type
Errors (6 items)
make: *** [debug] Error 2 WeldingKit27 line 0 C/C++ Problem
make[1]: *** [debug\
WeldingKit27\.exe] Error 1 WeldingKit27 line 0 C/C++ Problem
undefined reference to
`_Unwind_Resume' WeldingKit27 Line 135, external location: C:\iwmake\build_mingw_opensource\src\winmain\qtmain_win.cpp C/C++ Problem
undefined reference to
`_Unwind_Resume' WeldingKit27 line 482, external location: c:\DEV\Qt\4.6.1\lib\libqtmaind.a(qtmain_win.o):C:\iwmake\
build_mingw_opensource\src\corelib\tools\qvector.h C/C++ Problem
undefined reference to
`_Unwind_Resume' WeldingKit27 line 483, external location: c:\DEV\Qt\4.6.1\lib\libqtmaind.a(qtmain_win.o):C:\iwmake\
build_mingw_opensource\src\corelib\tools\qvector.h C/C++ Problem
undefined reference to
`_Unwind_Resume' WeldingKit27 line 93, external location: C:\iwmake\build_mingw_opensource\src\winmain\qtmain_win.cpp C/C++ Problem
Remark:
The Path C:\iwmake\build_mingw_opensource\... does not exist. The file qtmain_win.cpp will be found in
C:\DEV\Qt\4.6.1\src\winmain\
Code line 93:
QByteArray cmdParam = QString::fromWCharArray(GetCommandLine()).toLocal8Bit();
Code line 135:
return result;
The file qvector.h will be found in
c:\DEV\Qt\4.6.1\src\corelib\tools\
Code line 482/483:
x.d->size = d->size;
} QT_CATCH (const std::bad_alloc &) {
Console-output:
.....
C:\DEV\Qt\4.6.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -D_GNUC_ -DWIN32 src\ui\SingleTransformMagnifier.h -o debug\moc_SingleTransformMagnifier.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -o debug\moc_SingleTransformMagnifier.o debug\moc_SingleTransformMagnifier.cpp
C:\DEV\Qt\4.6.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -D_GNUC_ -DWIN32 src\ui\WaveletBands.h -o debug\moc_WaveletBands.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -o debug\moc_WaveletBands.o debug\moc_WaveletBands.cpp
C:\DEV\Qt\4.6.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -D_GNUC_ -DWIN32 src\ui\WaveletBandsMagnifier.h -o debug\moc_WaveletBandsMagnifier.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -o debug\moc_WaveletBandsMagnifier.o debug\moc_WaveletBandsMagnifier.cpp
C:\DEV\Qt\4.6.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -D_GNUC_ -DWIN32 src\ui\WaveletImage.h -o debug\moc_WaveletImage.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -o debug\moc_WaveletImage.o debug\moc_WaveletImage.cpp
c:\DEV\Qt\4.6.1\bin\rcc.exe -name app app.qrc -o debug\qrc_app.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\DEV\Qt\4.6.1\include\QtCore" -I"c:\DEV\Qt\4.6.1\include\QtGui" -I"c:\DEV\Qt\4.6.1\include" -I"c:\DEV\Qt\4.6.1\include\ActiveQt" -I"debug" -I"c:\DEV\Qt\4.6.1\mkspecs\default" -o debug\qrc_app.o debug\qrc_app.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\WeldingKit27.exe object_script.WeldingKit27.Debug -L"c:\DEV\Qt\4.6.1\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
c:\DEV\Qt\4.6.1\lib/libqtmaind.a(qtmain_win.o): In function `WinMain@16':
C:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:93: undefined reference to `_Unwind_Resume'
C:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:135: undefined reference to `_Unwind_Resume'
mingw32-make[1]: Leaving directory `D:/DEV/eclipse/workspace_1/WeldingKit27'
c:\DEV\Qt\4.6.1\lib/libqtmaind.a(qtmain_win.o):C:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:482: undefined reference to `_Unwind_Resume'
c:\DEV\Qt\4.6.1\lib/libqtmaind.a(qtmain_win.o):C:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:483: undefined reference to `_Unwind_Resume'
c:\DEV\Qt\4.6.1\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\WeldingKit27.exe] Error 1
mingw32-make: *** [debug] Error 2