Hi Angus,
Thanks for the patch you have send with the previous mail.
still there are some errors stands unresolved.
below is the error messages appeared on my terminal.
linux_kernel/linux-3.6.8$ make
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_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: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_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: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
I am working to fix this, if any one has already fixed it please let me
know.
In case I am able to resolve above issues, I will release appropriate patch
for yaffs.
Regards,
Ratheendran
On Thu, Dec 6, 2012 at 3:29 PM, Angus CLARK <
angus.clark@st.com> wrote:
> Hi Ratheendran,
>
> I have attached the patch I used for building under linux 3.4.7 -- I got
> similar
> build errors as you, so hopefully it will help.
>
> I also have a patch to fix the 'inband tags' option on linux, but I am
> waiting
> for feedback (see previous mail) before releasing.
>
> Cheers,
>
> Angus
>
> On 12/06/2012 04:48 AM, Ratheendran R wrote:
> > 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 <http://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
> >
> >
> >
> >
> > _______________________________________________
> > yaffs mailing list
> > yaffs@lists.aleph1.co.uk
> > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>