ext2fs/ext2_fs.h:没有那个文件或目录

错误

ext2fs/ext2_fs.h:没有那个文件或目录

查看/usr/include,没有ext2fs文件夹

解决方案

sudo yum install e2fsprogs-devel

查看/usr/include

[zhaojq@localhost ~]$ cd /usr/include/
[zhaojq@localhost include]$ ls | grep "ext2fs"
ext2fs
[zhaojq@localhost ext2fs]$ ls
bitops.h  ext2_err.h  ext2_ext_attr.h  ext2_fs.h  ext2fs.h  ext2_io.h  ext2_types.h  ext2_types-x86_64.h  ext3_extents.h  qcow2.h  tdb.h
发布了72 篇原创文章 · 获赞 66 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/miaodichiyou/article/details/76235370