AnsweredAssumed Answered

oe_runmake failed

Question asked by MONICA A on Mar 12, 2019
Latest reply on Mar 12, 2019 by Bio_TICFSL

I am building a BSP stack through YOCTO set up folloeing the document, downloaded from the below link.

 

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwjH5-PJ5vzgAhUG4HMBHWNDBPkQFjAAegQIChAC&url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2Fi.MX_Yocto_Project_User%2527s_Guide_Linux.pdf&usg=AOvVaw1wkWV9B7S5Dz-8XhSwZ81c

 

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.

Outcomes