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: Error building eCos with ARM


nyeung wrote:
Hello,
I am trying to build eCos Redboot using the ARM template.
I got the following errors

arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winlin
e -Wundef -Woverloaded-virtual -g -O2 -fno-schedule-insns -ffunction-section
s -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority  -I/
ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_install/include -I/ecos-c/cygwin/h
ome/nyeung/ecos2/ecos/packages/hal/arm/arch/current -I/ecos-c/cygwin/home/ny
eung/ecos2/ecos/packages/hal/arm/arch/current/src -I/ecos-c/cygwin/home/nyeu
ng/ecos2/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o
hal_mk_defs.tmp -S
/ecos-c/cygwin/home/nyeung/ecos2/ecos/packages/hal/arm/arch/current/src/hal_
mk_defs.c
make[1]: Leaving directory
`/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build/hal/arm/arch/current'
make[1]: *** [arm.inc] Error 1
make: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build'
make: *** [build] Error 2

I build arm-xtool using gcc-2.95.3, source code is a snap shot from eCos 2.0
(from CD in Massa's book) and configuration tool 2.11 (also from the book)

Can any one give me suggestions on what is wrong and how to correct the
problem pls.
I don't know why but although an error is reported, there's no actual error message! Can you try starting a cygwin shell prompt, "cd /ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build" and then type "make" and see if it either works or tells you something more useful.

If it doesn't, can you do:
"cd /ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build/hal/arm/arch/current"
and then copy and paste the command line above beginning arm-elf-gcc -mcpu=..... and ending on ...../src/hal_mk_defs.c. But to the end of that command line add "-v". Then send us the output.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


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