MTD compile error
LOG/TQM8548_BE.ERR:common/libcommon.a(cmd_mtdparts.o): In function `part_validate_eraseblock':
LOG/TQM8548_BE.ERR:/local/home/galak/git/u-boot-85xx/common/ cmd_mtdparts.c:316: undefined reference to get_mtd_device_nm' LOG/TQM8548_BE.ERR:common/libcommon.a(cmd_mtdparts.o): In function mtd_device_validate':
LOG/TQM8548_BE.ERR:/local/home/galak/git/u-boot-85xx/common/ cmd_mtdparts.c:706: undefined reference to `get_mtd_device_nm' LOG/TQM8548_BE.ERR:make: *** [u-boot] Error 1
- k
Hi Kumar,
Quoted 9 lines · On Saturday 05 September 2009 20:28:11 Kumar Gala wrote:
LOG/TQM8548_BE.ERR:common/libcommon.a(cmd_mtdparts.o): In function `part_validate_eraseblock':
LOG/TQM8548_BE.ERR:/local/home/galak/git/u-boot-85xx/common/ cmd_mtdparts.c:316: undefined reference toget_mtd_device_nm' LOG/TQM8548_BE.ERR:common/libcommon.a(cmd_mtdparts.o): In functionmtd_device_validate':
LOG/TQM8548_BE.ERR:/local/home/galak/git/u-boot-85xx/common/ cmd_mtdparts.c:706: undefined reference to `get_mtd_device_nm' LOG/TQM8548_BE.ERR:make: *** [u-boot] Error 1
Please check if CONFIG_MTD_DEVICE is defined.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de