From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28076 invoked by alias); 14 Dec 2007 09:07:35 -0000 Received: (qmail 28061 invoked by uid 22791); 14 Dec 2007 09:07:34 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-junco.atl.sa.earthlink.net (HELO elasmtp-junco.atl.sa.earthlink.net) (209.86.89.63) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Dec 2007 09:07:28 +0000 Received: from [76.167.204.177] (helo=PAULD) by elasmtp-junco.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1J36Vy-0002Re-Pa for ecos-discuss@ecos.sourceware.org; Fri, 14 Dec 2007 04:07:27 -0500 From: "Paul D. DeRocco" To: Date: Fri, 14 Dec 2007 10:38:00 -0000 Message-ID: <004001c83e30$bf9ba4e0$887ba8c0@PAULD> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook, Build 10.0.6822 In-Reply-To: <14330913.post@talk.nabble.com> X-ELNK-Trace: bd7d5d4e6f8f652c74cfc7ce3b1ad11381c87f5e51960688d8c98f19af407e599c8d7cafaa6817b0350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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: RE: [ECOS] eCos and GCC 4.1.1 X-SW-Source: 2007-12/txt/msg00076.txt.bz2 > From: venumadhav >=20 > I trying to build the ecos with arm-elf-gcc 4.1.1, I am=20 > getting following errors :=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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=20 > C++/ObjC++ but not for C > cc1: warning: command line option "-fvtable-gc" is valid for=20 > 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=20 > 'hal_if_diag_read_char' differ in signedness arm-elf-ar rcs=20 > /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=20 > src/common/io_serial_haldiag.o > make[1]: Leaving directory=20 > `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/i > o/serial/v2_0' > make -r -C infra/v2_0 build > make[1]: Entering directory=20 > `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/i > nfra/v2_0' > arm-elf-gcc -c=20 > -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_instal > l/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.=20 > -I/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/packages/infra/v2_0/src/ > -mcpu=3Darm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline=20 > -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections=20 > -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc=20 > -Wp,-MD,src/startup.tmp -o src/infra_startup.o=20 > /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"=20 > is valid for C/ObjC but not for C++ > cc1plus: warning: switch '-fvtable-gc' is no longer supported > make[1]: Leaving directory=20 > `/ecos-e/work/ecos/ecos-2.0_cygwin/ecos-2.0/ecos_4_1_1_build/i > nfra/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=20 > `/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=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >=20 > Any help will be really appreciated.=20 The warnings about boilerplate C++ options being ignored in C is normal. But the single actual error at the end of that is the result of a nonstandard (and pointless) bit of syntax that the earlier compilers were willing to forgive, but eventually was ruled illegal in the more recent compiler. It was fixed in the latest rev of the eCos source code in the obvious manner. --=20 Ciao, Paul D. DeRocco Paul mailto:pderocco@ix.netcom.com=20 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss