lede icon indicating copy to clipboard operation
lede copied to clipboard

代码更新到9.1.1后编译出错,mtdsplit,系统为WNDR4300v1

Open monsterzzzz opened this issue 7 years ago • 4 comments

CC drivers/mtd/mtdsplit/mtdsplit_uimage.o drivers/mtd/mtdsplit/mtdsplit_uimage.c:244:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id mtdsplit_uimage_of_match_table[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/mtd/mtdsplit/mtdsplit_uimage.c:245:4: error: field name not in record or union initializer { .compatible = "denx,uimage" }, ^ drivers/mtd/mtdsplit/mtdsplit_uimage.c:245:4: note: (near initialization for 'mtdsplit_uimage_of_match_table') drivers/mtd/mtdsplit/mtdsplit_uimage.c:311:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id mtdsplit_uimage_netgear_of_match_table[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/mtd/mtdsplit/mtdsplit_uimage.c:312:4: error: field name not in record or union initializer { .compatible = "netgear,uimage" }, ^ drivers/mtd/mtdsplit/mtdsplit_uimage.c:312:4: note: (near initialization for 'mtdsplit_uimage_netgear_of_match_table') drivers/mtd/mtdsplit/mtdsplit_uimage.c:311:34: warning: 'mtdsplit_uimage_netgear_of_match_table' defined but not used [-Wunused-variable] static const struct of_device_id mtdsplit_uimage_netgear_of_match_table[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/mtd/mtdsplit/mtdsplit_uimage.c:244:34: warning: 'mtdsplit_uimage_of_match_table' defined but not used [-Wunused-variable] static const struct of_device_id mtdsplit_uimage_of_match_table[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scripts/Makefile.build:304: recipe for target 'drivers/mtd/mtdsplit/mtdsplit_uimage.o' failed make[8]: *** [drivers/mtd/mtdsplit/mtdsplit_uimage.o] Error 1 scripts/Makefile.build:555: recipe for target 'drivers/mtd/mtdsplit' failed make[7]: *** [drivers/mtd/mtdsplit] Error 2 scripts/Makefile.build:555: recipe for target 'drivers/mtd' failed make[6]: *** [drivers/mtd] Error 2 Makefile:1026: recipe for target 'drivers' failed make[5]: *** [drivers] Error 2

monsterzzzz avatar Jan 03 '19 01:01 monsterzzzz

WNDR4300 v1 更新编译也出现主题错误

Lancenas avatar Jan 03 '19 04:01 Lancenas

动作大,还是十一月份的稳妥

hcym avatar Jan 03 '19 07:01 hcym

一样编译出错

choushui007 avatar Jan 03 '19 10:01 choushui007

我刚刚编译4300 v1 成功没出错。是不是profile选错了?

AmberisMyShiba avatar Jan 05 '19 06:01 AmberisMyShiba