お世話になっております。掲題の件につきましてお尋ね申し上げます。
Yoctoに組み込むオリジナルアプリケーションで使用している外部ライブラリはどのようにインストールするのでしょうか?
現状、devtool build-image core-image-minimalを実行すると下記のエラーが出ております。
===========================================
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Previous bitbake instance shutting down?, waiting to retry...
NOTE: Retrying server connection (#2)...
Loading cache: 100% |#################################################################################| Time: 0:00:01
Loaded 3304 entries from dependency cache.
Parsing recipes: 100% |###############################################################################| Time: 0:00:01
Parsing of 2151 .bb files complete (2150 cached, 1 parsed). 3305 targets, 89 skipped, 0 masked, 0 errors.
INFO: Building image core-image-minimal with the following additional packages: my-app
Loading cache: 100% |#################################################################################| Time: 0:00:15
Loaded 3304 entries from dependency cache.
Parsing recipes: 100% |###############################################################################| Time: 0:00:00
Parsing of 2151 .bb files complete (2149 cached, 2 parsed). 3305 targets, 89 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "qemux86-64"
DISTRO = "poky"
DISTRO_VERSION = "3.1.1"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "my-yocto-3.1.1:febbe2944c0c4a04b85fa98fdc261186115954d8"
meta-oe
meta-python
meta-networking = "master:698748c1538ed03efbcfdd936cf8317b4f138c29"
workspace = "my-yocto-3.1.1:febbe2944c0c4a04b85fa98fdc261186115954d8"
Initialising tasks: 100% |############################################################################| Time: 0:00:18
Sstate summary: Wanted 5 Found 3 Missed 2 Current 1257 (60% match, 99% complete)
NOTE: Executing Tasks
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libcurl.so.4(CURL_OPENSSL_4)(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libmosquitto.so.1(MOSQ_1.2)(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libmosquitto.so.1(MOSQ_1.0)(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libmosquitto.so.1()(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libjansson.so.4()(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libmbedcrypto.so.1()(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA Issue: /usr/bin/my-app contained in package my-app requires libiw.so.30()(64bit), but no providers found in RDEPENDS_my-app? [file-rdeps]
ERROR: my-app-1.0+git999-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: Logfile of failure stored in: /home/hoge/poky/build/tmp/work/core2-64-poky-linux/my-app/1.0+git999-r0/temp/log.do_package_qa.3042
ERROR: Task (/home/hoge/poky/build/workspace/recipes/my-app/my-app_git.bb:do_package_qa) failed with exit code '1'
===========================================
レシピファイルは以下になっています。
===========================================
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
LICENSE = "Unknown"
LIC_FILES_CHKSUM = "XXXXXXXXXXXXX"
SRC_URI = "git:///home/hoge/my-app;protocol=file"
# Modify these as desired
PV = "1.0+git${SRCPV}"
SRCREV = "4c987aa85eaccc7d9d363f027f02aecbd6ac4b56"
S = "${WORKDIR}/git"
RDEPENDS_${PN} = "libcurl curl openssl iw"
FILES_${PN} = "\
${bindir}/\
${sbindir}/\
${datadir}/\
${prefix}/\
${prefix}/bin/\
${prefix}/bin/my-app\
${base_bindir}/\
"
# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
# that the appropriate arguments are passed in.
do_configure () {
# Specify any needed configure commands here
:
}
do_compile () {
# You will almost certainly need to add additional arguments here
oe_runmake
}
do_install () {
# NOTE: unable to determine what to put here - there is a Makefile but no
# target named "install", so you will need to define this yourself
install -d ${D}${bindir}
install -m 0755 my-app ${D}${bindir}
}
=========================================================
上記エラーで必要とされているレイヤを追加し、my-appのレシピにRDEPENDS_${PN}として追加していく形でしょうか?
初歩的な質問で恐縮ですが、ご教示賜れますと幸いでございます。
よろしくお願いいたします。