Hi All, <br><br>I'm currently porting our u-boot implementation that is about 2 years old <br>to the current git repository, and I've hit a snag during linking. <br><br>It can't find my 'board_nand_init' function. It defined in my nand.c and it <br>
is being compiled. So what could I have missed in reconfiguring my board?<br><br>I'm getting this error:<br><br>make[1]: Leaving directory `/home/stuart/ArmLinux/u-boot_git/board/mix_evm'<br>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 | \<br>
sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\<br> 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 \<br>
--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 \<br>
-Map u-boot.map -o u-boot<br>drivers/mtd/nand/libnand.a(nand.o): In function `nand_init_chip':<br>/home/stuart/ArmLinux/u-boot_git/drivers/mtd/nand/nand.c:50: undefined reference to `board_nand_init'<br>
make: *** [u-boot] Error 1<br><br clear="all"> <br>Thanks<br>-- <br>Stuart Wood <br><br>Lab X Technologies, LLC<br>176 Anderson Ave.<br>Suite 302<br>Rochester, NY 14607<br>Phone: (585) 271-7790 x207<br>Fax: (585) 473.4707