Re: About mkfs.jffs2

Qiang Wang
2008-07-15T01:35:53Z

ooh,yes.
It is quite old. Thanks very much.

I have got the newest version.
But when I compile it , I got compiler error.
gcc -I./include -O2 -g -Wall -c -o mkfs.jffs2.o mkfs.jffs2.c -g
-Wp,-MD,./.mkfs.jffs2.c.dep
mkfs.jffs2.c:68:23: sys/xattr.h: No such file or directory
In file included from mkfs.jffs2.c:76:
rbtree.h:97:26: linux/kernel.h: No such file or directory
rbtree.h:98:26: linux/stddef.h: No such file or directory

I　ｔｈｉｎｋ　ｉｔ　ｉｓ　ｔｈｅ　ｌｉｎｕｘ　ｈｅａｄｅｒ．Ｂｕｔ　ｗｈｅｎ　Ｉ　ｃｏｐｙ　ｓｏｍｅ　ｆｒｏｍ　ｔｈｅ　ｌｉｎｕｘ　ｓｏｕｒｃｅ　ｔｒｅｅ，
Ｉｔ　ｔｏｌｄ　ｍｅ　ｔｈａｔ　ｓｏｍｅ　ＭＡＣＲＯ　ｉｓ　ｎｏｔ　ｄｅｆｉｎｅｄ．
Ｉ　ｔｈｉｎｋ　ｔｈｅｒｅ　ｍｕｓｔ　ｂｅ　ｓｏｍｅ　ｍｅｔｈｏｄ　ｔｏ　ｓｏｖｌｅ　ｔｈｉｓ　ｐｒｏｂｌｅｍ．

ｂｅｓｔ　ｒｅｇａｒｄｓ，
ｗａｎｇｑｉａｎｇ