Catalog: Cn2 Cd/home/fio
A case of FIO compilation error
# 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
Workaround:
# 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%]
--------------------------------------------------------------------------------------------------------------- -----------------------------------
Problem two This problem has been a-laio file of some of its own operations
[Email protected]%ancunkj fio-2.0.7]# ln-s/usr/lib64/libaio.so/usr/lib/libaio.so
[Email protected]%ancunkj fio-2.0.7]# ldconfig
[Email protected]%ancunkj fio-2.0.7]# Cat README
[Email protected]%ancunkj fio-2.0.7]# Yum Uinstall Libaio
[Email protected]%ancunkj fio-2.0.7]# Yum Remove Libaio
[[Email protected]%ancunkj fio-2.0.7]# Ping mirror.centos.org
[Email protected]%ancunkj fio-2.0.7]# Yum Install Libaio-devel
[Email protected]%ancunkj fio-2.0.7]#./fio finally reloaded here once.
Error resolution (FIO test Tool)