Cannot add libsrtp to yocto image
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:
Unknown package 'libsrtp'.
Collected errors: * opkg_solver_install: Cannot install package libsrtp.
Hi,
Did you add meta-multimedia to BBLAYERS as explained here
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#enabling-your-layer
BR,
Vincent
2018-04-07 8:46 GMT+02:00 Mostafa Farzane <[email protected]>:
Quoted 17 lines
Hi,
I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:Unknown package 'libsrtp'.
Collected errors:
*opkg_solver_install: Cannot install package libsrtp.--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Yes, I added "${TOPDIR}/../layers/meta-openembedded/meta-multimedia \" to BBLAYERS
On Saturday, April 7, 2018, 7:48:23 PM GMT+4:30, Vincent Prince <[email protected]> wrote:
Hi,
Did you add meta-multimedia to BBLAYERS as explained herehttps://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#enabling-your-layer BR,Vincent
2018-04-07 8:46 GMT+02:00 Mostafa Farzane <[email protected]>:
Hi,I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:
Unknown package 'libsrtp'.
Collected errors: * opkg_solver_install: Cannot install package libsrtp.
--
______________________________ _________________
yocto mailing list
[email protected]
https://lists.yoctoproject. org/listinfo/yocto
Quoted 8 lines · Mostafa Farzane
Hi,
I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:Unknown package 'libsrtp'.
Collected errors:
*opkg_solver_install: Cannot install package libsrtp.
That is because there's no package named libsrtp. Please see:
$ oe-pkgdata-util list-pkg-files -p libsrtp
libsrtp-dbg:
libsrtp-dev:
/usr/include/srtp/aes.h
/usr/include/srtp/aes_cbc.h
/usr/include/srtp/aes_gcm_ossl.h
/usr/include/srtp/aes_icm.h
/usr/include/srtp/aes_icm_ossl.h
/usr/include/srtp/alloc.h
/usr/include/srtp/auth.h
/usr/include/srtp/cipher.h
/usr/include/srtp/config.h
/usr/include/srtp/crypto.h
/usr/include/srtp/crypto_kernel.h
/usr/include/srtp/crypto_math.h
/usr/include/srtp/crypto_types.h
/usr/include/srtp/cryptoalg.h
/usr/include/srtp/datatypes.h
/usr/include/srtp/ekt.h
/usr/include/srtp/err.h
/usr/include/srtp/getopt_s.h
/usr/include/srtp/gf2_8.h
/usr/include/srtp/hmac.h
/usr/include/srtp/integers.h
/usr/include/srtp/kernel_compat.h
/usr/include/srtp/key.h
/usr/include/srtp/null_auth.h
/usr/include/srtp/null_cipher.h
/usr/include/srtp/prng.h
/usr/include/srtp/rand_source.h
/usr/include/srtp/rdb.h
/usr/include/srtp/rdbx.h
/usr/include/srtp/rtp.h
/usr/include/srtp/rtp_priv.h
/usr/include/srtp/sha1.h
/usr/include/srtp/srtp.h
/usr/include/srtp/srtp_priv.h
/usr/include/srtp/stat.h
/usr/include/srtp/ut_sim.h
/usr/include/srtp/xfm.h
libsrtp-staticdev:
/usr/lib64/libsrtp.aThanks 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.
On Sunday, April 8, 2018, 2:33:26 PM GMT+4:30, Anuj Mittal <[email protected]> wrote:
Quoted 8 lines · Mostafa Farzane
Hi,
I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:Unknown package 'libsrtp'.
Collected errors:
*opkg_solver_install: Cannot install package libsrtp.
That is because there's no package named libsrtp. Please see:
$ oe-pkgdata-util list-pkg-files -p libsrtp libsrtp-dbg: libsrtp-dev: /usr/include/srtp/aes.h /usr/include/srtp/aes_cbc.h /usr/include/srtp/aes_gcm_ossl.h /usr/include/srtp/aes_icm.h /usr/include/srtp/aes_icm_ossl.h /usr/include/srtp/alloc.h /usr/include/srtp/auth.h /usr/include/srtp/cipher.h /usr/include/srtp/config.h /usr/include/srtp/crypto.h /usr/include/srtp/crypto_kernel.h /usr/include/srtp/crypto_math.h /usr/include/srtp/crypto_types.h /usr/include/srtp/cryptoalg.h /usr/include/srtp/datatypes.h /usr/include/srtp/ekt.h /usr/include/srtp/err.h /usr/include/srtp/getopt_s.h /usr/include/srtp/gf2_8.h /usr/include/srtp/hmac.h /usr/include/srtp/integers.h /usr/include/srtp/kernel_compat.h /usr/include/srtp/key.h /usr/include/srtp/null_auth.h /usr/include/srtp/null_cipher.h /usr/include/srtp/prng.h /usr/include/srtp/rand_source.h /usr/include/srtp/rdb.h /usr/include/srtp/rdbx.h /usr/include/srtp/rtp.h /usr/include/srtp/rtp_priv.h /usr/include/srtp/sha1.h /usr/include/srtp/srtp.h /usr/include/srtp/srtp_priv.h /usr/include/srtp/stat.h /usr/include/srtp/ut_sim.h /usr/include/srtp/xfm.h libsrtp-staticdev: /usr/lib64/libsrtp.a
Quoted 11 lines · Mostafa Farzane
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:
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 <[email protected]> wrote:
Quoted 11 lines · Mostafa Farzane
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: