[U-Boot] Build failure on am335x_evm

On the current git master, I get the following build failure:-
$ make am335x_evm .... common/libcommon.o: In function `do_fat_fsinfo': /home/mpfj/u-boot/u-boot/common/cmd_fat.c:87: undefined reference to `fat_set_blk_dev' /home/mpfj/u-boot/u-boot/common/cmd_fat.c:92: undefined reference to `file_fat_detectfs' drivers/mtd/nand/libnand.o: In function `nand_register': /home/mpfj/u-boot/u-boot/drivers/mtd/nand/nand.c:66: undefined reference to `add_mtd_device' fs/libfs.o:(.data+0x4): undefined reference to `fat_set_blk_dev' fs/libfs.o:(.data+0x8): undefined reference to `file_fat_ls' fs/libfs.o:(.data+0xc): undefined reference to `fat_read_file' fs/libfs.o:(.data+0x10): undefined reference to `fat_close' fs/libfs.o:(.data+0x18): undefined reference to `ext4fs_probe' fs/libfs.o:(.data+0x1c): undefined reference to `ext4fs_ls' fs/libfs.o:(.data+0x20): undefined reference to `ext4_read_file' fs/libfs.o:(.data+0x24): undefined reference to `ext4fs_close' arm-linux-ld.bfd: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:7677 arm-linux-ld.bfd: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:7677 arm-linux-ld.bfd: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:7677 arm-linux-ld.bfd: error: required section '.rel.plt' not found in the linker script arm-linux-ld.bfd: final link failed: Invalid operation make[1]: *** [u-boot] Error 1 make[1]: Leaving directory `/home/mpfj/u-boot/u-boot' make: *** [am335x_evm] Error 2
Any ideas ?
Cheers Mark JACKSON

On Thu, Apr 11, 2013 at 10:58:19AM +0100, Mark Jackson wrote:
On the current git master, I get the following build failure:-
$ make am335x_evm .... common/libcommon.o: In function `do_fat_fsinfo': /home/mpfj/u-boot/u-boot/common/cmd_fat.c:87: undefined reference to `fat_set_blk_dev' /home/mpfj/u-boot/u-boot/common/cmd_fat.c:92: undefined reference to `file_fat_detectfs' drivers/mtd/nand/libnand.o: In function `nand_register': /home/mpfj/u-boot/u-boot/drivers/mtd/nand/nand.c:66: undefined reference to `add_mtd_device' fs/libfs.o:(.data+0x4): undefined reference to `fat_set_blk_dev' fs/libfs.o:(.data+0x8): undefined reference to `file_fat_ls' fs/libfs.o:(.data+0xc): undefined reference to `fat_read_file' fs/libfs.o:(.data+0x10): undefined reference to `fat_close' fs/libfs.o:(.data+0x18): undefined reference to `ext4fs_probe' fs/libfs.o:(.data+0x1c): undefined reference to `ext4fs_ls' fs/libfs.o:(.data+0x20): undefined reference to `ext4_read_file' fs/libfs.o:(.data+0x24): undefined reference to `ext4fs_close' arm-linux-ld.bfd: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:7677 arm-linux-ld.bfd: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:7677 arm-linux-ld.bfd: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:7677 arm-linux-ld.bfd: error: required section '.rel.plt' not found in the linker script arm-linux-ld.bfd: final link failed: Invalid operation make[1]: *** [u-boot] Error 1 make[1]: Leaving directory `/home/mpfj/u-boot/u-boot' make: *** [am335x_evm] Error 2
What rev are you on? 98f9200 should have fixed this issue.

On 11/04/13 14:13, Tom Rini wrote:
On Thu, Apr 11, 2013 at 10:58:19AM +0100, Mark Jackson wrote:
On the current git master, I get the following build failure:-
<snip>
What rev are you on? 98f9200 should have fixed this issue.
Fixed ... I needed to do a "make distclean" when I switched compiling from one board to another.
Cheers Mark J.
participants (2)
-
Mark Jackson
-
Tom Rini