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 on ecos compile!


 

________________________________

From: Wei Dong wedon03
Sent: 2005-1-13 (星期四) 12:05
To: ecos-discuss@ecos.source.org
Subject: problem on ecos compile!



 Hi!
 I met some problem when complile my own package,I only use redboot package and didn't import flash or ram.The error information is as follows,can you tell me how to solve this problem?Thank you!
I think may be I forgot to include hal_mk_defs.c file,but I can't find where I use this file.

/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c: In function `main':
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:81: structure has no member named `d'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:81: `HAL_THREAD_CONTEXT_R0' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:81: (Each undeclared identifier is reported only once
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:81: for each function it appears in.)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:82: structure has no member named `d'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:82: `HAL_THREAD_CONTEXT_R4' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:83: structure has no member named `d'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:83: `HAL_THREAD_CONTEXT_R8' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:84: structure has no member named `d'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:84: `HAL_THREAD_CONTEXT_R9' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:85: structure has no member named `d'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:85: `HAL_THREAD_CONTEXT_R10' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:86: structure has no member named `sp'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:87: structure has no member named `fp'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:88: structure has no member named `ip'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:89: structure has no member named `lr'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:91: structure has no member named `cpsr'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:93: structure has no member named `svc_lr'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:94: structure has no member named `svc_sp'
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:105: `CYGNUM_HAL_VECTOR_IRQ' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:109: `CPSR_IRQ_DISABLE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:110: `CPSR_FIQ_DISABLE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:111: `CPSR_THUMB_ENABLE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:112: `CPSR_IRQ_MODE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:113: `CPSR_FIQ_MODE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:114: `CPSR_SUPERVISOR_MODE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:115: `CPSR_UNDEF_MODE' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:116: `CPSR_MODE_BITS' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:117: `CPSR_INITIAL' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:118: `CPSR_THREAD_INITIAL' undeclared (first use in this function)
/opt/ecos/ecos-2.0/packages/hal/arm/arch/v2_0/src/hal_mk_defs.c:122: `CYGNUM_HAL_INTERRUPT_NONE' undeclared (first use in this function)
make[1]: *** [arm.inc] Error 1
make: *** [build] Error 2







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