I'm trying to install 0.9.10 on a Debian (PPC) system. It's a mixed
stable/unstable system; I have installed gcc3.3.
configure failed even though I have libqt3-mt-dev. Can someone tell me what
I'm doing wrong? Here's an excerpt from my config.log
--Bill Carini
-----------------------------------------------------------------
configure:13334: checking for Qt
configure: 13402: /usr/include/qt3/qstyle.h
taking that
configure:13511: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
-fno-check-new -I/usr/include/qt3 -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -L/usr/lib/qt3 -L/usr/X11R6/lib conftest.cc -lnsl -lqt-mt
-lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/tmp/ccuQur3e.o(.text+0xe): In function `main':
: undefined reference to `QString::null'
/tmp/ccuQur3e.o(.text+0x12): In function `main':
: undefined reference to `QString::null'
/tmp/ccuQur3e.o(.text+0x14): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/ccuQur3e.o(.text+0x14): In function `main':
: relocation truncated to fit: R_PPC_REL24 QStyleFactory::create(QString const
&)
/tmp/ccuQur3e.o(.text+0x20): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/ccuQur3e.o(.text+0x20): In function `main':
: relocation truncated to fit: R_PPC_REL24 QCursor::QCursor(int)
/tmp/ccuQur3e.o(.text+0x2c): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
/tmp/ccuQur3e.o(.text+0x2c): In function `main':
: relocation truncated to fit: R_PPC_REL24 QCursor::~QCursor(void)
/tmp/ccuQur3e.o(.sdata+0x4): undefined reference to `QTextStream::width(int)'
/tmp/ccuQur3e.o(.sdata+0xc): undefined reference to `QTextStream::fill(int)'
/tmp/ccuQur3e.o(.sdata+0x14): undefined reference to
`QTextStream::precision(int)'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2e): In
function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x32): In
function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x3c): In
function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x3c): In
function `QValueListPrivate<QString>::QValueListPrivate(void)':
: relocation truncated to fit: R_PPC_REL24 QString::makeSharedNull(void)
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x3a): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x66): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x70): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x70): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: relocation truncated to fit: R_PPC_REL24 QStringData::deleteSelf(void)
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xb2): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xb6): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xc4): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccuQur3e.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xc4): In
function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: relocation truncated to fit: R_PPC_REL24 QStringData::deleteSelf(void)
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>,
QString const &)+0x4c): In function
`QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const
&)':
: undefined reference to `QString::QString(QString const &)'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>,
QString const &)+0x4c): In function
`QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const
&)':
: relocation truncated to fit: R_PPC_REL24 QString::QString(QString const &)
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString>
const &)+0x36): In function
`QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const
&)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString>
const &)+0x3a): In function
`QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const
&)':
: undefined reference to `QString::shared_null'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString>
const &)+0x44): In function
`QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const
&)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/ccuQur3e.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString>
const &)+0x44): In function
`QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const
&)':
: relocation truncated to fit: R_PPC_REL24 QString::makeSharedNull(void)
collect2: ld returned 1 exit status
configure:13514: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 302)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:13554: error: Qt (>= Qt 3.0.2) (library qt-mt) not found. Please
check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!