This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Error while compiling Jffs2 package
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Aniket S Joshi <aniketsj at myw dot ltindia dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 24 May 2004 15:31:40 +0200
- Subject: Re: [ECOS] Error while compiling Jffs2 package
- References: <s0b23e4b.010@EMAIL>
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