On Tue, 2004-03-23 at 05:57, Brian Nelson wrote:
> Simon Cahuk <[EMAIL PROTECTED]> writes:
> 
> > config.log:
> >
> > tmp/cc6m0aWH.o(.text+0xb): In function `main':
> > : undefined reference to `QString::null'
> [...]
> 
> Uh, you left out the important part of the log--the command used to
> attempt to compile the test program.
> 
> -- 
> You win again, gravity!
> 


Oops, here is the whole log (for QT):

configure:24369: checking for Qt
configure: 24437: /usr/share/qt3/include/qstyle.h
taking that
configure:24546: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -O2 -fno-exceptions -fno-check-new
-fno-common -I/usr/share/qt3/include -I/usr/X11R6/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/share/qt3/lib
-L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl 
-lXext -lX11 -lSM -lICE  -lpthread 1>&5
/tmp/cc1QWd1d.o(.text+0xb): In function `main':
: undefined reference to `QString::null'
/tmp/cc1QWd1d.o(.text+0x10): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/cc1QWd1d.o(.text+0x1e): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/cc1QWd1d.o(.text+0x29): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
/tmp/cc1QWd1d.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x21): In function 
`QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/cc1QWd1d.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2a): In function 
`QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/cc1QWd1d.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x27):
In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/cc1QWd1d.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x32):
In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/cc1QWd1d.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x5f):
In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/cc1QWd1d.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x6a):
In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/cc1QWd1d.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>,
 QString const &)+0x27): In function 
`QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const &)':
: undefined reference to `QString::QString(QString const &)'
/tmp/cc1QWd1d.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString>
 const &)+0x21): In function 
`QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::shared_null'
/tmp/cc1QWd1d.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString>
 const &)+0x2a): In function 
`QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::makeSharedNull(void)'
collect2: ld returned 1 exit status
configure:24549: $? = 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 >= 0x030100)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:24589: error: Qt (>= Qt 3.1 (20021021)) (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!

Simon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to