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]

Building JFFS2 on net template fails


Hello again, kindly request for help for the following error messages when compiling JFFS2 using
net template. I added the Linux compatibility, CRC support, JFFS2, Generic Flash support packages
and the flash driver (Strata). Any help is appreciated, best regards,
David Luca.


arm-elf-gcc -c  -I/ecos-c/PROJECTS/eCos/MC9328_install/include
-I/opt/ecos/ecos-3.0/packages/fs/jffs2/current -I/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src
-I/opt/ecos/ecos-3.0/packages/fs/jffs2/current/tests -I.
-I/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/ -finline-limit=7000 -mcpu=arm9 -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections -fdata-sections 
-fno-exceptions   -D__ECOS -nostdinc -iwithprefix include -Wp,-MD,src/compr.tmp -o
src/fs_jffs2_compr.o /opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.c
In file included from /ecos-c/PROJECTS/eCos/MC9328_install/include/sys/types.h:112,
                 from /ecos-c/PROJECTS/eCos/MC9328_install/include/sys/stat.h:69,
                 from /ecos-c/PROJECTS/eCos/MC9328_install/include/linux/stat.h:5,
                 from /ecos-c/PROJECTS/eCos/MC9328_install/include/linux/fs.h:4,
                 from /opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.h:24,
                 from /opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.c:16:
/ecos-c/PROJECTS/eCos/MC9328_install/include/sys/bsdtypes.h:32: error: redefinition of typedef
'cyg_int8'
/ecos-c/PROJECTS/eCos/MC9328_install/include/cyg/infra/cyg_type.h:203: error: previous declaration
of 'cyg_int8' was here
/ecos-c/PROJECTS/eCos/MC9328_install/include/sys/bsdtypes.h:35: error: redefinition of typedef
'cyg_int16'
/ecos-c/PROJECTS/eCos/MC9328_install/include/cyg/infra/cyg_type.h:206: error: previous declaration
of 'cyg_int16' was here
/ecos-c/PROJECTS/eCos/MC9328_install/include/sys/bsdtypes.h:38: error: conflicting types for
'cyg_int32'
/ecos-c/PROJECTS/eCos/MC9328_install/include/cyg/infra/cyg_type.h:209: error: previous declaration
of 'cyg_int32' was here
make[1]: Leaving directory `/ecos-c/PROJECTS/eCos/MC9328_build/fs/jffs2/current'
In file included from /opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/nodelist.h:392,
make: Leaving directory `/ecos-c/PROJECTS/eCos/MC9328_build'
                 from /opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.h:28,
                 from /opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.c:16:
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h: In function
'jffs2_dbg_acct_sanity_check_nolock':
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:245: warning: format '%08x' expects type
'unsigned int', but argument 3 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:246: warning: format '%#08x' expects type
'unsigned int', but argument 3 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:246: warning: format '%#08x' expects type
'unsigned int', but argument 4 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:246: warning: format '%#08x' expects type
'unsigned int', but argument 5 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:246: warning: format '%#08x' expects type
'unsigned int', but argument 6 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:246: warning: format '%#08x' expects type
'unsigned int', but argument 7 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:246: warning: format '%#08x' expects type
'unsigned int', but argument 8 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 3 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 4 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 5 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 6 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 7 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 8 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 9 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/debug.h:255: warning: format '%#08x' expects type
'unsigned int', but argument 10 has type 'uint32_t'
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.c: In function 'jffs2_compress':
/opt/ecos/ecos-3.0/packages/fs/jffs2/current/src/compr.c:114: warning: format '%d' expects type
'int', but argument 2 has type 'uint32_t'
make[1]: *** [src/compr.o.d] Error 1
make: *** [build] Error 2



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

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