* [ECOS] Error while compiling Jffs2 package
@ 2004-05-24 13:25 Aniket S Joshi
2004-05-24 23:29 ` Andrew Lunn
0 siblings, 1 reply; 3+ messages in thread
From: Aniket S Joshi @ 2004-05-24 13:25 UTC (permalink / raw)
To: ecos-discuss
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 src/fs_jffs2_fs-ecos.o /ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/src/fs-ecos.c
cc1: warning: "-Woverloaded-virtual" is valid for C++ but not for C/ObjC
make[1]: Leaving directory `/ecos-c/ecos-work/test20_build/fs/jffs2/v2_0'
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
make: Leaving directory `/ecos-c/ecos-work/test20_build'
cc1: warning: "-fvtable-gc" is valid for C++ but not for C/ObjC
make[1]: *** [src/fs-ecos.o.d] Error 1
make: *** [build] Error 2
pls help me to solve this error
Thanks in Advance
Thanks and regards,
Aniket Joshi
Senior Software Engineer
Larsen & Toubro Ltd,
Embedded System & Software (EmSys),
KIADB Industrial Estate Hebbal
Hootagalli, Mysore,
State: Karnataka,
India
PIN: 570018
Ph:+91-821-2402561 Ext:2765
FAX: +91-821-2403752
http://www.lntemsys.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Error while compiling Jffs2 package
2004-05-24 13:25 [ECOS] Error while compiling Jffs2 package Aniket S Joshi
@ 2004-05-24 23:29 ` Andrew Lunn
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2004-05-24 23:29 UTC (permalink / raw)
To: Aniket S Joshi; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Error while compiling Jffs2 package
@ 2004-05-28 13:51 Aniket S Joshi
0 siblings, 0 replies; 3+ messages in thread
From: Aniket S Joshi @ 2004-05-28 13:51 UTC (permalink / raw)
To: andrew; +Cc: ecos-discuss
Hi Andrew,
I have ecos 2.0 full source code CD. I want to upgrade ecos with latest source code.
Which is the easiest way to upgrade the code at this stage?
meanwhile i tried to down load the code from CVS repository but it is giving error as "Unknown host ecos.sourceware.org.
"
pls guide me to solve this problem
ADMIN@JOSHI /ecos-c/cvs-1.11
$ cvs -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos login
(Logging in to anoncvs@ecos.sourceware.org)
CVS password:
Unknown host ecos.sourceware.org.
Thanks in advance
Aniket Joshi
>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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-28 9:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-24 13:25 [ECOS] Error while compiling Jffs2 package Aniket S Joshi
2004-05-24 23:29 ` Andrew Lunn
2004-05-28 13:51 Aniket S Joshi
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).