[Yaffs] Re: Can't compile Yaffs2 for 2.6.8 with gcc 3.3.4

Martin Fouts Martin.Fouts@palmsource.com
Fri, 20 May 2005 12:39:09 -0700


This is a multi-part message in MIME format.

------_=_NextPart_001_01C55D73.9760AE69
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Since I wrote, I have placed the yaffs2 source into a linux 2.6.9 kernel
tree as fs/yaffs2. I have modified fs/Kconfig and fs/Makefile
appropriately and written fs/yaffs2/Makefile. Everything now compiles,
except yaffs_guts.c

I have attached the make output.  From it, and email from Charles
Manning, I believe that the issue is that 2.6.9 has 'old' mtd and I need
'new' mtd. This weekend, I will check that possibility out.

Marty

-----Original Message-----
From: yaffs-admin@stoneboat.aleph1.co.uk
[mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of Sergei Sharonov
Sent: Friday, May 20, 2005 5:09 AM
To: yaffs@stoneboat.aleph1.co.uk
Subject: [Yaffs] Re: Can't compile Yaffs2 for 2.6.8 with gcc 3.3.4

Hi,

> Everything compiles excecpt yaffs_fs.c and yaffs_guts.c

Please post compilation errors.

> I've clearly missed a step in the instructions.  Advice?  Pointers to=20
> the source for working versions in 2.6.8?

If we do not see the make output we cannot help you.

> I should mention that this is just a step towards getting yaffs to run

> on arm linux on the TI Perseus 2 development system.  We have a=20
> working arm linux, and I'm trying to integrate yaffs2 with it.

I managed to compile yaffs2 for arm/2.6.10 about a month ago, but it did
not work. There have been fixes since then and I believe at least one
un-fixed issue.
I have yaffs1 working on arm and would like to get yaffs2 going as well.

Sergei Sharonov


------_=_NextPart_001_01C55D73.9760AE69
Content-Type: application/octet-stream;
	name="all.log"
Content-Transfer-Encoding: base64
Content-Description: all.log
Content-Disposition: attachment;
	filename="all.log"

ICBDSEsgICAgIGluY2x1ZGUvbGludXgvdmVyc2lvbi5oCm1ha2VbMV06IGBhcmNoL2FybS9rZXJu
ZWwvYXNtLW9mZnNldHMucycgaXMgdXAgdG8gZGF0ZS4KbWFrZVsxX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