> However, when building core-image-full-cmdline, I get the following > errors. > > > The error is in the batctl recipe, does that also have a DEPENDS=libnl? >
Oh geez...I feel sheepish! Attached is my updated batctl recipe - still giving the same errors. ERROR: oe_runmake failed ERROR: Function failed: do_compile (log file is located at /opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_compile.68518) ERROR: Logfile of failure stored in: /opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_compile.68518 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 32 -e MAKEFLAGS= | Makefile:56: *** No libnl-3.0 development libraries found!. Stop. | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (log file is located at /opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_compile.68518) ERROR: Task 581 (/opt/yocto/poky/meta-sdl/meta-sigma/recipes-batman/batman/batctl_2016.1.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 3480 tasks of which 3473 didn't need to be rerun and 1 failed. I did find that if I do: DEPENDS += " batman-adv libnl" instead of DEPENDS_${PN} += " batman-adv libnl" the problem goes away. Can someone explain the difference? As I understood it, _${PN} basically created a DEPENDS variable for this specific package and avoided touching others. Is that not the case? Can someone point me to the right section in the docs that would enlighten me? Thanks! As an aside, with this DEPENDS fix I have a set of fully functional recipes for batman-adv, batctl, and alfred if anyone is interested. I wasn't able to find any online that were up to date with the latest Yocto releases and latest batman-adv.
DESCRIPTION = "Control application for B.A.T.M.A.N. routing protocol kernel module for multi-hop ad-hoc mesh networks." HOMEPAGE = "http://www.open-mesh.net/" SECTION = "console/network" PRIORITY = "optional" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS += " batman-adv libnl" RDEPENDS_${PN} += " kernel-module-batman-adv" S = "${WORKDIR}/git" SRCREV = "7a3d563466f368b9b50191f441b775bae46a77ca" SRC_URI = "git://git.open-mesh.org/batctl.git \ file://COPYING \ file://0000_batctl_makefile-flags.patch \ " PV = "2016.1_git${SRCREV}" do_compile() { oe_runmake } do_install() { install -d ${D}${bindir} install -m 0755 batctl ${D}${bindir} }
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto