LINUX.ORG.RU

qt gcc-3.3 link problem


0

0

Hello!

При сборке любой qt-ной программы не проходит линковка. Проблема есть только с g++3.3 со штатным 2.95 - все ок. Что делать? dist: Debian 3.0, -------------------- g++-3.3 -o application application.o main.o moc_application.o -L/usr/share/qt/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm application.o(.text+0x1d): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QMainWindow::QMainWindow[not-in-charge](QWidget*, char const*, unsigned)' application.o(.text+0x22): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::shared_null' application.o(.text+0x3b): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::makeSharedNull()' application.o(.text+0x59): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPrinter::QPrinter[in-charge](QPrinter::PrinterMode)' application.o(.text+0x67): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPixmap::QPixmap[in-charge]()' application.o(.text+0x72): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPixmap::QPixmap[in-charge]()' application.o(.text+0x7d): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPixmap::QPixmap[in-charge]()' application.o(.text+0x9a): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QToolBar::QToolBar[in-charge](QMainWindow*, char const*)' application.o(.text+0xad): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::QString[in-charge](char const*)' application.o(.text+0xd1): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::shared_null' application.o(.text+0xe5): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::shared_null' ---------

anonymous

а символы для которых печатается "undefined reference to..." есть в libqt.so? может просто несовместимость по замангленым именам? если так, то перекомпилячь кутю трерьей гццой и линкуй с ней...

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.