[Yaffs] Yaffs compilation error on linux 3.6.8 for arm

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Ratheendran R
Date:  
To: yaffs
Subject: [Yaffs] Yaffs compilation error on linux 3.6.8 for arm
Hi All,

I recently changed the kernel for my arm9 based system from linux 2.6.21 to
linux 3.6.8. I then applied the patch as suggested in the Readme document.

now, when I select the YAFFS2 package with the kernel configuration and
compile I get the error message and I am not able to do any thing further.


site used to download yaffs2...
*it clone git://www.aleph1.co.uk/yaffs2*

messages capturing the compilation error.


esslsdk@esslsdk-desktop:~/linux_kernel/linux-3.6.8_newyffs$ make
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC      fs/yaffs2/yaffs_ecc.o
  CC      fs/yaffs2/yaffs_vfs.o
fs/yaffs2/yaffs_vfs.c:438: warning: initialization from incompatible
pointer type
fs/yaffs2/yaffs_vfs.c:439: warning: initialization from incompatible
pointer type
fs/yaffs2/yaffs_vfs.c:443: warning: initialization from incompatible
pointer type
fs/yaffs2/yaffs_vfs.c:445: warning: initialization from incompatible
pointer type
fs/yaffs2/yaffs_vfs.c:478: error: unknown field 'write_super' specified in
initializer
fs/yaffs2/yaffs_vfs.c:478: warning: initialization from incompatible
pointer type
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_evict_inode':
fs/yaffs2/yaffs_vfs.c:873: error: implicit declaration of function
'end_writeback'
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_do_sync_fs':
fs/yaffs2/yaffs_vfs.c:2203: error: 'struct super_block' has no member named
's_dirt'
fs/yaffs2/yaffs_vfs.c:2214: error: 'struct super_block' has no member named
's_dirt'
fs/yaffs2/yaffs_vfs.c:2216: error: 'struct super_block' has no member named
's_dirt'
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_put_super':
fs/yaffs2/yaffs_vfs.c:2506: error: 'struct mtd_info' has no member named
'sync'
fs/yaffs2/yaffs_vfs.c:2507: error: 'struct mtd_info' has no member named
'sync'
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_touch_super':
fs/yaffs2/yaffs_vfs.c:2523: error: 'struct super_block' has no member named
's_dirt'
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_internal_read_super':
fs/yaffs2/yaffs_vfs.c:2699: error: 'struct mtd_info' has no member named
'erase'
fs/yaffs2/yaffs_vfs.c:2700: error: 'struct mtd_info' has no member named
'read'
fs/yaffs2/yaffs_vfs.c:2701: error: 'struct mtd_info' has no member named
'write'
fs/yaffs2/yaffs_vfs.c:2702: error: 'struct mtd_info' has no member named
'read_oob'
fs/yaffs2/yaffs_vfs.c:2703: error: 'struct mtd_info' has no member named
'write_oob'
fs/yaffs2/yaffs_vfs.c:2704: error: 'struct mtd_info' has no member named
'block_isbad'
fs/yaffs2/yaffs_vfs.c:2705: error: 'struct mtd_info' has no member named
'block_markbad'
fs/yaffs2/yaffs_vfs.c:2729: error: 'struct mtd_info' has no member named
'erase'
fs/yaffs2/yaffs_vfs.c:2730: error: 'struct mtd_info' has no member named
'block_isbad'
fs/yaffs2/yaffs_vfs.c:2731: error: 'struct mtd_info' has no member named
'block_markbad'
fs/yaffs2/yaffs_vfs.c:2731: error: 'struct mtd_info' has no member named
'read'
fs/yaffs2/yaffs_vfs.c:2731: error: 'struct mtd_info' has no member named
'write'
fs/yaffs2/yaffs_vfs.c:2733: error: 'struct mtd_info' has no member named
'read_oob'
fs/yaffs2/yaffs_vfs.c:2733: error: 'struct mtd_info' has no member named
'write_oob'
fs/yaffs2/yaffs_vfs.c:2754: error: 'struct mtd_info' has no member named
'erase'
fs/yaffs2/yaffs_vfs.c:2754: error: 'struct mtd_info' has no member named
'read'
fs/yaffs2/yaffs_vfs.c:2754: error: 'struct mtd_info' has no member named
'write'
fs/yaffs2/yaffs_vfs.c:2756: error: 'struct mtd_info' has no member named
'read_oob'
fs/yaffs2/yaffs_vfs.c:2756: error: 'struct mtd_info' has no member named
'write_oob'
fs/yaffs2/yaffs_vfs.c:2946: error: implicit declaration of function
'd_alloc_root'
fs/yaffs2/yaffs_vfs.c:2946: warning: assignment makes pointer from integer
without a cast
fs/yaffs2/yaffs_vfs.c:2955: error: 'struct super_block' has no member named
's_dirt'
make[2]: *** [fs/yaffs2/yaffs_vfs.o] Error 1
make[1]: *** [fs/yaffs2] Error 2
make: *** [fs] Error 2



Kindly let me know the workaround for this problem.I appreciate if any one
can help me in fixing the problem.

Ratheendran