public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] problem building Linux synthetic target
@ 2005-07-20 18:00 Joshua Sandeman
  2005-07-20 18:21 ` Gary Thomas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joshua Sandeman @ 2005-07-20 18:00 UTC (permalink / raw)
  To: ecos-discuss

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?

Thanks,
Josh Sandeman
San Francisco, CA



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] problem building Linux synthetic target
  2005-07-20 18:00 [ECOS] problem building Linux synthetic target Joshua Sandeman
@ 2005-07-20 18:21 ` Gary Thomas
  2005-07-20 18:21 ` Andrew Lunn
  2005-07-21  7:18 ` [ECOS] " Jani Monoses
  2 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2005-07-20 18:21 UTC (permalink / raw)
  To: Joshua Sandeman; +Cc: eCos Discussion

On Wed, 2005-07-20 at 11:00 -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?

Update to the CVS version

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] problem building Linux synthetic target
  2005-07-20 18:00 [ECOS] problem building Linux synthetic target Joshua Sandeman
  2005-07-20 18:21 ` Gary Thomas
@ 2005-07-20 18:21 ` Andrew Lunn
  2005-07-21  7:18 ` [ECOS] " Jani Monoses
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2005-07-20 18:21 UTC (permalink / raw)
  To: Joshua Sandeman; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS]  Re: problem building Linux synthetic target
  2005-07-20 18:00 [ECOS] problem building Linux synthetic target Joshua Sandeman
  2005-07-20 18:21 ` Gary Thomas
  2005-07-20 18:21 ` Andrew Lunn
@ 2005-07-21  7:18 ` Jani Monoses
  2 siblings, 0 replies; 4+ messages in thread
From: Jani Monoses @ 2005-07-21  7:18 UTC (permalink / raw)
  To: ecos-discuss


> 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?

delete -finit-priority option in your ecos.ecc file as it is no longer supported in gcc 
4.0 which I suppose you're using.

Jani


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-21  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-20 18:00 [ECOS] problem building Linux synthetic target Joshua Sandeman
2005-07-20 18:21 ` Gary Thomas
2005-07-20 18:21 ` Andrew Lunn
2005-07-21  7:18 ` [ECOS] " Jani Monoses

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).