g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I/usr/lib/qt-3.3/include -o main.o main.cpp g++ -o qt main.o -L/usr/X11R6/lib -lXext -lX11 -lm main.o: In function `main':/home/argent/torrent/qt/main.cpp:22: undefined reference to `QApplication::QApplication(int&, char**)' :/home/argent/torrent/qt/main.cpp:24: undefined reference to `QString::QString(char const*)' :/home/argent/torrent/qt/main.cpp:24: undefined reference to `QPushButton::QPushButton(QString const&, QWidget*, char const*)' main.o: In function `~QString':/usr/lib/qt-3.3/include/qstring.h:847: undefined reference to `QString::shared_null' :/usr/lib/qt-3.3/include/qstring.h:848: undefined reference to `QStringData::deleteSelf()' main.o: In function `main':/home/argent/torrent/qt/main.cpp:25: undefined reference to `QPushButton::resize(int, int)' :/home/argent/torrent/qt/main.cpp:27: undefined reference to `QApplication::setMainWidget(QWidget*)' :/home/argent/torrent/qt/main.cpp:28: undefined reference to `QWidget::show()' :/home/argent/torrent/qt/main.cpp:29: undefined reference to `QApplication::exec()' :/home/argent/torrent/qt/main.cpp:29: undefined reference to `QPushButton::~QPushButton()' :/home/argent/torrent/qt/main.cpp:29: undefined reference to `QApplication::~QApplication()' main.o: In function `~QString':/usr/lib/qt-3.3/include/qstring.h:847: undefined reference to `QString::shared_null' :/usr/lib/qt-3.3/include/qstring.h:848: undefined reference to `QStringData::deleteSelf()' main.o: In function `main':/home/argent/torrent/qt/main.cpp:29: undefined reference to `QApplication::~QApplication()' :/home/argent/torrent/qt/main.cpp:29: undefined reference to `QPushButton::~QPushButton()' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0xc): undefined reference to `QGList::clear()' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0x10): undefined reference to `QGList::~QGList()' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0x14): undefined reference to `QGList::~QGList()' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0x18): undefined reference to `QPtrCollection::newItem(void*)' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0x20): undefined reference to `QGList::compareItems(void*, void*)' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0x24): undefined reference to `QGList::read(QDataStream&, void*&)' main.o:(.rodata._ZTV6QGList[vtable for QGList]+0x28): undefined reference to `QGList::write(QDataStream&, void*) const' main.o:(.rodata._ZTI6QGList[typeinfo for QGList]+0x8): undefined reference to `typeinfo for QPtrCollection' collect2: ld returned 1 exit status make: *** [qt] Error 1