1.miscutils/ionice.c:16: error: 'SYS_ioprio_set' undeclared (first use in> this function)
解决方法:
在busybox应用里关闭 ionice 选项
$ make meunconfig
选择下面的菜单:
Miscellaneous Utilities --->
[ * ] ionice
按空格去掉这个选项
2.
miscutils/ubi_tools.c:63:26: mtd/ubi-user.h: No such file or directory
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)
解决办法:
在include下新建mtd目录,并从别处拷贝文件ubi-user.h(我是从uboot拷贝的,也能用u-boot/include/mtd/ubi-user.h)到该目录下,这个文件自己找吧,上传不上来
3.
networking/interface.c:806: error: `ARPHRD_INFINIBAND' undeclared here (not in a function)
networking/interface.c:806: error: initializer element is not constant
networking/interface.c:806: error: (near initialization for `ib_hwtype.type')
在文件interface.c中加入如下语句
#define ARPHRD_INFINIBAND 32 /* InfiniBand */
这个是从文件include/linux/if_arp.h中得到
4.
networking/udhcp/dhcpc.c: In function `udhcp_raw_socket':
networking/udhcp/dhcpc.c:821: error: elements of array `filter_instr' have incomplete type
把network下面不要的一堆东西干掉吧
5.
/opt/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/percpu.h:45: error: `GFP_KERNEL' undeclared (first use in this function)
/opt/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/percpu.h:45: error: (Each undeclared identifier is reported only once
/opt/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/percpu.h:45: error: for each function it appears in.)
In file included from /opt/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/ext2_fs.h:20,
去掉
Linux System Utilities --->
[ ] mkfs_ext2
[ ] mkfs_vfat
阅读(4140) | 评论(0) | 转发(1) |