Thanks alot. It's work now.I have another question and It will be a huge help 
if you answer it:I add libsrtp to another recepie's DEPENDS(jrtplib). but I 
faced the following error:
    --ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: QA Issue: jrtplib.pc failed 
sanity test (tmpdir) in path 
/opt/yocto/toradex-morty/build-intercom/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/jrtplib/3.11.1-r0/sysroot-destdir/usr/lib/pkgconfig
 [pkgconfig]

I checked jrtplib.pc and it is the result:

    Name: Jrtplib    Description: A full featured RTP library    Requires:    
Version: 3.11.1    Libs:  -L/usr/lib -ljrtp -L/usr/lib -ljthread -lpthread 
/opt/yocto/toradex-morty/build-intercom/tmp-glibc/sysroots/colibri-imx6/usr/lib/libsrtp.a
    Cflags:  -I/usr/include 
-I/opt/yocto/toradex-morty/build-intercom/tmp-glibc/sysroots/colibri-imx6/usr/include
I think something is wrong in libsrtp paths.
Thanks

    On Monday, April 9, 2018, 7:08:23 AM GMT+4:30, Anuj Mittal 
<anuj.mit...@intel.com> wrote:  
 
 On 04/08/2018 09:09 PM, Mostafa Farzane wrote:
> 
> Thanks alot,
> 
> I added TOOLCHAIN_TARGET_TASK = "libsrtp-staticdev" to my image instead
> of libsrtp. But I get:
> 
>  * calculate_dependencies_for: Cannot satisfy the following dependencies
> for libsrtp-staticdev:
>  *      libsrtp (= 1.5.2-r0) *
>  * opkg_solver_install: Cannot install package libsrtp-staticdev.
> 

Please try adding ALLOW_EMPTY_${PN} = "1" in your bbappend or try:

https://patchwork.openembedded.org/patch/150000/
  
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to