AnsweredAssumed Answered

[Yocto BSP 1.8_ga] Build u-boot image failed

Question asked by charles huang on Mar 24, 2016
Latest reply on Jul 29, 2016 by D.w. Luo

Duplicate steps:

step 1) source environment

#!/bin/bash

export CROSS_COMPILE=/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-

export ARCH=arm

 

step 2) cd u-boot-imx/

step 3) make distclean

step 4) make mx6qpsabresd_config

step 5) make

error log message:

...

...

  CC      examples/standalone/stubs.o

  LD      examples/standalone/libstubs.o

  CC      examples/standalone/hello_world.o

  LD      examples/standalone/hello_world

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc

make[2]: *** [examples/standalone/hello_world] Error 1

make[1]: *** [examples/standalone] Error 2

make: *** [examples] Error 2

 

Can you help me to solve this issue?

 

Thanks.

 

Best Regards,

Alex

Outcomes