[U-Boot-Users] problem with upgrading u-boot version
Stuart Wood
stuart.wood at labxtechnologies.com
Thu May 22 15:23:44 CEST 2008
Hi All,
I'm currently porting our u-boot implementation that is about 2 years old
to the current git repository, and I've hit a snag during linking.
It can't find my 'board_nand_init' function. It defined in my nand.c and it
is being compiled. So what could I have missed in reconfiguring my board?
I'm getting this error:
make[1]: Leaving directory `/home/stuart/ArmLinux/u-boot_git/board/mix_evm'
UNDEF_SYM=`arm-linux-objdump -x board/mix_evm/libmix_evm.a
lib_generic/libgeneric.a cpu/arm920t/libarm920t.a
cpu/arm920t/ep93xx/libep93xx.a lib_arm/libarm.a fs/cramfs/libcramfs.a
fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a
drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a
drivers/dma/libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a
drivers/input/libinput.a drivers/misc/libmisc.a drivers/mtd/libmtd.a
drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a
drivers/mtd/onenand/libonenand.a drivers/net/libnet.a
drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a
drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a
common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a | \
sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
cd /home/stuart/ArmLinux/u-boot_git && arm-linux-ld -Bstatic
-T /home/stuart/ArmLinux/u-boot_git/board/mix_evm/u-boot.lds -Ttext
0xE5400000 $UNDEF_SYM cpu/arm920t/start.o \
--start-group lib_generic/libgeneric.a
cpu/arm920t/libarm920t.a cpu/arm920t/ep93xx/libep93xx.a lib_arm/libarm.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a
drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a
drivers/dma/libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a
drivers/input/libinput.a drivers/misc/libmisc.a drivers/mtd/libmtd.a
drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a
drivers/mtd/onenand/libonenand.a drivers/net/libnet.a
drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a
drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a
common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a
board/mix_evm/libmix_evm.a --end-group -L
/opt/buildroot/lib/gcc/arm-linux-uclibc/3.4.6 -lgcc \
-Map u-boot.map -o u-boot
drivers/mtd/nand/libnand.a(nand.o): In function `nand_init_chip':
/home/stuart/ArmLinux/u-boot_git/drivers/mtd/nand/nand.c:50: undefined
reference to `board_nand_init'
make: *** [u-boot] Error 1
Thanks
--
Stuart Wood
Lab X Technologies, LLC
176 Anderson Ave.
Suite 302
Rochester, NY 14607
Phone: (585) 271-7790 x207
Fax: (585) 473.4707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080522/42ac9c74/attachment.htm
More information about the U-Boot
mailing list