I'm working on a recipe for batman-adv, which depends on libnl at build 
time.

I've attached my recipe for batman-adv.  It's pretty straightforward, 
but the DEPENDS variable doesn't seem to work when I build 
core-image-full-cmdline.  If I clean both libnl and batman-adv, then 
bitbake batman-adv, it works as expected - libnl is built first, 
followed by batman-adv.

However, when building core-image-full-cmdline, I get the following errors.

Thoughts?

Thanks!
Jon


ERROR: oe_runmake failed
ERROR: Function failed: do_configure (log file is located at 
/opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_configure.98063)
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_configure.98063
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: make -e MAKEFLAGS= clean
| Makefile:56: *** No libnl-3.0 development libraries found!.  Stop.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_configure (log file is located at 
/opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_configure.98063)
ERROR: Task 580 
(/opt/yocto/poky/meta-sdl/meta-sigma/recipes-batman/batman/batctl_2016.1.bb, 
do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2290 tasks of which 2282 didn't need to 
be rerun and 1 failed.



-- 
Jonathan R. Haws
Embedded Engineer
Space Dynamics Laboratory
jh...@sdl.usu.edu
SUMMARY = "B.A.T.M.A.N. Advanced Kernel Module"
DESCRIPTION = "Kernel module providing batman-adv mesh networking capabilities"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"

inherit module

DEPENDS = " libnl"
RDEPENDS_${PN} = " kernel-module-libcrc32c kernel-module-bridge"
S = "${WORKDIR}/git"

SRCREV = "01a3aa4396e3dacdee29a1ce96057f51d02d4dd0"
SRC_URI = "git://git.open-mesh.org/batman-adv.git \
           file://COPYING \
           
file://0000_batmav-adv_makefile-KERNELPATH.patch;patchdir=${S};striplevel=0 \
          "

PV = "2016.1_git${SRCREV}"

# The inherit of module.bbclass will automatically name module packages with
# "kernel-module-" prefix as required by the oe-core build environment.
KERNEL_MODULE_AUTOLOAD += " libcrc32c batman-adv"
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to