This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
problem compiling Qt
- To: gcc at gcc dot gnu dot org
- Subject: problem compiling Qt
- From: Christian Iseli <chris at ludwig-alpha dot unil dot ch>
- Date: Wed, 10 Jan 2001 15:28:55 +0100
Hi folks,
Anybody managed to compile Qt (tried 2.2.2) on Linux using the current GCC ?
Seems I hit a problem at link time:
g++ -L/usr/src/redhat/BUILD/qt-2.2.2/lib
-Wl,-rpath,/usr/src/redhat/BUILD/qt-2.2.2/lib -lpthread
-o ./guithreads main.o -lqt-mt -L/usr/X11R6/lib
-I/usr/X11R6/include -lSM -lICE -L/usr/X11R6/lib
-lGLU -lGL -lXmu -lpng -lz -ljpeg -lmng -ljpeg -lXext -lX11 -lm
/usr/bin/ld: warning: type and size of dynamic symbol `__gmon_start__'
are not defined
/usr/src/redhat/BUILD/qt-2.2.2/lib/libqt-mt.a(qdnd_x11.o)(.rodata+0x630):
undefined reference to `non-virtual thunk to QWidget::metric(int) const'
/usr/src/redhat/BUILD/qt-2.2.2/lib/libqt-mt.a(moc_qdragobject.o)(.rodata+0x1c0):
undefined reference to `non-virtual thunk to QStoredDrag::format(int) const'
/usr/src/redhat/BUILD/qt-2.2.2/lib/libqt-mt.a(moc_qdragobject.o)(.rodata+0x1d0):
undefined reference to `non-virtual thunk to QStoredDrag::encodedData(char const*) const'
/usr/src/redhat/BUILD/qt-2.2.2/lib/libqt-mt.a(moc_qdragobject.o)(.rodata+0x2b0):
undefined reference to `non-virtual thunk to QUriDrag::~QUriDrag()'
/usr/src/redhat/BUILD/qt-2.2.2/lib/libqt-mt.a(moc_qdragobject.o)(.rodata+0x2b8):
undefined reference to `non-virtual thunk to QUriDrag::~QUriDrag()'
...
(goes on like this for a while...)
Is there some option I should pass to g++ ?
Is this a Qt bug ?
Any hint appreciated...
Thanks,
Christian