This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-20010205 fails to compile qt-2.2.3
- To: gcc at gcc dot gnu dot org
- Subject: gcc-20010205 fails to compile qt-2.2.3
- From: Matthias Welwarsky <matze at stud dot fbi dot fh-darmstadt dot de>
- Date: Fri, 09 Mar 2001 09:24:21 +0100
Hi all,
I'm trying to compile KDE2.1 with gcc-20010205, but I cannot get it to
compile Qt. Well, not exactly: The library is compiled indeed but I when
I try to link against it I get tons of undefined references like the
following:
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QButtonGroup::~QButtonGroup()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QHButtonGroup::~QHButtonGroup()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QWidgetStack::~QWidgetStack()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QVButtonGroup::~QVButtonGroup()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QBoxLayout::~QBoxLayout()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QPushButton::~QPushButton()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QSocket::at() const'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QTextView::~QTextView()'
/usr/lib/qt2-gcc3/lib/libqt.so: undefined reference to `non-virtual
thunk to QMainWindow::~QMainWindow()'
My machine is an Alpha PC164, base system is Red Hat 6.2, all updates
installed. I'm using the latest binutils snapshot (downloaded
yesterday). binutils and compiler from the distribution have been
deinstalled.
This is the output of "g++ -v":
[matze@alpha500 qt2-gcc3]$ g++ -v
Reading specs from /usr/local/lib/gcc-lib/alpha-redhat-linux/2.97/specs
Configured with: ../gcc-20010205/configure --enable-shared
--enable-languages=c,c++ --enable-threads alpha-redhat-linux
gcc version 2.97 20010205 (experimental)
I'm stuck here, I need an advice.
Please Cc your reply to me, as I'm currently not subscribed to the list.
best regards,
Matthias