I am building a BSP stack through YOCTO set up folloeing the document, downloaded from the below link.
Machine configured is imxqmlpddr4arm2 and DSITO set up is fsl-imx-xwayland.
But when giving the bitbake command for fsl-image-validation-imx, there is an error for oe_runmake failed as below :
ERROR: gmp-native-6.1.2-r0 do_compile: oe_runmake failed
ERROR: gmp-native-6.1.2-r0 do_compile: Function failed: do_compile (log file is located at /home/kpit/2_12032019/imx-yocto-bsp/monica/tmp/work/x86_64-linux/gmp-native/6.1.2-r0/temp/log.do_compile.18847)
ERROR: Logfile of failure stored in: /home/kpit/2_12032019/imx-yocto-bsp/monica/tmp/work/x86_64-linux/gmp-native/6.1.2-r0/temp/log.do_compile.18847
and
| ./.libs/libgmp.so: error adding symbols: File in wrong format
| collect2: error: ld returned 1 exit status
| make[2]: *** [libgmpxx.la] Error 1
| make[2]: Leaving directory `/home/kpit/2_12032019/imx-yocto-bsp/monica/tmp/work/x86_64-linux/gmp-native/6.1.2-r0/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/kpit/2_12032019/imx-yocto-bsp/monica/tmp/work/x86_64-linux/gmp-native/6.1.2-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/kpit/2_12032019/imx-yocto-bsp/monica/tmp/work/x86_64-linux/gmp-native/6.1.2-r0/temp/log.do_compile.18847)
ERROR: Task (virtual:native:/home/kpit/2_12032019/imx-yocto-bsp/sources/poky/meta/recipes-support/gmp/gmp_6.1.2.bb:do_compile) failed with exit code '1'
Kindly help on priority on the above issue.
Thanks in advance.
Hi Monica,
Please try to clean all and re-build
Regards