[U-Boot-Users] VCMA9 compile error with nand support

Joe Culler joe.culler at gmail.com
Wed Mar 29 15:53:11 CEST 2006


Hi there,

Since vcma9 board supports booting from NAND. I enabled
CFG_CMD_NAND for CONFIG_COMMANDS, then I tried to compile it, I got:

board/mpl/vcma9/libvcma9.a(vcma9.o): In function `nand_init':
/home/joe/u-boot/board/mpl/vcma9/vcma9.c:182: undefined reference to
`nand_probe'
common/libcommon.a(cmd_nand.o): In function `nand_dump':
/home/joe/u-boot/common/cmd_nand.c:57: undefined reference to `nand_read_raw'
common/libcommon.a(cmd_nand.o): In function `do_nand':
/home/joe/u-boot/common/cmd_nand.c:225: undefined reference to `nand_info'
/home/joe/u-boot/common/cmd_nand.c:225: undefined reference to
`nand_curr_device'
/home/joe/u-boot/common/cmd_nand.c:260: undefined reference to
`nand_curr_device'
common/libcommon.a(cmd_nand.o): In function `do_nandboot':
/home/joe/u-boot/common/cmd_nand.c:376: undefined reference to `nand_info'
make: *** [u-boot] Error 1

Looks like vcma9 with nand support is broken.
Does anyone know how to fix it? Thanks.

Regards,
Joe.




More information about the U-Boot mailing list