This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem building Linux synthetic target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]