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: eCos2 build error


Hi,

The $PATH variable was wrongly set. After setting the path, I am now getting
the error,

make -r -C hal/arm/arch/v2_0 arm.inc
make[1]: Entering directory `/ecos-c/Work/Worke2/new/ed_build/hal/arm/arch/v2_0'
arm-elf-gcc -mcpu=arm9 -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/Work/Worke2/new/ed_install/include -I/ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0 -I/ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0/src -I/ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c
make[1]: Leaving directory `/ecos-c/Work/Worke2/new/ed_build/hal/arm/arch/v2_0'
cc1: unrecognized option `-Woverloaded-virtual'
make: Leaving directory `/ecos-c/Work/Worke2/new/ed_build'
cc1: unrecognized option `-fno-rtti'
cc1: unrecognized option `-fvtable-gc'
cc1: unrecognized option `-finit-priority'
make[1]: *** [arm.inc] Error 1
make: *** [build] Error 2

Is it beacuse of the gcc version 3.2.1 cross compiled for arm?
The gcc version which I used with eCos2 beta 1, was 2.95.1 and
I did not face any such problems.

However, with gcc-2.95.1 with eCos2, I get the errors (which I had posted
in August) - http://sources.redhat.com/ml/ecos-discuss/2003-08/msg00345.html

Kindly throw some light on how to go about finding where the problem is?

Regards,
Vikas


-----Original Message-----
From: Vikas K. Prasad 
Sent: Wednesday, September 03, 2003 1:07 PM
To: 'ecos-discuss@sources.redhat.com'
Subject: eCos2 build error



Hi,

I am getting the error given below, while building eCos2 for an
ARM9 variant.

make -r -C hal/arm/arch/v2_0 arm.inc
make[1]: Entering directory `/ecos-c/Work/Worke2/new/ed_build/hal/arm/arch/v2_0'
make[1]: *** [arm.inc] Error 255
arm-elf-gcc -mcpu=arm9 -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/Work/Worke2/new/ed_install/include -I/ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0 -I/ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0/src -I/ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /ecos-c/eCosSrc/ecos2/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c
make: *** [build] Error 2
make[1]: Leaving directory `/ecos-c/Work/Worke2/new/ed_build/hal/arm/arch/v2_0'
make: Leaving directory `/ecos-c/Work/Worke2/new/ed_build'

I am using the latest toolchain (as given in
http://sources.redhat.com/ecos/build-toolchain.html)

Please help me locate the problem. 

Regards,
Vikas

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