[U-Boot] Build failure in u-boot-mmc/master: undefined reference to error

Jaehoon Chung jh80.chung at samsung.com
Mon Oct 23 02:53:43 UTC 2017


Dear Stephen,

On 10/21/2017 12:47 AM, Stephen Warren wrote:
> With the latest content of u-boot-mmc/master, 41dc35a149b3 "drivers: mmc: Avoid memory leak in case of failure", all Tegra boards (perhaps others too; my system only tests Tegra) fail to build with the following error:

I had found the same error at build testing, I will fix it on today.
Thanks for noticing it.

Best Regards,
Jaehoon Chung

> 
>> drivers/built-in.o: In function `mmc_select_mode_and_width':
>> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/drivers/mmc/mmc.c:1847: undefined reference to `error'
>> drivers/built-in.o: In function `bus_width':
>> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/drivers/mmc/mmc.c:1436: undefined reference to `error'
>> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/drivers/mmc/mmc.c:1436: undefined reference to `error'
>> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/drivers/mmc/mmc.c:1436: undefined reference to `error'
>> drivers/built-in.o: In function `mmc_get_capabilities':
>> /var/lib/jenkins/workspace/u-boot-denx_uboot_mmc-master-build/src/u-boot/drivers/mmc/mmc.c:831: undefined reference to `error'
>> arm-none-eabi-ld.bfd: BFD (2.24-2ubuntu2+4) 2.24 assertion fail ../../binutils-2.24/bfd/elf32-arm.c:7696
>> arm-none-eabi-ld.bfd: error: required section '.rel.plt' not found in the linker script
>> arm-none-eabi-ld.bfd: final link failed: Invalid operation
> 
> 
> 



More information about the U-Boot mailing list