From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21528 invoked by alias); 20 Jul 2005 18:21:16 -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 21507 invoked by uid 22791); 20 Jul 2005 18:21:13 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 20 Jul 2005 18:21:13 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DvJBs-0005cU-00; Wed, 20 Jul 2005 20:21:08 +0200 Date: Wed, 20 Jul 2005 18:21:00 -0000 To: Joshua Sandeman Cc: ecos-discuss@sources.redhat.com Message-ID: <20050720182108.GH29741@lunn.ch> Mail-Followup-To: Joshua Sandeman , ecos-discuss@sources.redhat.com References: <20050720180002.46107.qmail@web50607.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050720180002.46107.qmail@web50607.mail.yahoo.com> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] problem building Linux synthetic target X-SW-Source: 2005-07/txt/msg00205.txt.bz2 On Wed, Jul 20, 2005 at 11:00:02AM -0700, Joshua Sandeman wrote: > Hi. I am getting compile errors when I attempt to build a Linux synthetic > target. I downloaded and installed eCos today and am running it on a Dell > desktop machine under FedoraCore 4. I attempted the build with the posix > template and the ConfigTool reported no conflicts. The errors are: > > gcc -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef > -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti > -fno-exceptions -fvtable-gc -finit-priority > -I/home/josh/prj/smarthub/smarthub_synthetic_install/include > -I/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0 > -I/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/src > -I/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/tests -I. > -Wp,-MD,heapgen.tmp -E > /opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/src/heapgen.cpp -o > heapgeninc.tcl > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/ObjC but not for C++ > cc1plus: warning: switch ?-fvtable-gc? is no longer supported > cc1plus: error: unrecognized command line option "-finit-priority" > make[1]: Leaving directory > `/home/josh/prj/smarthub/smarthub_synthetic_build/services/memalloc/common/v2_0' > make[1]: *** [heapgeninc.tcl] Error 1 > make: Leaving directory `/home/josh/prj/smarthub/smarthub_synthetic_build' > make: *** [build] Error 2 > > Can someone help me out? Yes, google. This is a FAQ and google will find the answer for you. 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