开发者

libext2fs code not working

I just tried to access my superblock information using the code as shown here:- http://paste.pocoo.org/show/340724/

However, I get the error as shown here:- http://paste.pocoo.org/show/340723/

My kernel version is 2.6.31-22-generic and I have not installed any libraries/additio开发者_如何学运维nal kernel headers for the same. The OS is Ubuntu 9.10.


You need to add

#include <linux/fs.h>

to the top of your source code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜