Bulding image with Yocto

Hello everyone, so I’m trying to build the image with this command ‘bitbake core-image-minimal’

BUt I got errors I couldnt resolve actually and I would appreciate some help please.

ERROR: m4-native-1.4.18-r0 do_compile: oe_runmake failed

ERROR: m4-native-1.4.18-r0 do_compile: Function failed: do_compile (log file is located at /home/yasmine/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_compile.39959)

ERROR: Logfile of failure stored in: /home/yasmine/poky/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_compile.39959

ERROR: Task (/home/yasmine/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile) failed with exit code ‘1’

Hello,

Which BSP are you using? Fore which Machine (or Toradex Module)?

Are you sure that you’ve installed all the required dependencies for Yocto development?

But apart from that, honestly, I would recommend you use Ubuntu 18.04 for working with Yocto.

Otherwise, you can try this patch to fix this issue.

Best regards,
André Curvello

1 Like