fio编译错误一例
2014-06-10 22:59
357 查看
# make
CC gettime.o
In file included from fio.h:24,
from gettime.c:10:
os/os.h:45:20: error: libaio.h: No such file or directory
In file included from fio.h:30,
from gettime.c:10:
ioengine.h:23: error: field ‘iocb’ has incomplete type
make: *** [gettime.o] Error 1
解决方法:
# rpm -ivh libaio-devel-0.3.107-10.el6.x86_64.rpm
warning: libaio-devel-0.3.107-10.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libaio-devel ########################################### [100%]
CC gettime.o
In file included from fio.h:24,
from gettime.c:10:
os/os.h:45:20: error: libaio.h: No such file or directory
In file included from fio.h:30,
from gettime.c:10:
ioengine.h:23: error: field ‘iocb’ has incomplete type
make: *** [gettime.o] Error 1
解决方法:
# rpm -ivh libaio-devel-0.3.107-10.el6.x86_64.rpm
warning: libaio-devel-0.3.107-10.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libaio-devel ########################################### [100%]
相关文章推荐
- Delphi 7 编译时出现 Internal error U1295 错误时的处理一例
- Fortran编译错误一例
- 一例奇怪的编译错误(VC6)
- 一例奇怪的编译错误(VC6)
- VC经典的编译错误解决办法(转载)
- 解决IIS启动错误一例- -
- (C语言教程)附录一:Turbo C(V2.0)编译错误信息
- .NET在Debug模式下的编译错误
- 经典的编译错误
- centos6.5 编译安装lamp以及相关错误的解决方法
- 编译程序链接错误LNK2001
- 编译升级linux由2.4.20-8到2.6.10内核时,遇到的错误,以及解决方法
- 经典的编译错误
- asp.net程序编译调试时偶尔出现访问被拒绝的错误
- 编译结束时the .plg file has been modified outside of the source editor错误消息提示
- C++ 常见编译连接错误的解决!
- FC4下Emacs编译方法,产生的错误,及解决方法。
- “无法解析此名称,此项作业失败“的错误解决办法一例
- [解决问题]asp.net程序编译调试时偶尔出现访问被拒绝的错误
- 如何解决"ANSI C++ forbids data member `ip_opts' with same name as enclosing class"的编译错误