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]

jffs2 failed


When I build jffs2, it report error as below:

make -r -C fs/jffs2/current build
make[1]: Entering directory `/ecos-c/src/ecos/work/root_build/fs/jffs2/current'
powerpc-eabi-gcc -c  -I/ecos-c/src/ecos/work/root_install/include -I/ecos-c/src/
ecos/packages/fs/jffs2/current -I/ecos-c/src/ecos/packages/fs/jffs2/current/src
-I/ecos-c/src/ecos/packages/fs/jffs2/current/tests -I. -I/ecos-c/src/ecos/packag
es/fs/jffs2/current/src/ -msoft-float -mcpu=603e -Wall -Wstrict-prototypes -Winl
ine -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno
-rtti -fno-exceptions -fvtable-gc -finit-priority -D__ECOS -nostdinc -iwithprefi
x include -Werror -Wp,-MD,src/fs-ecos.tmp -o src/fs_jffs2_fs-ecos.o /ecos-c/src/
ecos/packages/fs/jffs2/current/src/fs-ecos.c
In file included from /ecos-c/src/ecos/packages/fs/jffs2/current/src/fs-ecos.c:1
6:
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:19: warning: `S_IFMT' re
defined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:92: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:21: warning: `S_IFDIR' r
edefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:84: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:22: warning: `S_IFREG' r
edefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:87: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:23: warning: `S_IFBLK' r
edefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:86: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:24: warning: `S_IFCHR' r
edefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:85: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:25: warning: `S_IFLNK' r
edefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:89: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:26: warning: `S_IFSOCK'
redefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:90: warning: this is the l
ocation of the previous definition
/ecos-c/src/ecos/work/root_install/include/linux/stat.h:27: warning: `S_IFIFO' r
edefined
/ecos-c/src/ecos/work/root_install/include/sys/stat.h:88: warning: this is the l
ocation of the previous definition
make[1]: *** [src/fs-ecos.o.d] Error 1
make[1]: Leaving directory `/ecos-c/src/ecos/work/root_build/fs/jffs2/current'
make: *** [build] Error 2
make: Leaving directory `/ecos-c/src/ecos/work/root_build'




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