[U-Boot] Unable to compile
Tom Rini
trini at konsulko.com
Fri Apr 22 15:50:13 CEST 2016
On Fri, Apr 22, 2016 at 03:33:13AM +0000, Kevin Welsh wrote:
> 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?
It's likely some option to enable the gadget controller you use has
moved to Kconfig, re-run menuconfig/config/etc and enable it.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160422/f243e6df/attachment.sig>
More information about the U-Boot
mailing list