From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6255 invoked by alias); 14 Dec 2007 06:38:48 -0000 Received: (qmail 6247 invoked by uid 22791); 14 Dec 2007 06:38:47 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Dec 2007 06:38:37 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J34Bu-0004Gc-VC for ecos-discuss@ecos.sourceware.org; Thu, 13 Dec 2007 22:38:34 -0800 Message-ID: <14330913.post@talk.nabble.com> Date: Fri, 14 Dec 2007 09:47:00 -0000 From: venumadhav To: ecos-discuss@ecos.sourceware.org In-Reply-To: <20060325090916.GG3228@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: venumadhav.josyula@wipro.com References: <44243B81.7040603@daruma.com.br> <20060325090916.GG3228@lunn.ch> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] eCos and GCC 4.1.1 X-SW-Source: 2007-12/txt/msg00074.txt.bz2 Hi, I trying to build the ecos with arm-elf-gcc 4.1.1, I am getting following errors : ====================================================================== cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fvtable-gc" is valid for C++/ObjC++ but not for C /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/io/serial/v2_0/src/common/haldiag.c: In function 'haldiag_getc': /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/io/serial/v2_0/src/common/haldiag.c:122: warning: pointer targets in passing argument 1 of 'hal_if_diag_read_char' differ in signedness arm-elf-ar rcs /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_install/lib/libextras.a src/common/io_serial_serial.o src/common/io_serial_tty.o src/common/io_serial_haldiag.o make[1]: Leaving directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/io/serial/v2_0' make -r -C infra/v2_0 build make[1]: Entering directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/infra/v2_0' arm-elf-gcc -c -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_install/include -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0 -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/tests -I. -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src/ -mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -Wp,-MD,src/startup.tmp -o src/infra_startup.o /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src/startup.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: switch '-fvtable-gc' is no longer supported make[1]: Leaving directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/infra/v2_0' /ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_install/include/cyg/kernel/thread.hxx:315: error: extra qualification 'Cyg_Thread::' on member 'reinitialize' make: Leaving directory `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build' make[1]: *** [src/startup.o.d] Error 1 make: *** [build] Error 2 ========================================================= Any help will be really appreciated. Cheers, Venu -- View this message in context: http://www.nabble.com/eCos-and-GCC-4.1.0-tp3576883p14330913.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.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