sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #50542
Re: qt3 + ld -lqt
ldconfig er lidt tidligt at køre - det er loaderen. Dit problem ligger
vist med linkeret.
>
> jeg har gcc v. 3.0.4 og i bunden af config.log står der:
>
> configure:9454: checking for Qt
> configure: 9516: /usr/lib/qt3/include/qstyle.h
> taking that
> tried NO
>
> *klip*
Kan vi få linierne over nedenstående?
Det ka' du da nok lige tro du nok lige ka' få! :D
*cut!*
configure:9214: checking for libjpeg
configure:9257: gcc -o conftest -O2 -I/usr/X11R6/include -D_REENTRANT
conftest.c -L/usr/X11R6/lib -ljpeg -lm >&5
configure:9260: $? = 0
configure:9263: test -s conftest
configure:9266: $? = 0
configure:9282: result: -ljpeg
configure: 9301: /usr/include/jpeglib.h
taking that
configure:9454: checking for Qt
configure: 9516: /usr/lib/qt3/include/qstyle.h
taking that
tried NO
configure:9621: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
-fno-check-new -I/usr/lib/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib
conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE
-lresolv -lpthread 1>&5
/tmp/ccH9iMRC.o: In function `main':
/tmp/ccH9iMRC.o(.text+0x11): undefined reference to `QString::null'
/tmp/ccH9iMRC.o(.text+0x16): undefined reference to
`QStyleFactory::create(QString const&)'
/tmp/ccH9iMRC.o(.text+0x20): undefined reference to `QCursor::QCursor(int)'
/tmp/ccH9iMRC.o(.text+0x28): undefined reference to `QCursor::~QCursor()'
collect2: ld returned 1 exit status
configure:9624: $? = 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:9663: 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!
> ld -lqt (eller -lqt-mt) giver ld: cannot find -lqt
Formentlig fordi der skal være en -L/usr/lib/qt3 et eller andet sted.
okaaay, hvor?
Send lige lidt mere af config.log
Mads
--
Mads Bondo Dydensborg. madsdyd@xxxxxxxxxxxx
The Microsoft Dictionary
security: Asks for a password. Example: Windows 95 has a high
level of security because it asks for a password.
Med venlig hilsen
Claus Andersen
umount /dev/vodka && eject /dev/stomach
-Mplayer crew
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Follow ups