busybox 1.16.1执行完make menuconfig设置了CROSS_COMPILE后执行make ARCH=arm?

[root@localhostbusybox-1.16.1]#makeARCH=armCCmiscutils/flash_eraseall.omiscutils/flas... [root@localhost busybox-1.16.1]# make ARCH=arm
CC miscutils/flash_eraseall.o
miscutils/flash_eraseall.c:14:26: error: mtd/mtd-user.h: No such file or directory
miscutils/flash_eraseall.c:54: error: expected ')' before '*' token
miscutils/flash_eraseall.c: In function 'flash_eraseall_main':
miscutils/flash_eraseall.c:68: error: 'mtd_info_t' undeclared (first use in this function)
miscutils/flash_eraseall.c:68: error: (Each undeclared identifier is reported only once
miscutils/flash_eraseall.c:68: error: for each function it appears in.)
miscutils/flash_eraseall.c:68: error: expected ';' before 'meminfo'
miscutils/flash_eraseall.c:69: warning: ISO C90 forbids mixed declarations and code
miscutils/flash_eraseall.c:70: error: 'erase_info_t' undeclared (first use in this function)
miscutils/flash_eraseall.c:70: error: expected ';' before 'erase'
miscutils/flash_eraseall.c:71: warning: ISO C90 forbids mixed declarations and code
miscutils/flash_eraseall.c:84: error: 'MEMGETINFO' undeclared (first use in this function)
miscutils/flash_eraseall.c:84: error: 'meminfo' undeclared (first use in this function)
miscutils/flash_eraseall.c:85: error: 'erase' undeclared (first use in this function)
miscutils/flash_eraseall.c:86: error: 'MTD_NANDFLASH' undeclared (first use in this function)
miscutils/flash_eraseall.c:101: error: storage size of 'oobinfo' isn't known
miscutils/flash_eraseall.c:103: error: 'MEMGETOOBSEL' undeclared (first use in this function)
miscutils/flash_eraseall.c:106: error: 'MTD_NANDECC_AUTOPLACE' undeclared (first use in this function)
miscutils/flash_eraseall.c:101: warning: unused variable 'oobinfo'
miscutils/flash_eraseall.c:147: error: 'MEMGETBADBLOCK' undeclared (first use in this function)
miscutils/flash_eraseall.c:168: warning: implicit declaration of function 'show_progress'
miscutils/flash_eraseall.c:170: error: 'MEMERASE' undeclared (first use in this function)
miscutils/flash_eraseall.c:178: error: storage size of 'oob' isn't known
miscutils/flash_eraseall.c:183: error: 'MEMWRITEOOB' undeclared (first use in this function)
miscutils/flash_eraseall.c:178: warning: unused variable 'oob'
make[1]: *** [miscutils/flash_eraseall.o] Error 1
make: *** [miscutils] Error 2
展开
 我来答
loveKEYBOARD
2014-08-28 · TA获得超过382个赞
知道小有建树答主
回答量:746
采纳率:86%
帮助的人:380万
展开全部
你直接make看能否过,感觉很像交叉编译器没有指定上。
另外,你可以先不执行make menuconfig的,直接make一下看文件是否完整。
还有,搞了make menuconfig后,最好再执行一次make clean清一下垃圾文件。
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式