This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: jffs2 failed
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: He HaiYang <hehaiyang at msn dot com>
- Cc: ECOS-DISCUSS <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 28 Jun 2003 12:36:04 +0200
- Subject: Re: [ECOS] jffs2 failed
- References: <BAY4-DAV130Ti8M19VM0000d56e@hotmail.com>
On Sat, Jun 28, 2003 at 06:11:35PM +0800, He HaiYang wrote:
> 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
I committed a fixed to this on 2003/06/24 11:46:31. Please make sure
your code is up to date. If that does not fix the problem, please let
me know.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss