Re: Development Environment Problems

James Bernsen <[email protected]> Wed, 21 Aug 2002 20:50:52 -0400
Newsgroups gmane.comp.handhelds.zaurus.devel
Message-ID <[email protected]>
Thanks for the replies.  I would have installed the Qtopia 1.5.0 binary 
rpm, but I had read on this list that several people have had problems 
with it.  It also requires glibc 2.2, and my linux box is still running 
Redhat 6.1.  I tried to upgrade glibc, but that has many dependencies 
(that have many other dependencies), and it would have taken far too 
much time.  Perhaps it's time that I get Redhat 7.  

Instead, I used the Qtopia 1.5.0 source rpm from the Trolltech site.  I 
compiled Qt-Embedded 2.3.2 with Qt 2.3.2, and then I compiled Qtopia 
1.5.0 with Qt-Embedded 2.3.2.  Then I repeated this process with the 
cross-compiler to get the Zaurus libraries.  Is this the correct method 
for compiling Qtopia from sources?  If so, why I am I getting my strange 
compile errors?

Thanks again for your help,
James Bernsen



Kent Sandvik wrote:

> Hi, seems you have a mixture of SDKs, did you start with the SDK 1.5.0 
> that is available from www.trolltech.com. You really don't need the 
> embedded SDK unless you are building HW from scratch, or building your 
> own ROMs, or something similar.
>
> Yes, both QPEDIR and QTDIR just now points at the same directory, but 
> it could change in future, or in dev. environments they are separate.
>
> You also need to build the Sharp Zaurus images with the ARM specific 
> compiler/linker/library setup. See the SDK docs/qtopia/start.html file 
> that has all the instructions how to get started.
>
> --Kent
>
>
> On Tuesday, August 20, 2002, at 03:34  PM, James Bernsen wrote:
>
>> I've been having some problems with my development environment, and 
>> after much googling and work, I still can't seem to figure things 
>> out. According to the compiler setup howto on zauruszone.com 
>> (http://www.zauruszone.farplanet.net/howtos/linux_compiler_setup_howto.shtml) 
>>
>> , both the QPEDIR and QTDIR environment variables are supposed to 
>> point to the Qtopia base directory.  However, when I setup my 
>> development environment this way and try to compile the Qtopia 
>> example application, I get several pages of errors 
>> (http://www.bernsen.us/james/tmp/compile_errs.txt), the first of them 
>> being that the compiler can't find a #included file 
>> (qwsdefaultdecoration_qws.h) that is located under the qt-embedded 
>> include directory.
>>
>> When I set my QTDIR to point to the qt-embedded base directory, the 
>> example application compiles fine and runs great in the virtual 
>> framebuffer.  Is this wrong?  Furthermore, when I set my environment 
>> to cross-compile for the Zaurus (QTDIR still pointing to 
>> qt-embedded), the example application compiles fine, but when 
>> transferred to the Zaurus and run from the terminal, I get the 
>> following error:
>>
>> ./example: error while loading shared libraries: ./example: undefined 
>> symbol: 
>> new_metaobject__11QMetaObjectPCcT1P9QMetaDataiT3iP13QMetaPropertyiP9QMetaEnumiP10QClassInfoi 
>>
>>
>> Can anybody tell me what's wrong with my setup?  I've got 
>> Qt-Embedded: 2.3.2 and Qtopia: 1.5.0, with gcc 2.95.3 and 
>> arm-linux-gcc 2.95.2.  The LD_LIBRARY_PATH on the Zaurus is set to 
>> /home/QtPalmtop/lib.
>>
>> Thanks for your help,
>> James Bernsen
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by: OSDN - Tired of that same old
>> cell phone?  Get a new here for FREE!
>> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>> _______________________________________________
>> Zaurus-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/zaurus-general
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Zaurus-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zaurus-devel
>




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390