All pastes #175018 Raw Edit

Someone

public cpp v1 · immutable
·published 2006-09-18 12:52 UTC
rendered paste body
g++ -c -pipe -O2 -Wall -W -D_REENTRANT  -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o fix.o fix.cppfix.cpp:458:2: warning: no newline at end of fileg++  -o fix fix.o    -L/usr/lib64/qt4 -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthreadfix.o: In function `MainWindow::newFile()':fix.cpp:(.text+0xb2): undefined reference to `MainWindow::staticMetaObject'fix.o: In function `MainWindow::open()':fix.cpp:(.text+0x152): undefined reference to `MainWindow::staticMetaObject'fix.o: In function `MainWindow::save()':fix.cpp:(.text+0x1f2): undefined reference to `MainWindow::staticMetaObject'fix.o: In function `MainWindow::print()':fix.cpp:(.text+0x292): undefined reference to `MainWindow::staticMetaObject'fix.o: In function `MainWindow::undo()':fix.cpp:(.text+0x332): undefined reference to `MainWindow::staticMetaObject'fix.o:fix.cpp:(.text+0x3d2): more undefined references to `MainWindow::staticMetaObject' followfix.o: In function `MainWindow::MainWindow()':fix.cpp:(.text+0x2900): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2908): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2975): undefined reference to `MainWindow::staticMetaObject'fix.cpp:(.text+0x2ab9): undefined reference to `MainWindow::staticMetaObject'fix.cpp:(.text+0x2afb): undefined reference to `MainWindow::staticMetaObject'fix.o: In function `MainWindow::MainWindow()':fix.cpp:(.text+0x2c30): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2c38): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2ca5): undefined reference to `MainWindow::staticMetaObject'fix.cpp:(.text+0x2de9): undefined reference to `MainWindow::staticMetaObject'fix.cpp:(.text+0x2e2b): undefined reference to `MainWindow::staticMetaObject'fix.o: In function `main':fix.cpp:(.text+0x2f7b): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2f84): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2fcb): undefined reference to `vtable for MainWindow'fix.cpp:(.text+0x2fd4): undefined reference to `vtable for MainWindow'collect2: ld returned 1 exit statusmake: *** [fix] Error 1