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 展开
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 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询