tfs2.2.16 make编译出现问题
xiaoshuaishuai opened this issue · comments
xiaoshuaishuai commented
我在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没有定义,请教下是什么原因导致的??
xiaoshuaishuai commented
glib版本问题