My team is taking the U-boot, Linux and Yocto course using the iMX8M Industrial Development Kit. They have not been able to get Yocto to compile without issues. We are currently running Ubuntu 14.04 per the recommendation.
We choose the above board because its the board recommended in the class description.
The current error is as follows:
ux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../git/src/yp_master.c -fPIC -DPIC -o .libs/yp_master.o
| In file included from ../../git/src/ypprot_err.c:22:
| ../../git/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
| 10 | #include <rpc/rpc.h>
| | ^~~~~~~~~~~
| compilation terminated.
| ../../git/src/yp_xdr.c:38:10: fatal error: netconfig.h: No such file or directory
| 38 | #include <netconfig.h>
| | ^~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [Makefile:586: ypprot_err.lo] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [Makefile:586: yp_xdr.lo] Error 1
| ../../git/src/yp_master.c:21:10: fatal error: rpc/clnt.h: No such file or directory
| 21 | #include <rpc/clnt.h>
| | ^~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [Makefile:586: yp_master.lo] Error 1
| In file included from ../../git/src/do_ypcall.c:28:
| ../../git/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
| 10 | #include <rpc/rpc.h>
| | ^~~~~~~~~~~
| compilation terminated.
| make[2]: *** [Makefile:586: do_ypcall.lo] Error 1
| make[2]: Leaving directory '/home/shane/dev/yocto-classes/build-voipac/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/build/src'
| make[1]: *** [Makefile:482: all-recursive] Error 1
| make[1]: Leaving directory '/home/shane/dev/yocto-classes/build-voipac/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/build'
| make: *** [Makefile:391: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/shane/dev/yocto-classes/build-voipac/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/temp/run.do_compile.2790' failed with exit code 1
ERROR: Task (virtual:native:/home/shane/dev/yocto-classes/sources/poky/meta/recipes-extended/libnsl/libnsl2_git.bb:do_compile) failed with exit code '1'
We choose the above board because its the board recommended in the class description.
The current error is as follows:
ux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ../../git/src/yp_master.c -fPIC -DPIC -o .libs/yp_master.o
| In file included from ../../git/src/ypprot_err.c:22:
| ../../git/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
| 10 | #include <rpc/rpc.h>
| | ^~~~~~~~~~~
| compilation terminated.
| ../../git/src/yp_xdr.c:38:10: fatal error: netconfig.h: No such file or directory
| 38 | #include <netconfig.h>
| | ^~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [Makefile:586: ypprot_err.lo] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [Makefile:586: yp_xdr.lo] Error 1
| ../../git/src/yp_master.c:21:10: fatal error: rpc/clnt.h: No such file or directory
| 21 | #include <rpc/clnt.h>
| | ^~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [Makefile:586: yp_master.lo] Error 1
| In file included from ../../git/src/do_ypcall.c:28:
| ../../git/src/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
| 10 | #include <rpc/rpc.h>
| | ^~~~~~~~~~~
| compilation terminated.
| make[2]: *** [Makefile:586: do_ypcall.lo] Error 1
| make[2]: Leaving directory '/home/shane/dev/yocto-classes/build-voipac/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/build/src'
| make[1]: *** [Makefile:482: all-recursive] Error 1
| make[1]: Leaving directory '/home/shane/dev/yocto-classes/build-voipac/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/build'
| make: *** [Makefile:391: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/shane/dev/yocto-classes/build-voipac/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+4a062cf418-r0/temp/run.do_compile.2790' failed with exit code 1
ERROR: Task (virtual:native:/home/shane/dev/yocto-classes/sources/poky/meta/recipes-extended/libnsl/libnsl2_git.bb:do_compile) failed with exit code '1'
Comment