This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
compile redboot error for AT91EB40
- From: shouyi <shouyi00 at mails dot tsinghua dot edu dot cn>
- To: ecos-discuss at sources dot redhat dot com <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 10 Aug 2002 15:58:39 -0800
- Subject: [ECOS] compile redboot error for AT91EB40
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?
thanks
Yours Sincerely
shouyi
shouyi00@mails.tsinghua.edu.cn
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss