public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Strange error compiling jffs2 (fs-ecos.c)
@ 2003-10-08  0:13 Charles Oram
  0 siblings, 0 replies; 3+ messages in thread
From: Charles Oram @ 2003-10-08  0:13 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

> On Wed, Oct 08, 2003 at 11:29:40AM +1300, Charles Oram wrote:
> > Hi there,
> > I'm trying to build eCos for the IXDP425 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 (updated this morning) 
> from anoncvs
> > and GCC 3.3 (GNUPro tools 030630) on Redhat 9.
> > The output from running 'make' in the 
> build/fs/jffs2/current directory
> > is shown below (I get the same error doing the build from 
> configtool).
> > Does anyone know what I am doing wrong?
> > 
> > arm-elf-gcc -c  -I/home/charles/ecos/ixdp425_install/include
> > -I/home/charles/ecos/packages/fs/jffs2/current
> > -I/home/charles/ecos/packages/fs/jffs2/current/src
> > -I/home/charles/ecos/packages/fs/jffs2/current/tests -I.
> > -I/home/charles/ecos/packages/fs/jffs2/current/src/ -mcpu=xscale
> > -mbig-endian -Wall -Wstrict-prototypes -Winline -Wundef
> > -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
> > -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame
> > -D__ECOS -nostdinc -iwithprefix include -Werror 
> -Wp,-MD,src/fs-ecos.tmp
>                                           ^^^^^^^
> 
>           Andrew
> 

Thanks - that makes a big difference. That was one of the few flags that
I didn't try removing and yet (now that I know what it does) the most
obvious one!

- Charles

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Strange error compiling jffs2 (fs-ecos.c)
  2003-10-07 22:27 Charles Oram
@ 2003-10-07 23:06 ` Andrew Lunn
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2003-10-07 23:06 UTC (permalink / raw)
  To: Charles Oram; +Cc: ecos-discuss

On Wed, Oct 08, 2003 at 11:29:40AM +1300, Charles Oram wrote:
> Hi there,
> I'm trying to build eCos for the IXDP425 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 (updated this morning) from anoncvs
> and GCC 3.3 (GNUPro tools 030630) on Redhat 9.
> The output from running 'make' in the build/fs/jffs2/current directory
> is shown below (I get the same error doing the build from configtool).
> Does anyone know what I am doing wrong?
> 
> arm-elf-gcc -c  -I/home/charles/ecos/ixdp425_install/include
> -I/home/charles/ecos/packages/fs/jffs2/current
> -I/home/charles/ecos/packages/fs/jffs2/current/src
> -I/home/charles/ecos/packages/fs/jffs2/current/tests -I.
> -I/home/charles/ecos/packages/fs/jffs2/current/src/ -mcpu=xscale
> -mbig-endian -Wall -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
> -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame
> -D__ECOS -nostdinc -iwithprefix include -Werror -Wp,-MD,src/fs-ecos.tmp
                                          ^^^^^^^

          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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] Strange error compiling jffs2 (fs-ecos.c)
@ 2003-10-07 22:27 Charles Oram
  2003-10-07 23:06 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Oram @ 2003-10-07 22:27 UTC (permalink / raw)
  To: ecos-discuss

Hi there,
I'm trying to build eCos for the IXDP425 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 (updated this morning) from anoncvs
and GCC 3.3 (GNUPro tools 030630) on Redhat 9.
The output from running 'make' in the build/fs/jffs2/current directory
is shown below (I get the same error doing the build from configtool).
Does anyone know what I am doing wrong?

arm-elf-gcc -c  -I/home/charles/ecos/ixdp425_install/include
-I/home/charles/ecos/packages/fs/jffs2/current
-I/home/charles/ecos/packages/fs/jffs2/current/src
-I/home/charles/ecos/packages/fs/jffs2/current/tests -I.
-I/home/charles/ecos/packages/fs/jffs2/current/src/ -mcpu=xscale
-mbig-endian -Wall -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame
-D__ECOS -nostdinc -iwithprefix include -Werror -Wp,-MD,src/fs-ecos.tmp
-o src/fs_jffs2_fs-ecos.o
/home/charles/ecos/packages/fs/jffs2/current/src/fs-ecos.c
cc1: warning: "-Woverloaded-virtual" is valid for C++ but not for C/ObjC
cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fvtable-gc" is valid for C++ but not for C/ObjC
make: *** [src/fs-ecos.o.d] Error 1

Thanks.

- Charles

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-08  0:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08  0:13 [ECOS] Strange error compiling jffs2 (fs-ecos.c) Charles Oram
  -- strict thread matches above, loose matches on Subject: below --
2003-10-07 22:27 Charles Oram
2003-10-07 23:06 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).