public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Compiling JFFS3
@ 2005-08-10  8:26 Bernhard Priewasser
  2005-08-10  8:38 ` Jörn Engel
  0 siblings, 1 reply; 25+ messages in thread
From: Bernhard Priewasser @ 2005-08-10  8:26 UTC (permalink / raw)
  To: linux-mtd

Hello,

when trying to compile JFFS3 kernel module out-of-the-box, I get 
(pathnames stripped):

 > ~/mtd/fs/jffs3> make
 > make -C /lib/modules/2.6.11.4-21.7-default/build SUBDIRS=`pwd` 
mtd=`pwd` modules
 > make[1]: Entering directory `/usr/src/linux-2.6.11.4-21.7'
 >   CC [M]  /mtd/fs/jffs3/compr.o
 > In file included from /mtd/fs/jffs3/nodelist.h:205,
 >                  from /mtd/fs/jffs3/compr.h:27,
 >                  from /mtd/fs/jffs3/compr.c:17:
 > /mtd/fs/jffs3/debug.h: In function `jffs3_dbg_wbuf_acct_sanity_check':
 > /mtd/fs/jffs3/debug.h:366: error: structure has no member named 
`wbuf_pagesize'
 > /mtd/fs/jffs3/debug.h:366: error: structure has no member named 
`wbuf_len'
 > /mtd/fs/jffs3/debug.h:367: error: structure has no member named 
`wbuf_ofs'
 > /mtd/fs/jffs3/debug.h:367: error: structure has no member named 
`wbuf_len'
 > /mtd/fs/jffs3/debug.h:367: error: structure has no member named 
`wbuf_pagesize'
 > /mtd/fs/jffs3/debug.h:367: error: structure has no member named 
`wbuf_len'
 > make[2]: *** [/mtd/fs/jffs3/compr.o] Error 1
 > make[1]: *** [_module_/mtd/fs/jffs3] Error 2
 > make[1]: Leaving directory `/usr/src/linux-2.6.11.4-21.7'
 > make: *** [modules] Error 2

In jffs3.h, line 296ff, the write-behind and oob stuff (wbuf_* ...) is 
not added because CONFIG_JFFS3_FS_WRITEBUFFER is not defined.

Have a look at mtd/include/linux/config.h, line 38. Shouldn't
 > #define CONFIG_JFFS3_FS_WRITEBUFFER 1
be added there to consider JFFS_3_ too, not only JFFS_2_?

Regards,
Bernhard

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2005-08-15  9:11 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10  8:26 Compiling JFFS3 Bernhard Priewasser
2005-08-10  8:38 ` Jörn Engel
2005-08-10  8:48   ` Bernhard Priewasser
2005-08-10  9:02     ` Artem B. Bityuckiy
2005-08-10  9:11       ` Bernhard Priewasser
2005-08-10  9:17         ` Artem B. Bityuckiy
2005-08-10  9:31           ` Bernhard Priewasser
2005-08-10  9:45             ` Artem B. Bityuckiy
2005-08-10  9:54               ` Bernhard Priewasser
2005-08-10 10:00                 ` Artem B. Bityuckiy
2005-08-10 10:05             ` Jörn Engel
2005-08-10 10:14               ` Steven Scholz
2005-08-10 10:28                 ` Bernhard Priewasser
2005-08-10 10:28                 ` Jörn Engel
2005-08-10 10:30                   ` Steven Scholz
2005-08-10 10:34                     ` Artem B. Bityuckiy
2005-08-10 10:37                       ` Steven Scholz
2005-08-10 10:42                         ` Artem B. Bityuckiy
2005-08-10 10:48                         ` Jörn Engel
2005-08-12 20:27                           ` Jared Hulbert
2005-08-12 21:26                             ` Josh Boyer
2005-08-15  9:11                             ` Jörn Engel
2005-08-10 10:36               ` Bernhard Priewasser
2005-08-10 10:45                 ` Jörn Engel
2005-08-10  8:56   ` Artem B. Bityuckiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox