[ELDK] U-Boot compile with error
Wolfgang Denk
wd at denx.de
Tue Oct 28 20:37:27 CET 2014
Dear Ludo,
In message <10255331.42974.1414523210824.JavaMail.webmail at bluewin.ch> you wrote:
>
> I try to build u-boot (mainline) using the ELDK 5.5 for Beaglebone Black but the build compile with error.
> Here the end of the build output:
ELDK v5.5?
> AS arch/arm/cpu/armv7/omap3/lowlevel_init.o
> LD arch/arm/cpu/armv7/omap3/built-in.o
> CC common/main.o
> CC common/board_f.o
> CC common/cmd_version.o
> LD common/built-in.o
> CC drivers/usb/gadget/f_fastboot.o
> LD drivers/usb/gadget/built-in.o
> CC lib/display_options.o
> LD lib/built-in.o
> LD examples/standalone/hello_world
> arm-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 anybody help? Thanks
That's strange - I cannot reproduce this:
-> eldk-switch -m -r 5.5 armv7a-hf
Setup for armv7a-hf (using ELDK 5.5)
-> git describe
v2014.10-411-g6c499ab
-> make am335x_boneblack_defconfig
#
# configuration written to .config
#
#
# configuration written to spl/.config
#
-> make
scripts/kconfig/conf --silentoldconfig Kconfig
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
...
LD net/built-in.o
LD test/built-in.o
CC test/dm/cmd_dm.o
LD test/dm/built-in.o
CC examples/standalone/hello_world.o
CC examples/standalone/stubs.o
LD examples/standalone/libstubs.o
LD examples/standalone/hello_world
OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/hello_world.bin
LDS u-boot.lds
LD u-boot
OBJCOPY u-boot.bin
MKIMAGE u-boot.img
OBJCOPY u-boot.srec
AS spl/arch/arm/lib/vectors.o
AS spl/arch/arm/lib/crt0.o
CC spl/arch/arm/lib/spl.o
CC spl/arch/arm/lib/sections.o
...
LD spl/drivers/usb/musb-new/built-in.o
CC spl/drivers/watchdog/omap_wdt.o
LD spl/drivers/watchdog/built-in.o
LD spl/arch/arm/cpu/built-in.o
LDS spl/u-boot-spl.lds
LD spl/u-boot-spl
OBJCOPY spl/u-boot-spl.bin
MKIMAGE MLO
->
Can you please provide the exact commands you have been using?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It was the Law of the Sea, they said. Civilization ends at the wa-
terline. Beyond that, we all enter the food chain, and not always
right at the top." - Hunter S. Thompson
More information about the eldk
mailing list