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
Quoted 21 lines · Mark Jackson
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
Quoted 8 lines
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.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130411/d8b3dca1/attachment.pgp>
Quoted 2 lines · Tom Rini
Quoted 1 line · Mark Jackson
On the current git master, I get the following build failure:-
<snip>
Quoted 1 line
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.