toolchain and native library issue for IMX8 and Yocto


toolchain and native library issue for IMX8 and Yocto

Contributor II

I've build uboot, kernel, and rootfs images(using bitbake commands) and success bring up on the Yocto board, but i meet some issue on toolchain and native library when not to use bitbake commands...

  • source .../fsl-imx-wayland/4.14-sumo/environment-setup-aarch64-poky-linux
  • trying to build busybox by make commands => failed by "some native library not found"
  • Also, i got similar issues when trying to build kernel driver module which using xenomai-3.x => failed by "can not found linux native headers"

Any suggestion to solve these conflicts between toolchain and linux native library and headers

Thank You~

[Error detail]

  1. busybox error msg:
    /usr/bin/ld: cannot find -lncursesw

    => i found library under "imx-yocto-bsp/build-wayland/tmp/work/aarch64-poky-linux/busybox/1.27.2-r0/recipe-sysroot-native/" and trying to copy the library to toolchain, but still failed
  2. the headers in 3rd party xenomai using "include_next" to include the linux native headers, and failed by "file not found", since kernel can not include glibc headers
0 件の賞賛
1 返信

NXP TechSupport
NXP TechSupport

Hi redwill


for changing image one can look at

for build steps, toolchain one can follow documentation :  i.MX Yocto Project User’s Guide​

and post specific yocto question on meta-fsl-arm mailing list


Best regards

0 件の賞賛