[yocto] yocto recipe error

Elliott, Alexander L CIV USN NAVSURFWARCEN DAH VA (USA) alexander.l.elliott at navy.mil
Tue Jun 25 09:44:36 PDT 2019


Hello,

I am very new to Yocto and having some trouble building a recipe. I am trying to add a pre-built application to my Petalinux project.

Here is my recipe:
SUMMARY = "Simple evtest application"
SECTION = "PEALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302

SRC_URI = "file://evtest"file://evtest"

S = "${WORKDIR}"

RDEPENDS_${PN} = "libgcc_s.so.1"

do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/evtest ${D}/${bindir}
}

I added the RDEPENDS_${PN} = "libgcc_s.so.1" because I got an error that said it depended on it; however, I'm still getting the same error even after adding that line which says:
"ERROR: Nothing PROVIDES 'libgcc_s.so.1' (but /home/.../evtest.bb DEPENDS on or otherwise requires it)"
and also I get
"ERROR: Required build target 'petalinux-user-image' has no buildable providers. Missing or unbuildable dependency chain was : ['petalinux-user-image', 'evtest', 'libgcc_s.so.1']

Thanks for your time,

Alex




More information about the yocto mailing list