This is the mail archive of the ecos-discuss@sources.redhat.com 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]

jffs compilation error on arm


Hi!

I use gcc 3.3.2, ecos updated from cvs yesterday,
at91m55800a based custom board with flash.

I configured ecos with jffs and got errors in jffs.
(-nostdinc conflicts with #include <stddef.h> ?)

[...]

make -r -C fs/jffs2/current build
make[1]: Entering directory 
`/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_build/fs/jffs2/current'
arm-elf-gcc -c  
-I/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include 
-I/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current 
-I/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/src 
-I/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/tests -I. 
-I/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/src/ 
-mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith 
-Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections 
-fdata-sections  -fno-exceptions   -D__ECOS -nostdinc -iwithprefix include 
-Wp,-MD,src/fs-ecos.tmp -o src/fs_jffs2_fs-ecos.o 
/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/src/fs-ecos.c
In file included from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/cyg/infra/cyg_type.h:58,
                 from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/linux/types.h:4,
                 from 
/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/src/fs-ecos.c:15:
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/stddef.h:64:25: 
stddef.h: No such file or directory
In file included from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/sys/types.h:70,
                 from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/sys/stat.h:69,
                 from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/linux/stat.h:5,
                 from 
/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/src/fs-ecos.c:16:
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/stddef.h:64:25: 
stddef.h: No such file or directory
In file included from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/sys/types.h:101,
                 from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/sys/stat.h:69,
                 from 
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/linux/stat.h:5,
                 from 
/home/sancho/cvs_work/makarov/ecos/packages/fs/jffs2/current/src/fs-ecos.c:16:
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/cyg/posix/types.h:95: 
error: parse error before "size_t"
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/cyg/posix/types.h:95: 
warning: no semicolon at end of struct or union
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/cyg/posix/types.h:96: 
warning: type defaults to `int' in declaration of `pthread_attr_t'
/home/sancho/cvs_work/makarov/teplonic/ECOS_build/test/test05_install/include/cyg/posix/types.h:96: 
warning: data definition has no type or storage class

[... lots of similar errors are skipped ...]

Can someone tell me what I am missing?
What version of ecos should I use?
(I need one with at91 "var" common "target".)

A Makarov


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


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