Andrew Lunn | 20 Sep 2005 23:14
Picon

Compilation errors with latest CVS code

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 majordomo <at> axis.com

(Continue reading)

Artem B. Bityutskiy | 21 Sep 2005 12:21
Picon
Favicon

Re: Compilation errors with latest CVS code

Andrew Lunn wrote:
> 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:

Josh Boyer wrote:
 > Argh guys!  When compiling with CONFIG_JFFS2_FS_WRITEBUFFER not set we
 > get the following error:

I'll take care about this today.

--

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Artem B. Bityutskiy | 21 Sep 2005 15:29
Picon
Favicon

Re: Compilation errors with latest CVS code

Artem B. Bityutskiy wrote:
> Andrew Lunn wrote:
> 
>> 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:
> 
> 
> Josh Boyer wrote:
>> Argh guys!  When compiling with CONFIG_JFFS2_FS_WRITEBUFFER not set we
>> get the following error:
> 
> I'll take care about this today.
> 
Fixed.
--

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/


Gmane