Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

tfs2.2.16 make编译出现问题 #22

Description

@xiaoshuaishuai

我在centos6.5下面编译tfs2.2.16版本的时候,gcc版本是4.1.2,依赖库也都安装了。
make 编译时候出现

blockfile_format.h: In member function 'virtual int
tfs::dataserver::Ext4FileFormater::block_file_format(int, int64_t)':
blockfile_format.h:77: error: 'fallocate' was not declared in this scope

源代码是在blockfile_format.h 77行 fallocate没有定义,请教下是什么原因导致的??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions