首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何通过生成mtree来修复错误?

如何通过生成mtree来修复错误?
EN

Stack Overflow用户
提问于 2013-02-26 23:01:27
回答 1查看 573关注 0票数 0

您好,我是新手,我不明白,这是怎么回事。我的iPhone需要mtree,但得到了一个错误。这就是我得到的:

代码语言:javascript
复制
In file included from compare.c:62:
vis.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘size_t’
In file included from compare.c:65:
extern.h:52: warning: redundant redeclaration of ‘compare’
extern.h:40: warning: previous declaration of ‘compare’ was here
extern.h:59: warning: redundant redeclaration of ‘getmode’
/usr/include/unistd.h:700: warning: previous declaration of ‘getmode’ was here
extern.h:60: warning: redundant redeclaration of ‘setmode’
/usr/include/unistd.h:736: warning: previous declaration of ‘setmode’ was here
compare.c: In function ‘compare’:
compare.c:186: error: ‘struct stat’ has no member named ‘st_mtim’
compare.c:187: error: ‘struct stat’ has no member named ‘st_mtim’
compare.c:192: error: ‘struct stat’ has no member named ‘st_mtim’
make[1]: *** [compare.o] Error 1
make: *** [all] Error 2

完整的信息请访问http://pastebin.com/rVUfVP75

EN

回答 1

Stack Overflow用户

发布于 2013-02-26 23:14:33

代码语言:javascript
复制
compare.c:186: error: ‘struct stat’ has no member named ‘st_mtim’

应该是st_mtime。看起来像是打字错误。

结构定义如下:http://pubs.opengroup.org/onlinepubs/007908799/xsh/sysstat.h.html

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15092326

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档