Discussion:
Compilation errors with latest CVS code
Andrew Lunn
2005-09-20 21:14:27 UTC
Permalink
Hi folks

Im using the MTD CVS trunk from today along with Linux 2.6.13. I'm
not using NAND flash, NOR flash with transparent ECC or DataFlash, so
i disabled JFFS2_FS_WRITEBUFFER. The compilation the fails:


CC fs/jffs2/compr.o
CC fs/jffs2/dir.o
CC fs/jffs2/file.o
fs/jffs2/file.c: In function 'jffs2_fsync':
fs/jffs2/file.c:39: warning: statement with no effect
CC fs/jffs2/ioctl.o
CC fs/jffs2/nodelist.o
fs/jffs2/nodelist.c: In function 'check_node_data':
fs/jffs2/nodelist.c:415: error: 'struct jffs2_sb_info' has no member named 'wbuf_pagesize'
fs/jffs2/nodelist.c:417: error: 'struct jffs2_sb_info' has no member named 'wbuf_pagesize'
make[2]: *** [fs/jffs2/nodelist.o] Error 1
make[1]: *** [fs/jffs2] Error 2

wbuf_pagesize only exists when JFFS2_FS_WRITEBUFFER is enabled, but it
is incorrectly used unconditionally in a few places like above.

Any chance of fixing this?

Thanks
Andrew

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
Artem B. Bityutskiy
2005-09-21 10:21:29 UTC
Permalink
Post by Andrew Lunn
Hi folks
Im using the MTD CVS trunk from today along with Linux 2.6.13. I'm
not using NAND flash, NOR flash with transparent ECC or DataFlash, so
Argh guys! When compiling with CONFIG_JFFS2_FS_WRITEBUFFER not set we
I'll take care about this today.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
Artem B. Bityutskiy
2005-09-21 13:29:31 UTC
Permalink
Post by Artem B. Bityutskiy
Post by Andrew Lunn
Hi folks
Im using the MTD CVS trunk from today along with Linux 2.6.13. I'm
not using NAND flash, NOR flash with transparent ECC or DataFlash, so
Argh guys! When compiling with CONFIG_JFFS2_FS_WRITEBUFFER not set we
I'll take care about this today.
Fixed.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
Loading...