ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Qt/Embedded - almost there!

To:
Subject: Re: [ts-7000] Re: Qt/Embedded - almost there!
From: Scott Zimmerman <>
Date: Thu, 20 Aug 2009 23:32:45 -0700


Good tip on the ldd script!

I had to make one more modification to get it to run besides the one you noted.  There is a test for "pipefail" that was causing it to fail.  I commented out the if and just let try_trace be defined normally and got it working.  The results look like this:

/mnt/root/usr/bin # ldd /mnt/root/qhw
/mnt/root/qhw: /lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (requir
ed by /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/libQtGui.so.4)
/mnt/root/qhw: /lib/libdl.so.2: version `GLIBC_2.1' not found (required by /usr/
local/linux-arm/lib/libts-0.0.so.0)
/mnt/root/qhw: /lib/libdl.so.2: version `GLIBC_2.0' not found (required by /usr/
local/linux-arm/lib/libts-0.0.so.0)
/mnt/root/qhw: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /usr
/local/linux-arm/lib/libts-0.0.so.0)
/mnt/root/qhw: /lib/libc.so.6: version `GLIBC_2.1' not found (required by /usr/l
ocal/linux-arm/lib/libts-0.0.so.0)
/mnt/root/qhw: /lib/libc.so.6: version `GLIBC_2.0' not found (required by /usr/l
ocal/linux-arm/lib/libts-0.0.so.0)
/mnt/root/qhw: /lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (requir
ed by /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/libQtNetwork.so.4)
/mnt/root/qhw: /lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (requir
ed by /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/libQtCore.so.4)
        libQtGui.so.4 => /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/libQtGui.
so.4 (0x2aad1000)
        libts-0.0.so.0 => /usr/local/linux-arm/lib/libts-0.0.so.0 (0x2b304000)
        libQtNetwork.so.4 => /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/libQt
Network.so.4 (0x2b30e000)
        libQtCore.so.4 => /usr/local/Trolltech/QtEmbedded-4.4.3-arm/lib/libQtCor
e.so.4 (0x2b3b6000)
        librt.so.1 => /lib/librt.so.1 (0x2b63d000)
        libdl.so.2 => /lib/libdl.so.2 (0x2b64c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2b657000)
        libstdc++.so.6 => /lib/libstdc++.so.6 (0x2b676000)
        libm.so.6 => /lib/libm.so.6 (0x2b72a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b7da000)
        libc.so.6 => /lib/libc.so.6 (0x2b7ee000)
        /lib/ld-linux.so.3 (0x2aaab000)
/mnt/root/usr/bin #

I haven't quite been able to decypher this yet, but I'm working on it.

Thanks again for the tip,

...Zz




On Wed, Aug 19, 2009 at 5:12 PM, doogul <> wrote:
 

--- In ts-7000%40yahoogroups.com, Scott Zimmerman <> wrote:

> Now when I run any of the ts_XXX apps I get "Illegal instruction" instead of
> the previous errors. May have to try to hook up a debugger to figure that
> out.

The only thing I can think of off the top of my head is that your busybox is still OABI, but that shouldn't matter as far as I know. But I can tell you that while we were setting up a similar thing, we did recompile busybox using our EABI compiler and replaced the busybox binary in the initrd. Still, it probably shouldn't matter.


> As for the lib error, I verified that I copied the sys-root/libs over to my
> NFS mount. So now I think I might have blown something when I built Qt. I
> may have to try rebuilding that to be certain.

Hmm, interesting. Just a thought: in your sys-root directory in your cross toolchain, in the usr/bin directory there's a script called "ldd". Modify it so that the first line goes to /bin/sh, and then put it on your 7390 and do:

ldd YourProgram

That'll tell you what shared libraries your program is trying to use. I'd verify to make sure everything it's trying to load is stuff that you compiled.


> In any case, I'm going to keep at it. When I do a mount from the fastboot
> prompt, it looks like everything it mounted rw. So I'm not sure which ro
> volume Qt is going to have troubles with.

I think the problem we ran into there was that the rootfs in fastboot is a 4MB initrd with a limited number of inodes, and we'd filled it up. So we had to mount a separate ramdisk of some kind to hold the temporary files. YMMV. :)




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU