编译友善之臂的mini2440 u-boot时出现如下错误
cmd_menu.c:61: warning: function declaration isn't a prototype
cmd_menu.c: In function 'param_menu_shell':
cmd_menu.c:77: warning: unused variable 'val_buf'
cmd_menu.c:76: warning: unused variable 'name_buf'
cmd_menu.c: In function 'menu_shell':
cmd_menu.c:184: warning: implicit declaration of function 'bBootFrmNORFlash'
cmd_menu.c:285: warning: passing argument 2 of 'memsize_parse2' from incompatible pointer type
cmd_menu.c:32: note: expected 'const char **' but argument is of type 'char **'
cmd_menu.c:173: warning: unused variable 'mtd'
cmd_menu.c:172: warning: unused variable 'offset'
make[1]: *** [cmd_menu.o] Error 1
make[1]: Leaving directory `/home/ncl/s3c2440/u-boot-1.1.6/common'
make: *** [common/libcommon.a] Error 2
请各位大侠给支个招 |