Re: [yocto] linux/bpf.h: no such file or directory

2019-01-17 Thread Burton, Ross
Don't use gcc, use $(CC). Ross On Thu, 17 Jan 2019 at 14:50, Maytar Byle wrote: > > Hey all, > > I've wrote a basic recipe to compile few C files and when i compile it, i get > the above error. I looked in 'sysroots/qemux86-64/usr/include/linux/' and it > contains bpf.h. > > The recipe: >

[yocto] linux/bpf.h: no such file or directory

2019-01-17 Thread Maytar Byle
Hey all, I've wrote a basic recipe to compile few C files and when i compile it, i get the above error. I looked in 'sysroots/qemux86-64/usr/include/linux/' and it contains bpf.h. The recipe: SRC_URI = "file://dir" S = "${WORKDIR}/dir" do_install() { install -d ${D}/home/user/dir