mipsn32 uboot fails to build

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Thu Mar 3 11:51:52 UTC 2016


Hi,

can someone please fix this?

===> sys/boot/mips/uboot (all)
metadata.o: In function `md_copymodules':
/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/common/metadata.c:228: undefined reference to `elf32_relocation_offset'
/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/common/metadata.c:228: undefined reference to `elf32_relocation_offset'
metadata.o: In function `md_load':
/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/common/metadata.c:348: undefined reference to `elf32_relocation_offset'
/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/common/metadata.c:348: undefined reference to `elf32_relocation_offset'
/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/common/metadata.c:356: undefined reference to `elf32_relocation_offset'
metadata.o:/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/common/metadata.c:356: more undefined references to `elf32_relocation_offset' follow
/storage/head/obj//mips.mipsn32/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../uboot/lib/libuboot.a(elf_freebsd.o): In function `elf32_uboot_load':
elf_freebsd.c:(.text+0xa0): undefined reference to `elf32_loadfile'
elf_freebsd.c:(.text+0xa0): relocation truncated to fit: R_MIPS_26 against `elf32_loadfile'
/storage/head/obj//mips.mipsn32/scratch/tmp/bz/head.svn/sys/boot/mips/uboot/../../fdt/libfdt.a(fdt_loader_cmd.o): In function `fdt_setup_fdtp':
fdt_loader_cmd.c:(.text+0x1bd0): undefined reference to `elf32_relocation_offset'
fdt_loader_cmd.c:(.text+0x1bd4): undefined reference to `elf32_relocation_offset'
--- ubldr ---
*** [ubldr] Error code 1

bmake: stopped in /scratch/tmp/bz/head.svn/sys/boot/mips/uboot
--- all ---
*** [all] Error code 1



More information about the freebsd-mips mailing list