Re: building Qt/OPIE

From: Holger Freyther <freyther.a.t.gmx.net>
Date: Thu Jun 20 2002 - 17:37:02 EDT

Am Thursday 20 June 2002 23:35 schrieb Nikitas:
> Ok, I did a fresh start and here are the results:
>
> I downloaded the Sharp toolchain and used that. I also used a baseline
> configure for Qt (./configure -depths 16,24 -xplatform linux-ipaq-g++
> -qvfb). It broke when it reached compiling the jpeg support :( When I
> disabled that (adding -no-jpeg to the configuration) everything worked
> fine.
You would need tocopy the libjpeg from your ipaq to the lib dir of the
toolchain.

>
> Ok, now I have compiled Qt/Embedded and am going for OPIE. I do a
> ./configure -xplatform ipaq, and it breaks when compiling the addressbook.
./configure -xplatform linux-ipaq-g++

> The same thing happens if I use qconfig-qpe.h as the config file for Qt,
> as instructed on the wiki.

>
> Here are some of the error messages. I cannot include them all, there are
> too many of them!:
> /home/nikitas/qt-2.3.2/lib/libqpe.so: undefined reference to
> `QComboBox::mouseReleaseEvent(QMouseEvent*)'
> /home/nikitas/qt-2.3.2/lib/libopie.so: undefined reference to
> `QPainter::end()'
> /home/nikitas/qt-2.3.2/lib/libqpe.so: undefined reference to
> `QComboBox::className() const'
> /home/nikitas/qt-2.3.2/lib/libopie.so: undefined reference to
> `QLabel::QLabel(QWidget*, QString const&, QWidget*, char const*,
> unsigned)'
> /home/nikitas/qt-2.3.2/lib/libopie.so: undefined reference to
> `QDir::absPath() const'
> /home/nikitas/qt-2.3.2/lib/libqpe.so: undefined reference to
> `ImageEdit::contentsMouseReleaseEvent(QMouseEvent*)'
> /home/nikitas/qt-2.3.2/lib/libqpe.so: undefined reference to
> `QComboBox::setAutoCompletion(bool)'
> /home/nikitas/qt-2.3.2/lib/libqpe.so: undefined reference to
> `QComboBox::setEditText(QString const&)'
> /home/nikitas/qt-2.3.2/lib/libqpe.so: undefined reference to
> `QPainter::save()'
> collect2: ld returned 1 exit status
> make[1]: *** [/home/nikitas/opie/bin/addressbook] Error 1
> make[1]: Leaving directory `/home/nikitas/opie/core/addressbook'
> make: *** [core/addressbook] Error 2
This is a compile problem with Qt. Do a make clean in qt-2.3.2 and then
reconfigure please.
>
> I've tried all kinds of other configuration alternatives, but it always
> break while compiling the addressbook. The undefined references make me
> think that something went wrong with the Qt compilation, but I even
> compiled all of it (Full) with the same results. Any ideas?
>
> Regards :)
>
> Nikitas
>
> On 20 Jun 2002, Michael Lauer wrote:
> > Am Don, 2002-06-20 um 08.05 schrieb Nikitas:
> > > The objective is to cross-compile OPIE for the iPAQ. I already have two
> > > cross-compilers x86->ARM, one from the handhelds.org ftp site (gcc ver.
> > > 2.95.2) and one from LART (gcc ver. 3.0). I also have uic 2.3.2 in
> > > $QTDIR/bin and tmake.
> >
> > May I suggest that you get the arm-toolchain from Sharp - seems to be
> > the one with the least amount of problems for me :)
> >
> > > Now, if I enter the config line that is proposed on the above site, the
> > > build breaks: it gives me a bunch of error messages on the jpeg
> > > support. If I disable that (by specifying -no-jpeg during
> > > configuration), I am able to compile Qt, but the OPIE compile breaks
> > > giving me a bunch of "undefined reference" errors on the built Qt
> > > libraries (both opie and qpe libs).
> >
> > Post the error messages given by a fresh extract and ./configure!
> >
> > --
> >
> > :M:
> >
> > --
> >
> > |------------------------------------------------------------------------
> > |----| Dipl.-Inf. Michael 'Mickey' Lauer
> >
> > mickey@tm.informatik.uni-frankfurt.de |
> >
> > | Raum 10b - ++49 69 798 28358 Fachbereich Informatik und
> >
> > Biologie |
> >
> > |------------------------------------------------------------------------
> > |----|
> >
> > _______________________________________________
> > Open Source User Interface and Apps built on Qt Embedded
> > Opie mailing list
> > Opie@handhelds.org
> > http://handhelds.org/mailman/listinfo/opie
>
> _______________________________________________
> Open Source User Interface and Apps built on Qt Embedded
> Opie mailing list
> Opie@handhelds.org
> http://handhelds.org/mailman/listinfo/opie
Received on Thu Jun 20 21:39:51 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:50:08 EDT