Error resolution (FIO test Tool)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.