From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9616 invoked by alias); 24 May 2004 12:54:59 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 9359 invoked from network); 24 May 2004 12:54:55 -0000 Received: from unknown (HELO Mailout.ltindia.com) (203.199.60.6) by sourceware.org with SMTP; 24 May 2004 12:54:55 -0000 Received: from LNTMAIL.LNTMAIL.LTINDIA.COM ([10.1.11.2]) by Mailout.ltindia.com (Lotus Domino Release 6.5) with SMTP id 2004052418254489-686485 ; Mon, 24 May 2004 18:25:44 +0530 Received: (from EMAIL [192.168.172.1]) by LNTMAIL.LNTMAIL.LTINDIA.COM (SAVSMTP 3.1.2.35) with SMTP id M2004052418245130204 for ; Mon, 24 May 2004 18:24:51 +0530 Received: from MYW-MTA by EMAIL with Novell_GroupWise; Mon, 24 May 2004 18:26:19 +0530 Message-Id: Date: Mon, 24 May 2004 13:25:00 -0000 From: "Aniket S Joshi" To: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Subject: [ECOS] Error while compiling Jffs2 package X-SW-Source: 2004-05/txt/msg00277.txt.bz2 Hi All, I'm trying to build eCos for the Hitachi Sh-7729 board and everything work= ed 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=20 The output is shown below=20 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/v= 2_0/src/ -ml -m3 -Wall -Wstrict-prototypes -Winline -Wundef -Woverloaded-vi= rtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptio= ns -fvtable-gc -finit-priority -D__ECOS -nostdinc -iwithprefix include -Wer= ror -Wp,-MD,src/fs-ecos.tmp -o src/fs_jffs2_fs-ecos.o /ecos-c/cygwin/opt/ec= os/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,=20 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