Getting this error from linking....
/powerpc-wrs-linux-gnu/bin/ld: skipping incompatible /lib/libpthread.so.0 when searching for /lib/libpthread.so.0
powerpc-wrs-linux-gnu/bin/ld: cannot find /lib/libpthread.so.0
collect2: ld returned 1 exit status
*** Error code 1
Found the reason from:
http://www.handhelds.org/hypermail/opie-devel/7/0791.html
Basically the problem is the libpthread.so in the library path intended is a script with:
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-powerpc)
GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a )
And the /lib/libpthread.so.0 is a i386 library.... Still not solving but getting close.
No comments:
Post a Comment