g++ -c -g -pg -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.4\include\QtCore" -I"..\..\..\..\Qt\4.3.4\include\QtCore" -I"..\..\..\..\Qt\4.3.4\include\QtGui" -I"..\..\..\..\Qt\4.3.4\include\QtGui" -I"..\..\..\..\Qt\4.3.4\include\QtXml" -I"..\..\..\..\Qt\4.3.4\include\QtXml" -I"..\..\..\..\Qt\4.3.4\include" -I"." -I"..\..\..\..\Qt\4.3.4\include\ActiveQt" -I"debug" -I"Report" -I"..\..\..\..\Qt\4.3.4\mkspecs\win32-g++" -o debug\moc_uoSpanTree.o debug\moc_uoSpanTree.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\uoReport.exe object_script.uoReport.Debug -L"d:\Progekts\Qt\4.3.4\lib" -lmingw32 -lqtmaind -lQtXmld4 -lQtGuid4 -lQtCored4 -LC:\PostgreSQL82\lib
./debug\main.o(.text+0xc): In function `ZSt3minIjERKT_S2_S2_':
D:/Progekts/_Linux/unNStudio/Report/Src/Report/uoReportView.h: undefined reference to `mcount'
./debug\main.o(.text+0x11c): In function `Z5qMainiPPc':
D:/Progekts/_Linux/unNStudio/Report/Src/main.cpp:22: undefined reference to `mcount'
./debug\main.o(.text$_ZN7QWidget8setFocusEv[QWidget::setFocus()]+0xc): In function `ZSt3minIjERKT_S2_S2_':
D:/Progekts/_Linux/unNStudio/Report/Src/Report/uoReportView.h: undefined reference to `mcount'
./debug\main.o(.text$_ZN7QWidget6resizeEii[QWidget::resize(int, int)]+0xc):D:/Progekts/_Linux/unNStudio/Report/Src/Report/uoReportView.h: undefined reference to `mcount'
./debug\main.o(.text$_ZN5QSizeC1Eii[QSize::QSize(int, int)]+0x9):D:/Progekts/_Linux/unNStudio/Report/Src/Report/uoReportView.h: undefined reference to `mcount'
./debug\main.o(.text$_ZN7QWidget4showEv[QWidget::show()]+0xc):D:/Progekts/_Linux/unNStudio/Report/Src/Report/uoReportView.h: more undefined references to `mcount' follow
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [debug\uoReport.exe] Error 1
mingw32-make.exe: *** [Debug] Error 2
mingw32-make.exe[1]: Leaving directory `D:/Progekts/_Linux/unNStudio/Report/Src'
Process terminated with status 2 (0 minutes, 48 seconds)
5 errors, 2 warnings
Может кто чего присоветовать?
Добавил в *.pro - опцию:
QMAKE_CXXFLAGS_DEBUG += -pg
ну и вот таких блинов наловил...
Сообщение отредактировал Litkevich Yuriy - 24.1.2009, 22:55