Skip to contentSkip to conversation

MTD compile error

U-Boot Kumar Gala 2 participants 2 messages Sep 5, 2009 – Sep 7, 2009

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

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

#1 lore raw

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 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

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