qt - headers and libraries not found

Michael Schwendt ms-nospam-0306 at arcor.de
Fri Nov 28 14:18:15 UTC 2003


On Fri, 28 Nov 2003 09:02:37 +0100, Gerhard Seidler wrote:

> Hab mir das config.log file durchgesehen, werde aber nicht schlau
> daraus. 

Das Linken des Qt 2.x Testprograms schlägt fehl.
Neucompilierung des qt2 src.rpm und Installation der erzeugten
binary rpms bliebe noch als Versuch.

> configure:4501: checking for Qt
> configure:4648: g++ -o conftest -O2 -fno-exceptions -fno-rtti
> -fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include 
> -L/usr/lib/qt2/lib -L/usr/X11R6/lib  conftest.C  -lqt -lpng -lz -lm 
> -lXext -lX11  1>&5
> /tmp/ccD0Q8Hi.o(.text+0x3e): In function `main':
> : undefined reference to `QString::shared_null'
> /tmp/ccD0Q8Hi.o(.text+0x71): In function `main':
> : undefined reference to `QIconView::QIconView[in-charge](QWidget*, char
> const*, unsigned)'
> /tmp/ccD0Q8Hi.o(.text+0x7b): In function `main':
> : undefined reference to `QIconView::setWordWrapIconText(bool)'
> /tmp/ccD0Q8Hi.o(.text+0x80): In function `main':
> : undefined reference to `QString::shared_null'
> /tmp/ccD0Q8Hi.o(.text+0xa3): In function `main':
> : undefined reference to `QString::setLatin1(char const*, int)'
> /tmp/ccD0Q8Hi.o(.text+0xb8): In function `main':
> : undefined reference to `QString::shared_null'
> /tmp/ccD0Q8Hi.o(.text+0xcc): In function `main':
> : undefined reference to `QString::shared_null'
> /tmp/ccD0Q8Hi.o(.text+0xd1): In function `main':
> : undefined reference to `QStringData::deleteSelf()'
> /tmp/ccD0Q8Hi.o(.text+0xdd): In function `main':
> : undefined reference to `QIconView::~QIconView [in-charge]()'
> /tmp/ccD0Q8Hi.o(.text+0xf1): In function `main':
> : undefined reference to `QString::makeSharedNull()'
> /tmp/ccD0Q8Hi.o(.text+0xf9): In function `main':
> : undefined reference to `QString::makeSharedNull()'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0xc): undefined reference to
> `QGList::clear()'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x10): undefined reference
> to `QGList::~QGList [in-charge]()'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x14): undefined reference
> to `QGList::~QGList [in-charge deleting]()'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x18): undefined reference
> to `QCollection::newItem(void*)'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x1c): undefined reference
> to `QCollection::deleteItem(void*)'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x20): undefined reference
> to `QGList::compareItems(void*, void*)'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x24): undefined reference
> to `QGList::read(QDataStream&, void*&)'
> /tmp/ccD0Q8Hi.o(.gnu.linkonce.r._ZTV6QGList+0x28): undefined reference
> to `QGList::write(QDataStream&, void*) const'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qapp.h>
> #include <qobjcoll.h>
> #include <qstring.h>
> #include <qstyle.h>
> #include <qiconview.h>
> #if ! (QT_VERSION >= 210)
> #error 1
> #endif
> 
> int main() {
>     QStringList *t = new QStringList();
>     QIconView iv(0);
>     iv.setWordWrapIconText(false);
>     QString s;
>     s.setLatin1("Elvis is alive", 14);
>     return 0;
> }
> --------------------------------------------------------------------
> 
> 


-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-de-list/attachments/20031128/52797b1f/attachment.sig>


More information about the Fedora-de-list mailing list