Re: [yocto] can't find libudev.h

2019-03-15 Thread Tim Orling
On Fri, Mar 15, 2019 at 10:23 AM Burton, Ross wrote: > On Fri, 15 Mar 2019 at 17:00, Derek Dresser 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. > >

Re: [yocto] can't find libudev.h

2019-03-15 Thread Burton, Ross
On Fri, 15 Mar 2019 at 17:00, Derek Dresser 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

[yocto] can't find libudev.h

2019-03-15 Thread Derek Dresser
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