| FORUM

FEDEVEL
Platform forum

USE DISCOUNT CODE
EXPERT30
TO SAVE $30 USD

U-boot, Linux and Yocto course cant compile for: iMX8M Industrial Development Kit

ssv102 , 12-07-2022, 03:37 PM
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'
marekb , 12-08-2022, 04:20 AM
Hello,

for VOIPAC imx8 kits it's not possible to use existing FEDEVEL courses. Please refer to new yocto setup for imx8m modules: https://github.com/voipac/yocto-imx8m-voipac

BR,

marek
Comments:
ssv102, 12-08-2022, 08:02 AM
Fedevel should fix their link on their course page then because when you click on it it takes you to the iMX8M Industrial Development Kit site which is why I ordered those boards.https://github.com/voipac/yocto-imx8m-voipac is the layer that we have been using but it does not compile.Is there a board (which is in stock) that you do recommend for your course?
marekb , 12-08-2022, 01:32 PM
yocto-imx8m-voipac layer was verified to be build on Ubuntu 18.04 and ubuntu 20.04. Which OS do you use for building please? Thanks.
robertferanec , 12-12-2022, 05:59 AM
@ssv102 I checked the link. VOIPAC has a new website and iMX6 link now goes to their home page. As mentioned in the course description, the board used in the YOCTO course is called OpenRex MAX, here is a link to their new website: https://www.voipac.com/imx6-openrex-development-kit-max

I apologize and thank you for pointing this out.
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?