您的位置:首页 > 其它

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%]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: