ts-7000
[Top] [All Lists]

[ts-7000] Re: Adding libpthread to TS-7250

To:
Subject: [ts-7000] Re: Adding libpthread to TS-7250
From: "Mike Charnoky" <>
Date: Mon, 28 Apr 2008 16:25:42 -0000
--- In  "Anouk Ahamitet" <> wrote:
>
> I've got a multi-threaded application that needs to run on the
> TS-7250.  Unfortunately, libpthread wasn't installed, and when I
> copied it (from Technologic's USB development environment) my app now
> gets an error about undefined symbols in GLIBC_2.1.  I've searched
> this forum and found references that lead me to believe others have
> resolves this issue, but I've been unable to locate anything about
> /how/ the issue was resolved.
> 
> Hopefully, someone here can enlighten me and save me the onerous task
> of redesigning and rewriting the app as single threaded...  Please?

I needed the pthread lib for a java runtime.  Here's what I did to get
it working.  First, on my desktop machine (where the crosstool was
installed), I stripped unneeded symbols from the lib:

cp
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/lib/libpthread-0.10.so
/tmp
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-strip
--strip-unneeded -vv /tmp/libpthread-0.10.so

Then, I copied the lib to /lib on the board, then created a symbolic link:

ln -fs /lib/libpthread-0.10.so /lib/libpthread.so.0


Mike



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<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