RE: Problems compiling programs for Familiar 0.8.2

"Shopping Pxitu" <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Thank you for your reply :)
I wasn't able to find crosstool 3.4.4 in the web and handhelds ftp is not
working lately.

I have build qte with arm-linux 3.4.1 without problems. Then I have tried to
compile the tutorial t1 and  I got that error:

arm-linux-gcc -L/home/cris/ipaqhome/qt-2.3.10/lib
-Wl,-rpath,/home/cris/ipaqhome/qt-2.3.10/lib   -o ./t1 main.o   -lqte
 /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld:
./t1: hidden symbol `__div0' in
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_dvmd_lnx.oS) is
referenced by DSO
collect2: ld returned 1 exit status
make: *** [t1] Error 1

Do you have any idea what this error is?

I have also tried to build opie with the same crosstool 3.4.1 and got the
same error and some undefined reference errors:
...
/home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: undefined reference to `vtable
for QRadioButton'
/home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: undefined reference to
`QHeader::moved(int, int)'
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libst
dc++.so: undefined reference to `_Unwind_SjLj_Resume_or_Rethrow@GCC_3.3'
/home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: undefined reference to `vtable
for QPushButton'
/home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: undefined reference to `vtable
for QCommonStyle'
/home/cris/ipaqhome/opie/lib/libqpe.so: undefined reference to
`QPushButton::className() const'
...

Do you know why I am getting these errors?

Thank you so much
 

-----Mensaje original-----
De: Dmitriy Korovkin [mailto:[email protected]] 
Enviado el: lunes, 27 de noviembre de 2006 22:20
Para: Shopping Pxitu
CC: [email protected]
Asunto: Re: [Opie-devel] Problems compiling programs for Familiar 0.8.2

Hi,
Actually you may try to build qte and opie with any compiler you wish. 
But the MUST be built with the same version: either 3.3.2 or 2.95.3.
If you want to run your built software on a target running familiar, I'd 
like to suggest you to use 3.4.4 version. At least, it works for me.
Regards,

Dmitriy



Shopping Pxitu wrote:
> Hi,
>
> I have build qt-2.3-20 and opie 1.2 with crosscompiler 2.95.3, because
> when I tried with a higher version (3.3.2) I got libqte and libpe
> undefined references errors.
> ...
> /home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: referencia a
> `QListBox::returnPressed(QListBoxItem*)' sin definir
> /home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: referencia a
> `QPopupMenu::activatedRedirect(int)' sin definir
> /home/cris/ipaqhome/qt-2.3.10/lib/libqte.so: referencia a
> ...
> Everything seemed to work fine, until I tried to execute myhello
> program in my h5450 ipaq and I got the following error:
> /opt/QtPalmtop/bin/myhello: symbol lookup error:
> /opt/QtPalmtop/bin/myhello: undefined symbol: _7QString.shared_null
> I read in this list: "To compile a program for use on Familiar 0.8.2,
> you need to use a more recent toolchain, as programs compiled with gcc
> v2.95.x won't work."
> Then my question is how can I use a more recent toolchain if I can't
> compile opie with that toolchain? Am I doing anything wrong? Is there
> any way to compile qt and opie with 3.3x or 3.4x toolchain?
> If not, can you suggest some other way to compile programs for opie
> 1.2 and familiar 0.8.2?
>
> than you so much!
> _______________________________________________
>
> http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex
>
> Opie-devel mailing list
> [email protected]
> https://handhelds.org/mailman/listinfo/opie-devel
>

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.17/553 - Release Date: 27/11/2006
4:00
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.17/553 - Release Date: 27/11/2006
4:00
 

_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.