This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 questions with eCos


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 ??

Thank you~~


Steven Cheng


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]