alibaba / tfs

TFS (Taobao File System) is a distributed file system similar to GFS.

Home Page:http://tfs.taobao.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tfs2.2.16 make编译出现问题

xiaoshuaishuai opened this issue · comments

我在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没有定义,请教下是什么原因导致的??

glib版本问题