编译busybox出现问题

l3142600073 2017-09-03 09:58:16
我用的是Ubuntu16 编译工具链是arm-linux-4.5.1 busybox 是busybox-1.25.0
在网上已经查过资料但是问题还是没有解决啊! 哪位大神帮下忙谢谢啊
以下是make之后出现的问题

miscutils/nandwrite.c: In function 'nandwrite_main':
miscutils/nandwrite.c:152:3: error: 'MTD_FILE_MODE_RAW' undeclared (first use in this function)
miscutils/nandwrite.c:152:3: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:197: recipe for target 'miscutils/nandwrite.o' failed
make[1]: *** [miscutils/nandwrite.o] Error 1
Makefile:742: recipe for target 'miscutils' failed
make: *** [miscutils] Error 2
...全文
538 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
coolwriter 2017-09-06
  • 打赏
  • 举报
回复
看我博客置顶有详细说明,可以帮助你 http://blog.csdn.net/coolwriter/article/details/77801649
l3142600073 2017-09-05
  • 打赏
  • 举报
回复
我昨天make编译了一下,发现编译成功了,可能是我前几天把头文件加进去之后没有关机 你的那个方法我回去再试一次,
jklinux 2017-09-04
  • 打赏
  • 举报
回复
引用 楼主 l3142600073 的回复:
我用的是Ubuntu16 编译工具链是arm-linux-4.5.1 busybox 是busybox-1.25.0 在网上已经查过资料但是问题还是没有解决啊! 哪位大神帮下忙谢谢啊 以下是make之后出现的问题 miscutils/nandwrite.c: In function 'nandwrite_main': miscutils/nandwrite.c:152:3: error: 'MTD_FILE_MODE_RAW' undeclared (first use in this function) miscutils/nandwrite.c:152:3: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:197: recipe for target 'miscutils/nandwrite.o' failed make[1]: *** [miscutils/nandwrite.o] Error 1 Makefile:742: recipe for target 'miscutils' failed make: *** [miscutils] Error 2
我就是编这个版本的busybox没遇到这问题.方法: http://blog.csdn.net/jklinux/article/details/72679950 如果还是不行的话,也可以去掉这个错误相关的选项也是可以的

21,597

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧