--- 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/
|