Hello, I am trying to build a recipe that has a header dependency on libudev.h. I have added a
DEPENDS += "systemd" because it looks like systemd provides libudev, but I continue to get the following error: hid.c:44:21: fatal error: libudev.h: No such file or directory This is what a find shows: find /build -name libudev.h 2>/dev/null /build/multiplexor-glibc/work/corei7-64-oe-linux/systemd/1_241-r0/git/src/libudev/libudev.h /build/multiplexor-glibc/work/corei7-64-oe-linux/systemd/1_241-r0/sysroot-destdir/usr/include/libudev.h /build/multiplexor-glibc/work/corei7-64-oe-linux/abc-app/0.1-r0/recipe-sysroot/usr/include/libudev.h /build/multiplexor-glibc/work/intel_corei7_64-oe-linux/image-multiplexor-dev/1.0-r0/rootfs/usr/include/libudev.h /build/multiplexor-glibc/sysroots-components/corei7-64/systemd/usr/include/libudev.h Any thoughts on how to resolve or troubleshoot this are appreciated. Recipe and full error message are below. LICENSE = "CLOSED" LIC_FILES_CHKSUM = "" SRC_URI = "\ git:// g...@git.bitbucket.is.company.com/abc/abc.git;protocol=ssh;destsuffix=abc;name=abc \ git:// g...@git.bitbucket.is.company.com/abc/sequencer.git;protocol=ssh;destsuffix=abc/sequencer;name=sequencer \ git:// github.com/kerrydwong/MCP2210-Library.git;destsuffix=abc/MCP2210-Library;name=MCP2210 \ " # Modify these as desired #PV = "1.0+git${SRCPV}" PV = "0.1" SRCREV_default = "${AUTOREV}" SRCREV_abc = "${AUTOREV}" SRCREV_sequencer = "${AUTOREV}" SRCREV_MCP2210 = "${AUTOREV}" DEPENDS += "systemd" RDEPENDS_${PN} += "systemd" S = "${WORKDIR}/abc" # 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_patch[noexec] = "1" 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 : } Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 72 | cd MCP2210-Library; make CXXFLAGS=-fPIC CFLAGS=-fPIC all | make[1]: Entering directory '/build/multiplexor-glibc/work/corei7-64-oe-linux/abc-app/0.1-r0/abc/MCP2210-Library' | for CONF in Debug Release ; \ | do \ | "make" -f nbproject/Makefile-${CONF}.mk QMAKE= SUBPROJECTS= .build-conf; \ | done | make[2]: Entering directory '/build/multiplexor-glibc/work/corei7-64-oe-linux/abc-app/0.1-r0/abc/MCP2210-Library' | "make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/hidusbtest | make[3]: Entering directory '/build/multiplexor-glibc/work/corei7-64-oe-linux/abc-app/0.1-r0/abc/MCP2210-Library' | mkdir -p build/Debug/GNU-Linux-x86 | rm -f build/Debug/GNU-Linux-x86/hid.o.d | gcc -fPIC -c -g -MMD -MP -MF build/Debug/GNU-Linux-x86/hid.o.d -o build/Debug/GNU-Linux-x86/hid.o hid.c | hid.c:44:21: fatal error: libudev.h: No such file or directory | compilation terminated.
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto