[oe] Making simple QTE application, cannot find libpthread_nonshared.a

Dmitry Vinokurov d.vinokuroff at gmail.com
Wed Dec 2 13:01:03 UTC 2009


Dmitry Vinokurov wrote:
> Holger Hans Peter Freyther wrote:
>> On Wednesday 02 December 2009 06:55:19 Dmitry Vinokurov wrote:
>>  
>>> Yesterday pulled from dev branch (git describe output is
>>> pre-nov2009-core-updates-606-g237cbb4) and made meta-toolchain-qte
>>> rebuild, then tried again to build example -- same error "cannot find
>>> /usr/lib/libpthread_nonshared.a inside
>>> /usr/local/minimal/arm/arm-oe-linux-gnueabi"
>>>     
>>
>> Could you look into the libc-dev package, or in general libc packages 
>> to see if this library is present in any package? You could use mc or 
>> Packages.filelist to figure that out.
>>
>>
>> z.
>>   
> Here is search results:
> --------
> [14:50]raydan at t46x[build]$ find tmp | grep libpthread_nonshared.a
> tmp/staging/armv5te-oe-linux-gnueabi/usr/lib/libpthread_nonshared.a
> tmp/work/armv5te-oe-linux-gnueabi/eglibc-2.10-r7.5/staging-pkg/staging/armv5te-oe-linux-gnueabi/usr/lib/libpthread_nonshared.a 
>
> tmp/work/armv5te-oe-linux-gnueabi/eglibc-2.10-r7.5/image/usr/lib/libpthread_nonshared.a 
>
> tmp/work/armv5te-oe-linux-gnueabi/eglibc-2.10-r7.5/package/usr/lib/libpthread_nonshared.a 
>
> tmp/work/armv5te-oe-linux-gnueabi/eglibc-2.10-r7.5/build-arm-oe-linux-gnueabi/nptl/libpthread_nonshared.a 
>
> --------
> [10:43]raydan at t46x[qte-example]$ find /usr/local/minimal/ | grep 
> libpthread_nonshared.a
> --------
>
> So, libpthread_nonshared.a exist in eglibc for ARM, but not present in 
> the QtE SDK.
>
> How do you think, is there better way to solve this issue than just 
> copying library into QtE SDK lib dir?
>
> -- 
> Best Regards, Dmitry Vinokurov <d.vinokuroff at gmail.com>
>
Copied libpthread_nonshared.a from eglibc dir to 
/usr/local/minimal/arm/arm-oe-linux-gnueabi/usr/lib. Tried 'make' -- 
similar trouble with libc_nonshared.a. Copied it too, 'make' succeed, 
binary ready. For the present I can't test it on the board, hope I'll do 
it at this week.

Maybe this two libraries should be copied from libc to QtE SDK during 
it's build?

--
Best Regards, 
Dmitry Vinokurov 
<d.vinokuroff at gmail.com>





More information about the Openembedded-devel mailing list