解决busybox编译错误
来源:互联网 发布:淘宝怎么查付款顺序 编辑:程序博客网 时间:2024/05/30 22:57
busybox版本为
busybox1.19.3
miscutils/ubi_tools.c: In function 'ubi_tools_main':
miscutils/ubi_tools.c:133: error: 'UBI_DEV_NUM_AUTO' undeclared (first use in this function)
miscutils/ubi_tools.c:133: error: (Each undeclared identifier is reported only once
miscutils/ubi_tools.c:133: error: for each function it appears in.)
miscutils/ubi_tools.c:153: error: storage size of 'req' isn't known
miscutils/ubi_tools.c:161: error: 'UBI_IOCATT' undeclared (first use in this function)
miscutils/ubi_tools.c:153: warning: unused variable 'req'
miscutils/ubi_tools.c:167: error: 'UBI_IOCDET' undeclared (first use in this function)
make[1]: *** [miscutils/ubi_tools.o] Error 1
解决方法:
核心问题就是无法找到mtd/ubi-user.h头文件,这是一个Linux下新支持的UBI文件系统,
需要手工加入。从Linux2.6.38的include\mtd\ubi-user.h拷贝到busybox下的include\mtd下,
如果busybox下的include没有mtd文件夹,那就先建立一个mtd文件夹,然后复制了。这样做了之后,编译就OK了
- 解决busybox编译错误
- busybox编译错误解决
- BusyBox 1.11.2 编译错误解决
- 编译busybox-1.13.0错误解决
- busybox编译错误
- busybox编译错误解决方法
- busybox编译错误解决方案
- 编译busybox的一些错误
- 编译busybox的一些错误
- 编译busybox 遇到的一个编译错误
- 编译Busybox产生的两个错误
- busybox 编译错误make menuconfig…
- Busybox 1.17.4 编译及错误解决方案
- BusyBox编译
- 编译busybox
- busybox编译
- 编译busybox
- busybox编译
- tomcat,jboss,weblogic配置虚拟目录
- 第十四周实验报告一(用递归函数求解表达式)
- 阻塞队列使用---ArrayBlockingQueue
- hubble.net服务无法启动报错“System.Exception: Hasn't instance name:Default in registry”的解决方法
- what is Activity in Android
- 解决busybox编译错误
- continue break goto
- 如何在macox下面配置集成ios和android游戏教程
- java内存模型详解
- jsp 自定义taglib的uri问题透析(新手级)
- StringTokenizer类
- D 语言编写CGI程序
- 三、继电器、蜂鸣器使用
- Android 关于inflate