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: Building errors


Did you download the tools, i.e compiler suite for the PPC when you downloaded ecos. I expect that this is your problem. If you have downloaded them, make sure the configuration tools is pointing at them , Tools/Paths/Build Tools' menu.

Also if you have been using a different ppc compiler make sure it isn't on your path. I am developing on the SH and had been using a different version of gcc which was on my path. Even though I selected the eCos built gcc in the configuration tool, the old compiler was still being used.

Try adding -v to the front of the compiler flags.

		James Yates

-----Original Message-----
From: Santha Kumar [mailto:santhakumar@myw.ltindia.com]
Sent: 23 October 2003 15:29
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Building errors


Hello

 I have downloaded ecos 2.0 from net , Built the tool chain for PPC 
and while trying to build the library. I am getting the following error

 
 make -r -C hal/powerpc/arch/v2_0
/ecos-c/DOCUME~1/SANTHA~1/Desktop/eCos/ecos_work/project1_install/include/cyg/hal/ppc_offsets.inc
make[1]: Entering directory
`/ecos-c/DOCUME~1/SANTHA~1/Desktop/eCos/ecos_work/project1_build/hal/powerpc/arch/v2_0'
powerpc-eabi-gcc -msoft-float -mcpu=860 -Wall -Wpointer-arith
-Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
-ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority 
-I/ecos-c/DOCUME~1/SANTHA~1/Desktop/eCos/ecos_work/project1_install/include
-I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0
-I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src
-I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/tests
-I. -Wp,-MD,ppc_offsets.tmp -o hal_mk_defs.tmp -S
/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/hal_mk_defs.c
make[1]: Leaving directory
`/ecos-c/DOCUME~1/SANTHA~1/Desktop/eCos/ecos_work/project1_build/hal/powerpc/arch/v2_0'
cc1: unrecognized option `-Woverloaded-virtual'
make: Leaving directory
`/ecos-c/DOCUME~1/SANTHA~1/Desktop/eCos/ecos_work/project1_build'
cc1: unrecognized option `-fno-rtti'
cc1: unrecognized option `-fvtable-gc'
cc1: unrecognized option `-finit-priority'
make[1]: ***
[/ecos-c/DOCUME~1/SANTHA~1/Desktop/eCos/ecos_work/project1_install/include/cyg/hal/ppc_offsets.inc]
Error 1
make: *** [build] Error 2


Could any body instruct me any way out for this error. Since I am new
to   eCos I am not getting a path to proceed . 

Regards
Santha kumar  

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


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


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