FIO Benchmark Tester: Erro ao construir a partir da fonte

FIO Benchmark Tester: Erro ao construir a partir da fonte

Encontrei alguns erros ao tentar construir o FIO a partir do código-fonte com o comando 'make'. Parece que posso estar faltando alguma coisa. Alguém sabe o que é?

root@DSI:/home/main/fio-2.2.10# make
   CC lib/libmtd_legacy.o
In file included from lib/libmtd_legacy.c:38:0:
lib/libmtd.h:288:8: error: unknown type name ‘uint8_t’
        uint8_t mode);
        ^
lib/libmtd.h:305:4: error: unknown type name ‘uint64_t’
    uint64_t start, uint64_t length, void *data);
    ^
lib/libmtd.h:305:20: error: unknown type name ‘uint64_t’
    uint64_t start, uint64_t length, void *data);
                    ^
lib/libmtd.h:322:5: error: unknown type name ‘uint64_t’
     uint64_t start, uint64_t length, void *data);
     ^
lib/libmtd.h:322:21: error: unknown type name ‘uint64_t’
     uint64_t start, uint64_t length, void *data);
                       ^
Makefile:287: recipe for target 'lib/libmtd_legacy.o' failed
make: *** [lib/libmtd_legacy.o] Error 1

Responder1

Essa versão do fio (2.2.10) é antiga. O fio upstream é de até 2,21 (http://git.kernel.dk/?p=fio.git;a=tags) no momento em que este artigo foi escrito, então há uma chance de você não ver esse problema com uma versão mais recente...

informação relacionada