Re: [Yaffs] bug report: compile yaffs2 into Linux kernel

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: ian@brightstareng.com
Date:  
To: yaffs, rong shawn
Subject: Re: [Yaffs] bug report: compile yaffs2 into Linux kernel
Rong,

On Sunday 22 July 2007 23:29, rong shawn wrote:
> I download latest yaffs2 package from official website and
> want to compile it into linux 2.6 kernel, but meet error and
> now fix it. Wish it may help you.
>
> 1. Missing file yaffs_mtdif1.h
> You can write a header file yaffs_mtdif1.h with reference
> to yaffs_mtdif2.h
>
> 2. Replace qsort( ... ) in yaffs_guts.c with yaffs_qsort(...)
>
> 3. Modify Makefile from
> --------------------------------------------------
> yaffs-y += yaffs_packedtags2.o yaffs_nand.o yaffs_qsort.o
> yaffs-y += yaffs_tagscompat.o yaffs_tagsvalidity.o
> yaffs-y += yaffs_mtdif.o yaffs_mtdif2.o
> --------------------------------------------------
> to
> --------------------------------------------------
> yaffs-y += yaffs_packedtags1.o yaffs_packedtags2.o
> yaffs_nand.o yaffs_qsort.o yaffs-y += yaffs_tagscompat.o
> yaffs_tagsvalidity.o
> yaffs-y += yaffs_mtdif.o yaffs_mtdif1.o yaffs_mtdif2.o
> --------------------------------------------------


Thanks, Charles has now fixed this in CVS.