linux查看make错误,make命令出错,求解释。

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

[root@cuihao extundelete-0.2.0]# make

make -s all-recursive

Making all in src

extundelete.cc: 在函数‘int load_super_block(ext2_filsys)’中:

extundelete.cc:944:47: 错误:对不完全的类型‘struct opaque_ext2_group_desc’的非法使用

group_descriptor_table[n] = fs->group_desc[n];

^

In file included from extundelete.cc:107:0:

/usr/include/ext2fs/ext2fs.h:208:8: 错误:‘struct opaque_ext2_group_desc’的前向声明

struct opaque_ext2_group_desc;

^

extundelete.cc:944:29: 错误:no match for ‘operator=’ (operand types are ‘ext2_group_desc’ and ‘opaque_ext2_group_desc’)

group_descriptor_table[n] = fs->group_desc[n];

^

extundelete.cc:944:29: 附注:备选是:

In file included from /usr/include/ext2fs/ext2fs.h:63:0,

from extundelete.cc:107:

/usr/include/ext2fs/ext2_fs.h:149:8: 附注:ext2_group_desc& ext2_group_desc::operator=(const ext2_group_desc&)

struct ext2_group_desc

^

/usr/include/ext2fs/ext2_fs.h:149:8: 附注: no known conversion for argument 1 from ‘opaque_ext2_group_desc’ to ‘const ext2_group_desc&’

extundelete.cc: 在函数‘void parse_inode_block(ext2_inode*, const char*, ext2_ino_t)’中:

extundelete.cc:2614:21: 错误:‘struct ext2_inode::::’没有名为‘l_i_reserved2’的成员

inode->osd2.linux2.l_i_reserved2 = le32_to_cpu( (uint32_t *) &inodebuf[item*62] );

^

make[2]: *** [extundelete-extundelete.o] 错误 1

make[1]: *** [all-recursive] 错误 1

make: *** [all] 错误 2

想要安装extundelete,./configure没有问题,可是make是出错。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值