[yocto] can't find libudev.h

Burton, Ross ross.burton at intel.com
Fri Mar 15 10:21:36 PDT 2019

On Fri, 15 Mar 2019 at 17:00, Derek Dresser <dresser.net at gmail.com> wrote:
> | 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

'gcc' isn't a cross compiler, and it isn't using the sysroot flags.

The problem with people writing their own makefiles is that they think
it's easy, but it isn't.  You'll have to figure out why the maze of
Makefiles in that project don't respect CC/CPPFLAGS/CFLAGS/LDFLAGS
that are exported into the environment.


More information about the yocto mailing list