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: compile redboot error for AT91EB40


On Sat, 2002-08-10 at 17:58, shouyi wrote:
> ecos-discuss:
> 
> When I compile redboot for AT91EB40 board, there is a error occured.
> 
> arm-elf-gcc -c  -I/ecos-g/OS/eCos/temp/redboot_eb40_1_install/include -I/ecos-g/OS/eCos/CVS/ecos/packages/hal/arm/arch/current -I/ecos-g/OS/eCos/CVS/ecos/packages/hal/arm/arch/current/src -I/ecos-g/OS/eCos/CVS/ecos/packages/hal/arm/arch/current/tests -I. -I/ecos-g/OS/eCos/CVS/ecos/packages/hal/arm/arch/current/src/ -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/redboot_linux_exec.tmp -o src/hal_arm_arch_redboot_linux_exec.o /ecos-g/OS/eCos/CVS/ecos/packages/hal/arm/arch/current/src/redboot_linux_exec.c
> /ecos-g/OS/eCos/CVS/ecos/packages/hal/arm/arch/current/src/redboot_linux_exec.c:75: #error 
> make[1]: Leaving directory `/ecos-g/OS/eCos/temp/redboot_eb40_1_build/hal/arm/arch/current'
> make[1]: *** [src/redboot_linux_exec.o.d] Error 1
> make: Leaving directory `/ecos-g/OS/eCos/temp/redboot_eb40_1_build'
> make: *** [build] Error 2
> 
> if I remark line 75 in redboot_linux_exec.c, it will be ok. 
> 
> So, what is the matter, is there any effect if I remark the 75th line?
> 
> how to resolve this problem?

I doubt you want the Linux boot code on the EB40 anyway, so just disable
it by turning off CYGPKG_REDBOOT_ARM_LINUX_EXEC

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


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