public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Paul D. DeRocco" <pderocco@ix.netcom.com>
To: <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] eCos and GCC 4.1.1
Date: Fri, 14 Dec 2007 10:38:00 -0000	[thread overview]
Message-ID: <004001c83e30$bf9ba4e0$887ba8c0@PAULD> (raw)
In-Reply-To: <14330913.post@talk.nabble.com>

> From: venumadhav
> 
> 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/i
> o/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/i
> nfra/v2_0'
> arm-elf-gcc -c 
> -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. 
> -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/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 
> `/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. 

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.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.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

  parent reply	other threads:[~2007-12-14  9:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24 18:49 [ECOS] eCos and GCC 4.1.0 Marco Aurélio da Cruz
2006-03-26 22:54 ` Andrew Lunn
2006-03-27 16:40   ` Marco Aurélio da Cruz
2006-03-27 17:38     ` oliver munz @ s p e a g
2006-03-28  0:30       ` Marco Aurélio da Cruz
2006-03-28 12:38         ` Jonathan Larmour
2007-12-14  9:47   ` [ECOS] eCos and GCC 4.1.1 venumadhav
2007-12-14 10:29     ` Andrew Lunn
     [not found]       ` <CBE0A8E1D067704EA75C8D910F98B93D01E611E7@HYD-MKD-MBX01.wipro.com>
2007-12-17 18:39         ` [ECOS] Ecos " Andrew Lunn
2007-12-14 10:38     ` Paul D. DeRocco [this message]
     [not found] <CBE0A8E1D067704EA75C8D910F98B93D01164E45@HYD-MKD-MBX01.wipro.com>
     [not found] ` <CBE0A8E1D067704EA75C8D910F98B93D01E611EA@HYD-MKD-MBX01.wipro.com>
2007-12-17 12:44   ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004001c83e30$bf9ba4e0$887ba8c0@PAULD' \
    --to=pderocco@ix.netcom.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).