Hi @logic887
To check the error log, log.do_compile might find details to help fix the do_compile error.
Have you followed the IMX_YOCTO_PROJECT_USERS_GUIDE_LF6.1.1_1.0.0.pdf for host package? and the recommended minimum Ubuntu version is 20.04 or later.
You will find Yocto user guide from the link: L6.1.1_1.0.0_LINUX_DOCS (nxp.com)
Best regards
Harvey