This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: JFFS2 questions with eCos
On Wed, Sep 21, 2005 at 11:33:55AM +0800, Steven_cheng wrote:
> Hi Andrew,
>
> When I compile my platform with JFFS2 for RedBoot,
> It takes a error message, it display as following :
> /opt/ecoscvs/ecos/packages/fs/jffs2/current/src/readinode.c:144: parse error
> before "int32_t"
> /opt/ecoscvs/ecos/packages/fs/jffs2/current/src/readinode.c:146: warning:
> function
> declaration isn't a prototype
> /opt/ecoscvs/ecos/packages/fs/jffs2/current/src/readinode.c:229: parse error
> before "int32_t"
> /opt/ecoscvs/ecos/packages/fs/jffs2/current/src/readinode.c:231: warning:
> function declaration isn't a prototype
>
> Then I found that if I add
>
> #define int8_t cyg_int8
> #define int16_t cyg_int16
> #define int32_t cyg_int32
>
> in compat\linux\current\include\linux\types.h. Then it will work.
>
> Does I lack something for it ??
They are already in that file. They have been since at least 22-Jan-03.
This suggests you have old eCos sources.
Andrew
P.S.
Please get your mail server fixed. I get bounces from it every time i
mail you.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss