This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Failed to build ecos - redboot
- From: "Bhanu Prakash Adhikari" <bhanua at aztecsoft dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Cc: "Avila" <avila at lists dot unixstudios dot net>
- Date: Mon, 26 Feb 2007 17:42:42 +0530
- Subject: [ECOS] Failed to build ecos - redboot
Hi,
I tried to build RedBoot for se7751 and e7t but failed miserably.
I have firewall which doesn't allow to download and install through "sh
ecos-install.tcl".
I download snapshot of
1. Toolchains from http://public.planetmirror.com/pub/sourceware/ecos
2. ecos-2.0.i386linux.tar.bz2 from
http://sources-redhat.oc1.mirrors.redwire.net/ecos/releases/ecos-2.0/eco
s-2.0.i386linux.tar.bz2
I followed the instructions mentioned at
http://ecos.sourceware.org/docs-latest/redboot/rebuilding-redboot.html
to find not working.
I feel the document provided by ecos is not so friendly. I felt unless
we go through all the documents it's hard to build the redboot image.
Do we have any cooked up document or any pointer where can I build
successfully?
My environment file -
1
2 #run "source $0"
3
4 ROOTDIR=`pwd`
5
6 export ECOS_REPOSITORY=${ROOTDIR}/packages
7
8 PATH_1=${ROOTDIR}/tools/bin:$PATH
9 #export PATH=${ROOTDIR}/../gnutools/arm-elf/bin:$PATH_1
10 export PATH=/opt/ecos/gnutools/sh-elf/bin:$PATH_1
11
12 #export ECOS_REPOSITORY
13 #export PATH
Compilation error I'm getting -
make -r -C hal/sh/arch/v2_0
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/sh_offsets.in
c
make[1]: Entering directory
`/home/bhanup/redboot/ecos/ecos-2.0/hal/sh/arch/v2_0'
sh-elf-gcc -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
-I/home/bhanup/redboot/ecos/ecos-2.0/install/include
-I/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0
-I/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/src
-I/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/tests -I.
-Wp,-MD,sh_offsets.tmp -o hal_mk_defs.tmp -S
/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/src/hal_mk_
defs.c
In file included from
/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/src/hal_mk_
defs.c:57:
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/hal_arch.h:37
3:5: warning: "CYGINT_HAL_I386_MEM_REAL_REGION_TOP" is not defined
In file included from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/pcmb_intr.h:6
7,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/plf_intr.h:71
,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/var_intr.h:71
,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/hal_intr.h:66
,
from
/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/src/hal_mk_
defs.c:58:
/home/bhanup/redboot/ecos/ecos-2.0/install/include/pkgconf/hal_i386_pcmb
.h:16:1: warning: "CYGNUM_HAL_RTC_PERIOD" redefined
In file included from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/pkgconf/hal.h:13,
from
/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/src/hal_mk_
defs.c:55:
/home/bhanup/redboot/ecos/ecos-2.0/install/include/pkgconf/hal_sh.h:22:1
: warning: this is the location of the previous definition
In file included from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/plf_io.h:57,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/hal_io.h:63,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/pcmb_intr.h:7
2,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/plf_intr.h:71
,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/var_intr.h:71
,
from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/cyg/hal/hal_intr.h:66
,
from
/home/bhanup/redboot/ecos/ecos-2.0/packages/hal/sh/arch/v2_0/src/hal_mk_
defs.c:58:
/home/bhanup/redboot/ecos/ecos-2.0/install/include/pkgconf/hal_i386_pc.h
:12:1: warning: "HAL_PLATFORM_CPU" redefined
In file included from
/home/bhanup/redboot/ecos/ecos-2.0/install/include/pkgconf/hal.h:17,
Thanks in advance,
Bhanu Prakash A
The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
www.aztecsoft.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss