[LUGOS] libqt-mt problem

Kostko kostko at jweb-network.net
Thu Nov 21 20:06:57 CET 2002


Bostjan Muller wrote:

>Kaj pa pise na koncu datoteke config.log v tem direktoriju?
>
configure:21777: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions 
-fno-check-new -I/usr/local/qt/include -I/usr/X11R6/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib -L/usr/X11R6/lib   
conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  
-lpthread 1>&5
/tmp/ccNbX8Ii.o: In function `main':
/tmp/ccNbX8Ii.o(.text+0x12): undefined reference to `QString::null'
/tmp/ccNbX8Ii.o(.text+0x17): undefined reference to 
`QStyleFactory::create(QString const&)'
/tmp/ccNbX8Ii.o(.text+0x27): undefined reference to 
`QCursor::QCursor[in-charge](int)'
/tmp/ccNbX8Ii.o(.text+0x2f): undefined reference to `QCursor::~QCursor 
[in-charge]()'
collect2: ld returned 1 exit status
configure:21780: $? = 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 >= 303)
#error 1
#endif

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

tole misliš ?




More information about the lugos-list mailing list