ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: Adding libpthread to TS-7250
From: "Anouk Ahamitet" <>
Date: Mon, 28 Apr 2008 18:24:38 -0000
First, thanks to both Mike and Marco for the answers!

As I understood it, the USB dev environment from Technologic contained
a pre-built, installed, and configured crosstool file set that I could
mount directly on my TS-7250 to build and test.  In the past, when I
needed a library (like when I needed ncurses support) I just copied
the library files from the USB to the TS-7250's internal memory.  That
didn't quite work with libpthread (although I did copy the version you
both referenced, and I did create the link).  Perhaps that is because
I didn't run the 'strip' command, or perhaps I am missing something
else.  Unfortunately, I lost access to the hardware for a while "while
I research this" (paraphrasing my boss), so it is difficult to check
things.

FWIW, we have the ts11 kernel and I'll try to find a better match for
libpthread than the one of the USB (but all the other libraries from
the USB worked, so why not this one?).

Thanks again.

--- In  "Mike Charnoky" <> wrote:
>
> --- In  "Anouk Ahamitet" <snowcone27@> 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