[U-Boot] Unable to compile

Kevin Welsh kwelsh at welshtechnologies.com
Fri Apr 22 05:33:13 CEST 2016


After moving to v2006.03, I can no longer compile with my existing defconfig:


cmd/built-in.o: In function `do_fastboot':
/home/kdubious/u-boot/cmd/fastboot.c:34: undefined reference to `g_dnl_clear_detach'
/home/kdubious/u-boot/cmd/fastboot.c:35: undefined reference to `g_dnl_register'
/home/kdubious/u-boot/cmd/fastboot.c:39: undefined reference to `g_dnl_board_usb_cable_connected'
/home/kdubious/u-boot/cmd/fastboot.c:47: undefined reference to `g_dnl_detach'
/home/kdubious/u-boot/cmd/fastboot.c:57: undefined reference to `g_dnl_unregister'
/home/kdubious/u-boot/cmd/fastboot.c:58: undefined reference to `g_dnl_clear_detach'
cmd/built-in.o: In function `do_usb_mass_storage':
/home/kdubious/u-boot/cmd/usb_mass_storage.c:159: undefined reference to `fsg_init'
/home/kdubious/u-boot/cmd/usb_mass_storage.c:166: undefined reference to `g_dnl_register'
/home/kdubious/u-boot/cmd/usb_mass_storage.c:176: undefined reference to `g_dnl_board_usb_cable_connected'
/home/kdubious/u-boot/cmd/usb_mass_storage.c:183: undefined reference to `g_dnl_board_usb_cable_connected'
/home/kdubious/u-boot/cmd/usb_mass_storage.c:206: undefined reference to `fsg_main_thread'
/home/kdubious/u-boot/cmd/usb_mass_storage.c:222: undefined reference to `g_dnl_unregister'
cmd/built-in.o: In function `do_dfu':
/home/kdubious/u-boot/cmd/dfu.c:56: undefined reference to `g_dnl_clear_detach'
/home/kdubious/u-boot/cmd/dfu.c:57: undefined reference to `g_dnl_register'
/home/kdubious/u-boot/cmd/dfu.c:59: undefined reference to `g_dnl_detach'
/home/kdubious/u-boot/cmd/dfu.c:106: undefined reference to `g_dnl_unregister'
/home/kdubious/u-boot/cmd/dfu.c:114: undefined reference to `g_dnl_clear_detach'
/home/kdubious/u-boot/cmd/dfu.c:27: undefined reference to `dfu_defer_flush'
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script
arm-linux-gnueabihf-ld.bfd: final link failed: Invalid operation


Am doing something wrong?


More information about the U-Boot mailing list