qemu-2.4.0编译时出错:error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
来源:互联网 发布:ecshop3源码下载 编辑:程序博客网 时间:2024/05/16 08:20
block/raw-posix.c: In function ‘xfs_write_zeroes’:
block/raw-posix.c:1035: error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)block/raw-posix.c:1035: error: (Each undeclared identifier is reported only once
block/raw-posix.c:1035: error: for each function it appears in.)
make: *** [block/raw-posix.o] Error 1
解决方法:
XFS_IOC_ZERO_RANGE是linux2.6.37引进的宏,若使用版本小于该版本,则会出错
解决方法:
方法1. 在内核版本2.6.37以上的系统上编译,例如rhel7.0
方法2. 使用./configure --disable-xfsctl选项,禁掉qemu的xfs功能
0 0
- qemu-2.4.0编译时出错:error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
- C编译时`true'+undeclared+(first+use+in+this+function)
- C编译时`true' undeclared (first use in this function)
- C编译时`true' undeclared (first use in this function)
- C编译时`true' undeclared (first use in this function)
- C编译时`true' undeclared (first use in this function)
- Linux驱动编程编译模块时出现 error:'TASK_NORMAL' undeclared (first use in this function
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- error: 'FILE' undeclared (first use in this function)
- error: 'FALSE' undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- error: ‘IPPROTO_RAW’ undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- error: ‘SA_INTERRUPT’ undeclared (first use in this function)
- error: ‘PATH_MAX’ undeclared (first use in this function)
- 问题解决: error: ‘SCM_CREDENTIALS’ undeclared (first use in this function)
- 【MySQL】【leetcode】 Customers Who Never Order解题报告
- for what? so what?
- 基本C++概念
- jQuery搜索子元素的方法教程
- mysql 如何设置自动增长序列 sequence(一)
- qemu-2.4.0编译时出错:error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
- c# XML和实体类之间相互转换(序列化和反序列化)
- Linux双网卡:一个配置外网,一个配置内网
- Windows与Linux程序的返回值
- C#内存优化
- WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster uito ensure
- js 页面数字倒计时
- 开源大数据处理工具汇总(下)
- Linux多线程基础学习(五)线程同步-条件变量