[ECOS] Error while compiling Jffs2 package

Andrew Lunn andrew@lunn.ch
Mon May 24 23:29:00 GMT 2004


On Mon, May 24, 2004 at 06:26:11PM +0530, Aniket S Joshi wrote:
> Hi All,
>  I'm trying to build eCos for the Hitachi Sh-7729 board and everything worked
>  fine until I added the jffs2 package. Make now reports an error, but the
>  compiler only reports warnings and no output file is created by the
>  compiler.
>  I'm using the latest version of eCos 
>  The output  is shown below 
> 

> sh-elf-gcc -c -I/ecos-c/ecos-work/test20_install/include
-I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0
-I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/src
-I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/tests
-I. -I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/src/ -ml
-m3 -Wall -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual
-ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -fvtable-gc -finit-priority -D__ECOS -nostdinc
-iwithprefix include -Werror -Wp,-MD,src/fs-ecos.tmp -o
                     ^^^^^^^^

This causes gcc to turn all warnings into errors. So make it stopping.

You are using an old copy of the sources. This flag was removed at the
beginning of december last year. Is suggest you update your sources.

        Andrew

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



More information about the Ecos-discuss mailing list