在 2021-03-02 11:53:08,"nus1998" <nus1998@yeah.net> 写道:
Hi,I'm using imx zeus 5.4.70-2.3.1, when I build the minimal images, an error encountered:../../git/src/yp_xdr.c:38:23: fatal error: netconfig.h: No such file or directory
| #include <netconfig.h>
| ^
| compilation terminated.....Summary: 1 task failed:
virtual:native:..../imx-linux-zeus/sources/poky/meta/recipes-extended/libnsl/libnsl2_git.bb:do_compilenetconfig.h can be found at ./tmp/sysroots-components/x86_64/libtirpc-native/usr/include/tirpc, and on compiling there is a message -I<my path>/build-wayland/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+37c5ffe303-r0/recipe-sysroot-native/usr/lib/pkgconfig//usr/include/tirpc, so seems relocatable.bbclass doesn't set the relative path properly?