[U-Boot] arm-linux-ld: assertion failure

Quentin Strydom quentinstrydom8 at yahoo.co.uk
Wed Nov 28 16:30:42 CET 2012


Hi,

I'm trying to build u-boot for a igep0020 nand board but failing, here 
are my last few lines of output:

fs/libfs.o: In function `do_load':
/home/qstrydom/CSI3/BPC/u-boot/fs/fs.c:297: undefined reference to 
`get_timer'
/home/qstrydom/CSI3/BPC/u-boot/fs/fs.c:299: undefined reference to 
`get_timer'
lib/libgeneric.o: In function `udelay':
/home/qstrydom/CSI3/BPC/u-boot/lib/time.c:40: undefined reference to 
`__udelay'
board/isee/igep0020/libigep0020.o: In function `board_mmc_init':
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:137: 
undefined reference to `omap_mmc_init'
board/isee/igep0020/libigep0020.o: In function `misc_init_r':
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:148: 
undefined reference to `twl4030_power_init'
board/isee/igep0020/libigep0020.o: In function `setup_net_chip':
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:123: 
undefined reference to `gpio_request'
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:124: 
undefined reference to `gpio_direction_output'
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:125: 
undefined reference to `gpio_set_value'
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:127: 
undefined reference to `gpio_set_value'
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:129: 
undefined reference to `gpio_set_value'
board/isee/igep0020/libigep0020.o: In function `board_eth_init':
/home/qstrydom/CSI3/BPC/u-boot/board/isee/igep0020/igep0020.c:174: 
undefined reference to `smc911x_initialize'
arm-linux-ld: BFD (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022 - 
Linaro GCC 2012.10) 2.22 assertion fail 
/cbuild/slaves/oort12/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/src/binutils-2.22/bfd/elf32-arm.c:13830
/bin/sh: line 1:  5984 Segmentation fault      (core dumped) 
arm-linux-ld -pie -T u-boot.lds -Bstatic $UNDEF_LST 
arch/arm/cpu/armv7/start.o --start-group api/libapi.o 
arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/omap3/libomap3.o 
arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o 
drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o 
drivers/dfu/libdfu.o drivers/dma/libdma.o drivers/fpga/libfpga.o 
drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o 
drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o 
drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o 
drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o 
drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o 
drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o 
drivers/power/battery/libbattery.o 
drivers/power/fuel_gauge/libfuel_gauge.o drivers/power/libpower.o 
drivers/power/pmic/libpmic.o drivers/rtc/librtc.o 
drivers/serial/libserial.o drivers/spi/libspi.o 
drivers/twserial/libtws.o drivers/usb/eth/libusb_eth.o 
drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o 
drivers/usb/musb-new/libusb_musb-new.o drivers/usb/musb/libusb_musb.o 
drivers/usb/phy/libusb_phy.o drivers/usb/ulpi/libusb_ulpi.o 
drivers/video/libvideo.o drivers/watchdog/libwatchdog.o 
fs/cbfs/libcbfs.o fs/cramfs/libcramfs.o fs/ext4/libext4fs.o 
fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/libfs.o 
fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o 
fs/zfs/libzfs.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o 
lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o post/libpost.o 
test/libtest.o board/isee/igep0020/libigep0020.o --end-group 
/home/qstrydom/CSI3/BPC/u-boot/arch/arm/lib/eabi_compat.o -L 
/opt/gcc-linaro/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3 -lgcc -Map 
u-boot.map -o u-boot
make: *** [u-boot] Error 139




More information about the U-Boot mailing list