This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem building Linux synthetic target
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Joshua Sandeman <jfitzger68 at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 20 Jul 2005 20:21:08 +0200
- Subject: Re: [ECOS] problem building Linux synthetic target
- References: <20050720180002.46107.qmail@web50607.mail.yahoo.com>
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