Yocto + Autotools library + CMake application = linker error
问题 I have a Yocto BSP with my own layer that includes an autotools 3rdy part library (libcoap). My application ".bb" file has the following lines, telling libcoap is needed: DEPENDS += "libcoap" RDEPENDDS_${PN} += " libcoap libcoap-dev libcoap-devstatic" I can see the library files are being copied to sysroot: $ ls -l /projects/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/coap-playground/1.0-r0/recipe-sysroot/usr/lib/libcoap* -rw-r--r-- 2 udev udev 286430 Ago 21 13:53