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]

Problem compiling redboot for XScale


Hello,
I try to make a redboot image for the IQ80321 board.
So this is what I have done :
-Installed cygwin on my W2000 PC (under C:\cygwin)
-Installed eCos Configuration Tool v2.11
-Downloaded and compiled the GNU sources for arm-elf target (gcc-3.2.2,
gdb5.3)
-Checked out from CVS (yesterday) the last ecos sources

Know, from eCos CT, I have created a project (BootRosso.ecc) using the
template option (HW = IQ80321 , template = redboot) and then I have
launched the Build.
Here is the end of the log file from the make (the part that fails !) :

make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory
`/ecos-c/BootRosso/Bootrosso_build/hal/arm/arch/current'
arm-elf-gcc -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline 
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno
-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame  -I/ecos-c/Bo
otRosso/Bootrosso_install/include -I/ecos-c/cygwin/src/ecos/packages/hal/arm
/arch/current -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src -I
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.
tmp -o hal_mk_defs.tmp -S
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:5
4: cyg/hal/hal_arch.h: No such file or directory
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:58:5
4: cyg/hal/hal_intr.h: No such file or directory
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:63:2
8: cyg/hal/hal_if.h: No such file or directory
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c: In
function `main':
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
warning: implicit declaration of function `offsetof'
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
`HAL_SavedRegisters' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
(Each undeclared identifier is reported only once
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
for each function it appears in.)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
`d' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
`HAL_THREAD_CONTEXT_R0' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:82:
`HAL_THREAD_CONTEXT_R4' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:83:
`HAL_THREAD_CONTEXT_R8' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:84:
`HAL_THREAD_CONTEXT_R9' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:85:
`HAL_THREAD_CONTEXT_R10' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:86:
`sp' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:87:
`fp' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:88:
`ip' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:89:
`lr' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:90:
`pc' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:91:
`cpsr' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:92:
`vector' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:93:
`svc_lr' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:94:
`svc_sp' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:96:
`CYGNUM_HAL_ISR_COUNT' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:97:
`CYGNUM_HAL_VSR_COUNT' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:99:
`CYGNUM_HAL_EXCEPTION_ILLEGAL_INSTRUCTION' undeclared (first use in this
function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:100:
`CYGNUM_HAL_EXCEPTION_INTERRUPT' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:102:
`CYGNUM_HAL_EXCEPTION_CODE_ACCESS' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:104:
`CYGNUM_HAL_EXCEPTION_DATA_ACCESS' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:105:
`CYGNUM_HAL_VECTOR_IRQ' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:109:
`CPSR_IRQ_DISABLE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:110:
`CPSR_FIQ_DISABLE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:111:
`CPSR_THUMB_ENABLE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:112:
`CPSR_IRQ_MODE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:113:
`CPSR_FIQ_MODE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:114:
`CPSR_SUPERVISOR_MODE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:115:
`CPSR_UNDEF_MODE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:116:
`CPSR_MODE_BITS' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:117:
`CPSR_INITIAL' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:118:
`CPSR_THREAD_INITIAL' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:120:
`CYGNUM_CALL_IF_TABLE_SIZE' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:122:
`CYGNUM_HAL_INTERRUPT_NONE' undeclared (first use in this function)
make[1]: Leaving directory
`/ecos-c/BootRosso/Bootrosso_build/hal/arm/arch/current'
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:81:
warning: asm operand 0 probably doesn't match constraints
make: Leaving directory `/ecos-c/BootRosso/Bootrosso_build'
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:82:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:83:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:84:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:85:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:86:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:87:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:88:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:89:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:90:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:91:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:92:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:93:
warning: asm operand 0 probably doesn't match constraints
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:94:
warning: asm operand 0 probably doesn't match constraints
make[1]: *** [arm.inc] Error 1
make: *** [build] Error 2


Can anyone help ?
Thank you in advance.

Pascal


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